terence tsao
c69bce5d84
Use fieldparams for BLS public key ( #10042 )
...
* Use fieldparams for pubkey length
* Fix validator tests
* fix more tests
* fix mock validator
* Fix typo
* bunch of typos
* Update bytes.go
* Update BUILD.bazel
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-01-06 17:33:08 +00:00
Raul Jordan
d173a6e695
Merkle Proof Support for BeaconState Finalized Root and Sync Committees ( #10029 )
2021-12-19 17:02:42 -08:00
Nishant Das
5ab88da183
Use Static Sizes for State Fields ( #10007 )
2021-12-13 10:16:23 +01:00
Radosław Kapka
5569a68452
Code cleanup ( #9992 )
...
* Value assigned to a variable is never read before being overwritten
* The result of append is not used anywhere
* Suspicious assignment of range-loop vars detected
* Unused method receiver detected
* Revert "Auxiliary commit to revert individual files from 54edcb445484a2e5d79612e19af8e949b8861253"
This reverts commit bbd1e1beabf7b0c5cfc4f514dcc820062ad6c063.
* Method modifies receiver
* Fix test
* Duplicate imports detected
* Incorrectly formatted error string
* Types of function parameters can be combined
* One more "Unused method receiver detected"
* Unused parameter detected in function
2021-12-07 17:52:39 +00:00
Nishant Das
236a5c4167
Cleanup From Deepsource ( #9961 )
...
* ds cleanup
* fix
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-12-01 18:56:07 +00:00
Nishant Das
37bc407b56
Refactor States To Allow for Single Cached Hasher ( #9922 )
...
* initial changes
* gaz
* unexport and add in godoc
* nocache
* fix edge case
* fix bad implementation
* fix build file
* add it in
* terence's review
* gaz
* fix build
* Apply suggestions from code review
remove assigned ctx
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2021-11-29 16:30:17 +00:00
terence tsao
85faecf2ca
Add test utility merge state ( #9944 )
...
* Add test utility merge state
* gaz
* gaz
2021-11-26 15:53:25 +00:00
terence tsao
f42227aa04
Rest of the merge state implementation ( #9939 )
...
* Add rest of the state implementations
* Update BUILD.bazel
* Update state_trie_test.go
* fix test
* fix test
* Update beacon-chain/state/v3/state_trie.go
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
* Update beacon-chain/state/v3/state_trie.go
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
* add ctx
* go fmt
Co-authored-by: Potuz <potuz@prysmaticlabs.com>
2021-11-25 17:41:05 -03:00
terence tsao
94fd99f5cd
Add getters and setters for beacon state v3 (part 2) ( #9916 )
2021-11-22 15:56:23 -08:00
terence tsao
838b19e985
Add getters and setters for beacon state v3 (part 1) ( #9915 )
2021-11-22 09:37:55 -08:00
terence tsao
6f4c80531c
Add field roots for beacon state v3 ( #9914 )
...
* Add field roots for beacon state
* Update BUILD.bazel
* Adding an exception for state v3
* fix deadcode
Co-authored-by: nisdas <nishdas93@gmail.com>
2021-11-17 09:04:49 +00:00
terence tsao
e3246922eb
Add merge state type definitions ( #9908 )
2021-11-16 08:36:13 -08:00