prysm-pulse/beacon-chain/cache
Sammy Rosso 9529c73ff1
EIP-4881: Spec implementation (#11720)
* Initial spec rewrite

* Finish adding merkle tree implementation

* Last bits

* Move reverse function

* Add comments

* Add deposit tree snapshot

* Add deposit tree

* Add comments + cleanup

* Fixes

* Add missing errors

* Small fixes

* Add unhandled error

* Cleanup

* Fix unsafe file.Close

* Add missing comments

* Small fixes

* Address some of deepSource' compaints

* Add depositCount check

* Add finalizedDeposit check

* Replace pointer magic with copy()

* Add test for slice reversal

* add back bytes method

* Add package level description

* Remove zerohash gen and add additional checks

* Add additional comments

* Small lint fixes

* Forgot an error

* Small fixes

* Move Uint64ToBytesLittleEndian32 + test

* Fix uint subtraction issue

* Move mixInLength below error handling

* Fix

* Fix deposit root

---------

Co-authored-by: rauljordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2023-01-27 17:35:25 +00:00
..
depositcache Pre-allocate slices (#11317) 2022-08-26 13:49:50 +02:00
depositsnapshot EIP-4881: Spec implementation (#11720) 2023-01-27 17:35:25 +00:00
active_balance_disabled.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
active_balance_test.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
active_balance.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
attestation_data_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
attestation_data.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
BUILD.bazel Remove proto state (#11445) 2022-09-16 18:17:46 -04:00
cache_test.go Deprecate Uneeded Flags (#8455) 2021-02-16 15:27:37 +00:00
checkpoint_state_test.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
checkpoint_state.go Remove Lock from Checkpoint Cache as LRU is Already Thread-Safe (#11846) 2023-01-05 16:00:11 +00:00
committee_disabled.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
committee_fuzz_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
committee_test.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
committee.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
committees.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
common.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
doc.go Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00:00
error.go Update Blockchain Package From Altair (#9422) 2021-08-26 05:01:09 +00:00
payload_id_test.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
payload_id.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
proposer_indices_disabled.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
proposer_indices_test.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
proposer_indices_type.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
proposer_indices.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
skip_slot_cache_test.go Resolve remaining native state tasks (#11561) 2022-10-19 10:37:45 -04:00
skip_slot_cache.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
subnet_ids_test.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
subnet_ids.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
sync_committee_disabled.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
sync_committee_head_state_test.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
sync_committee_head_state.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
sync_committee_test.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
sync_committee.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00
sync_subnet_ids_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
sync_subnet_ids.go Clean up state types (#11916) 2023-01-26 14:40:12 +00:00