prysm-pulse/beacon-chain/db/kv
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
..
testdata Embedded mainnet genesis state + load genesis.ssz from file (#8614) 2021-03-18 21:00:00 +00:00
archived_point_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
archived_point.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
backup_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
backup.go Use BeaconBlockIsNil helper more (#9834) 2021-11-01 14:13:05 +00:00
blocks_test.go refactoring: Deduplicate code (#10090) 2022-01-16 18:44:42 +00:00
blocks.go #10036 Replace codename Merge with Bellatrix (1st step) (#10044) 2022-01-10 16:47:30 +00:00
BUILD.bazel refactoring: Deduplicate code (#10090) 2022-01-16 18:44:42 +00:00
checkpoint_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
checkpoint.go Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
deposit_contract_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
deposit_contract.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
encoding_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
encoding.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
error_test.go allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00
error.go allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00
finalized_block_roots_test.go refactoring: Deduplicate code (#10090) 2022-01-16 18:44:42 +00:00
finalized_block_roots.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
genesis_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
genesis.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
init_test.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
key.go #10036 Replace codename Merge with Bellatrix (1st step) (#10044) 2022-01-10 16:47:30 +00:00
kv_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
kv.go Move Shared/Params Into Config/Params (#9642) 2021-09-21 19:59:25 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
migration_archived_index_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
migration_archived_index.go Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
migration_block_slot_index_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
migration_block_slot_index.go Create Encoding Bytesutil (#9658) 2021-09-23 15:23:37 +00:00
migration_state_validators_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
migration_state_validators.go Create config package for Shared/featureconfig (#9593) 2021-09-15 01:18:39 +00:00
migration.go Reduce memory overhead during DB migrations (#9298) 2021-07-30 08:38:54 -05:00
powchain_test.go Eliminate Proto V2 Namespace (#9297) 2021-07-28 21:23:44 +00:00
powchain.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
schema.go #10036 Replace codename Merge with Bellatrix (1st step) (#10044) 2022-01-10 16:47:30 +00:00
state_summary_cache.go Fix duplicated imports (#9304) 2021-07-29 16:45:17 -05:00
state_summary_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
state_summary.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
state_test.go #10036 Replace codename Merge with Bellatrix (1st step) (#10044) 2022-01-10 16:47:30 +00:00
state.go #10036 Replace codename Merge with Bellatrix (1st step) (#10044) 2022-01-10 16:47:30 +00:00
utils_test.go Move Shared/Testutil into Testing (#9659) 2021-09-23 18:53:46 +00:00
utils.go Code cleanup (#9992) 2021-12-07 17:52:39 +00:00
wss.go allow checkpoint or genesis origin; refactoring (#9976) 2021-12-09 22:23:00 +00:00