prysm-pulse/shared/stateutil
Raul Jordan abe679e90e
Create New Beacon State Data Structure (#4602)
* begin state service

* begin on the state trie idea

* created beacon state structure

* add in the full clone getter

* return by value instead

* add all setters

* new state setters are being completed

* arrays roots exposed

*  close to finishing all these headerssss

* functionality complete

* added in proto benchmark test

* test for compatibility

* add test for compat

* comments fixed

* add clone

* add clone

* remove underlying copies

* make it immutable

* integrate it into chainservice

* revert

* wrap up comments for package

* address all comments and godocs

* address all comments

* clone the pending attestation properly

* properly clone remaining items

* tests pass fixed bug

* prevent nil pointer exceptions

* fixed up some bugs in the clone comparisons

Co-authored-by: Nishant Das <nish1993@hotmail.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-01-21 22:36:12 -06:00
..
arrays.go Create New Beacon State Data Structure (#4602) 2020-01-21 22:36:12 -06:00
attestations.go Create New Beacon State Data Structure (#4602) 2020-01-21 22:36:12 -06:00
blocks.go Create New Beacon State Data Structure (#4602) 2020-01-21 22:36:12 -06:00
BUILD.bazel Fix Up SSZ Cache Branch Recomputation (#4558) 2020-01-16 21:40:09 +00:00
helpers.go Implement Prysm-Specific HashTreeRootState (#4077) 2019-12-04 19:20:33 +00:00
state_root_cache_fuzz_test.go Fix Up SSZ Cache Branch Recomputation (#4558) 2020-01-16 21:40:09 +00:00
state_root_test.go Fix Up SSZ Cache Branch Recomputation (#4558) 2020-01-16 21:40:09 +00:00
state_root.go Create New Beacon State Data Structure (#4602) 2020-01-21 22:36:12 -06:00
validators.go Create New Beacon State Data Structure (#4602) 2020-01-21 22:36:12 -06:00