terence tsao
5d841874f7
Return error on AttestingIndices
bitfield length check ( #8285 )
...
* Return error on committee len check
* AttestingIndices unit test
* Add equality check
* Fixing more tests
* Fix rest of the tests
* Fix invalid bit length test
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-01-20 03:00:52 +00:00
Nishant Das
b502876e98
Fix Mismatched BlockRoots In State Replay ( #7559 )
...
* fix mismatched roots
* alternate approach
* preston's review
* comment
2020-10-18 09:39:27 -07:00
terence tsao
89bd5f3a5a
Add debug endpoint to get inclusion slot ( #6895 )
...
* Proto: add GetInclusionSlot
* Proto: build
* Service: add beacon db to struct
* Debug: Implement GetInclusionSlot
* Debug: prevent underflow
* Debug: add tests
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-08-05 22:55:39 -05:00
Raul Jordan
302b0f8c80
Use FastSSZ Everywhere Applicable ( #6135 )
...
* use fast ssz anywhere applicable
* use fastssz clearly
* Merge branch 'master' into use-fastssz
* Apply suggestions from code review
* imports
* Update beacon-chain/p2p/fork.go
* Merge branch 'master' into use-fastssz
* update go-ssz
* update go-ssz
* Merge refs/heads/master into use-fastssz
* Merge refs/heads/master into use-fastssz
2020-06-05 13:48:40 +00:00
Raul Jordan
881ad77c52
Add Debug Block Endpoint + Return SSZ-Encoded ( #5926 )
...
* add block endpoint
* handle err
* check for nil block
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-05-20 20:36:05 -05:00