prysm-pulse/beacon-chain/rpc
Mohamed Zahoor c6bd7a2f83
Efficient Historical State Representation (#9155)
* added migration in to new schema

* gazel fix

* goimports fix

* construct state with validator entries from a seperate bucket

* save state with validator entry indirection

* fixed save and retreieve issues

* fixed more test cases related to DeepEqual

* added save benchmark

* gazel fix

* organize benchmarks

* add cache and improve state construction  performance

* gazel fix

* check type

* remove cache checking from Has

* fix decoding when cache is off

* fix slice bugs

* add migration testcases

* linter fix

* fix few review comments

* fix review feedback

* gazel fix

* satisfy deepsource

* added the feature flag

* lint fix

* fix usage of featureconfig Inti in testcases

* call resetConfig method

* add feature flag in  migration testcases

* fix formatting

* change bucket name from blockRootValidatorKeysIndexBucket to blockRootValidatorHashesBucket

* remove from cache when state deleted

* fixed few more comments

* added to devModeFlags

* added cache delete under the feature flag

* fix lint

* change cache sizes and improve documentation

* fiexed few more review coments

* not using hash anymore and using a new SaveStates function

* satisfu deepsource

* run gazel

* fix feature flag related stuff

* fixing merge conflict fix

* few goodies

* improve UX and dont swallow error

* merge fix

* import format fix

* fix migrationion when flag not given issue

Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: Nishant Das <nishdas93@gmail.com>
2021-07-27 20:02:53 +00:00
..
apimiddleware Implement ProduceAttestationData in the validator API (#9271) 2021-07-26 19:22:58 +00:00
eth/v1 Implement ProduceAttestationData in the validator API (#9271) 2021-07-26 19:22:58 +00:00
prysm/v1alpha1 Efficient Historical State Representation (#9155) 2021-07-27 20:02:53 +00:00
statefetcher State: move state interfaces into state package (#9268) 2021-07-23 16:11:21 +00:00
testutil State: move state interfaces into state package (#9268) 2021-07-23 16:11:21 +00:00
BUILD.bazel Move State Protos Into V2 Namespace (#9257) 2021-07-23 08:07:40 -05:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
service_test.go Embed Config Pattern For Attestation, POW Chain, and RPC Services (#8635) 2021-03-21 16:58:41 +00:00
service.go Implement ProduceBlock in the validator API (#9259) 2021-07-23 16:29:38 +02:00