mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 21:07:18 +00:00
1fa864cb1a
* adding splitRoots, refactor to use it * use splitRoots & work in roots only the most common use case for this method is to get a list of candidate roots and check if they are canonical. there isn't a great reason to look up all the non-canonical blocks, because forkchoice checks based on the root only, so just return roots and defer the responsibility of resolving those to full blocks. * update comment * clean up shadowing * more clear non-error return * add test case for single root in index slot * fmt Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com> Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com> |
||
---|---|---|
.. | ||
BUILD.bazel | ||
errors.go | ||
interface.go |