prysm-pulse/beacon-chain/db
Preston Van Loon 182bd615ac
refactoring: Deduplicate code (#10090)
* Deduplicate sync committee indices from state

* Deduplicate code in listblocks RPC endpoints, which only differ in response object

* Deduplicate test code in config/fieldparams

* Delete stale benchmark target. This is already included in go_default_test

* deduplicate test cases in TestIsSlashableValidator_OK and fix blst
BUILD file

* Deduplicate TestStore_IsFinalizedChildBlock

* Revert crypto/bls/blst/BUILD.bazel

* Deduplicate TestStore_SaveBlock_NoDuplicates

* Use a generic wrapper for beacon blocks to streamline test

* Deduplicate TestStore_BlocksCRUD

* Deduplicate TestStore_BlocksHandleZeroCase

* Deduplicate TestStore_BlocksBatchDelete

* deduplicate TestStore_BlocksHandleInvalidEndSlot

* Deduplicate TestStore_BlocksCRUD_NoCache

* Deduplicate common block test setup. Make TestStore_Blocks_FiltersCorrectly support multiple forks in test

* Deduplicate the rest of these tests

* lint

* Deprecation warning

* Add test for WrappedSignedBeaconBlock

* Test error path
2022-01-16 18:44:42 +00:00
..
filters Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
iface allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00
kv refactoring: Deduplicate code (#10090) 2022-01-16 18:44:42 +00:00
slasherkv Standardize config overriding in tests across repo (#9998) 2021-12-10 04:18:47 +00:00
testing Slasher Simulator Code for Testing Optimized Slasher Behavior (#9695) 2021-09-29 02:27:21 +00:00
alias.go Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00:00
BUILD.bazel allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00
db_test.go Verify interface compliance using typed nil instead of dereferencing and conversion (#7489) 2020-10-10 00:36:48 +00:00
db.go Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00:00
errors.go allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
restore_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
restore.go Miscellaneous Packages from Shared Into Proper Folders (#9638) 2021-09-21 18:11:16 +00:00