prysm-pulse/beacon-chain/state/stategen
Preston Van Loon e477fdfd6d
Embedded mainnet genesis state + load genesis.ssz from file (#8614)
* Update rules_go and fix proto conflicts

* gaz

* Update generated code

* First pass inclusion of using baked states

* more emptypb fixes

* remove testnet genesis files, only embed mainnet

* Refactoring for SaveGenesisData, fix tests that use mainnet config but do not support mainnet genesis values

* a bit more refactoring, load genesis from a file. Needs tests still

* Add method to ensure an embedded genesis file also has the appropriate genesis block

* gofmt

* more clear error

* Check genesis fork version to ensure testnet config matches genesis file

* viz

* test for SaveGenesisData

* More genesis db method tests

* Merge

* Minor tweaks, lint, fmt, etc

* Add more test to genesis db methods

* Revert beacon-chain/state/stateV0/BUILD.bazel

* Update beacon-chain/db/iface/errors.go

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>

* PR feedback

* Update beacon-chain/db/kv/genesis.go

Co-authored-by: terence tsao <terence@prysmaticlabs.com>

* fmt.Errorf works better for nil errors

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
2021-03-18 21:00:00 +00:00
..
BUILD.bazel Embedded mainnet genesis state + load genesis.ssz from file (#8614) 2021-03-18 21:00:00 +00:00
epoch_boundary_state_cache_test.go Use DeepSSZEqual to satisfy go tests (#8499) 2021-02-23 22:20:11 +00:00
epoch_boundary_state_cache.go Use beacon state interfaces across (#8552) 2021-03-08 14:37:33 -08:00
errors.go Fix Miscellaneous Deep Source Issues (#8007) 2020-11-30 19:55:30 -06:00
getter_test.go Use DeepSSZEqual to satisfy go tests (#8499) 2021-02-23 22:20:11 +00:00
getter.go Use beacon state interfaces across (#8552) 2021-03-08 14:37:33 -08:00
hot_state_cache_test.go Move state pkg to stateV0 pkg (#8620) 2021-03-17 19:49:49 +00:00
hot_state_cache.go Use beacon state interfaces across (#8552) 2021-03-08 14:37:33 -08:00
init_test.go Embedded mainnet genesis state + load genesis.ssz from file (#8614) 2021-03-18 21:00:00 +00:00
log.go Feature flag to gate prune state upon start up (#5011) 2020-03-05 06:24:59 +00:00
metrics.go Cleanup stategen pkg (#7127) 2020-08-27 22:29:59 +00:00
migrate_test.go Use DeepSSZEqual to satisfy go tests (#8499) 2021-02-23 22:20:11 +00:00
migrate.go Use beacon state interfaces across (#8552) 2021-03-08 14:37:33 -08:00
mock.go Use beacon state interfaces across (#8552) 2021-03-08 14:37:33 -08:00
replay_test.go Use DeepSSZEqual to satisfy go tests (#8499) 2021-02-23 22:20:11 +00:00
replay.go Use beacon state interfaces across (#8552) 2021-03-08 14:37:33 -08:00
service_test.go Use DeepSSZEqual to satisfy go tests (#8499) 2021-02-23 22:20:11 +00:00
service.go Use beacon state interfaces across (#8552) 2021-03-08 14:37:33 -08:00
setter_test.go Fix import shadowing of db package (#8158) 2020-12-18 19:12:30 +00:00
setter.go Use beacon state interfaces across (#8552) 2021-03-08 14:37:33 -08:00