prysm-pulse/beacon-chain/cache
Potuz b7e0819f00
refactor Payload Id caches (#12987)
* init

- getLocalPayload does not use the proposer ID from the cache but takes
  it from the block

- Fixed tests in blockchain package
- Fixed tests in the RPC package
- Fixed spectests

EpochProposers takes 256 bytes that can be avoided to be copied, but
this optimization is not clear to be worth it.

assginmentStatus can be optimized to use the cached version from the
TrackedValidatorsCache

We shouldn't cache the proposer duties when calling getDuties but when
we update the epoch boundary instead

* track validators on prepare proposers

* more rpc tests

* more rpc tests

* initialize grpc caches

* Add back fcu log

Also fix two existing bugs wrong parent hash on pre Capella and wrong
blockhashes on altair

* use beacon default fee recipient if there is none in the vc

* fix validator test

* radek's review

* push always proposer settings even if no flag is specified in the VC

* Only register with the builder if the VC flag is set

Great find by @terencechain

* add regression test

* Radek's review

* change signature of registration builder
2023-12-22 18:47:51 +00:00
..
depositcache fixing sa4006 (#13350) 2023-12-15 16:49:27 +00:00
depositsnapshot fixing sa4006 (#13350) 2023-12-15 16:49:27 +00:00
active_balance_disabled.go Fix committee test race (#12338) 2023-04-27 00:50:04 +00:00
active_balance_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
active_balance.go Fix committee test race (#12338) 2023-04-27 00:50:04 +00:00
attestation_data_test.go Use a cache of one entry to build attestation (#13300) 2023-12-18 16:12:43 +00:00
attestation_data.go Use a cache of one entry to build attestation (#13300) 2023-12-18 16:12:43 +00:00
BUILD.bazel refactor Payload Id caches (#12987) 2023-12-22 18:47:51 +00:00
cache_test.go Deprecate Uneeded Flags (#8455) 2021-02-16 15:27:37 +00:00
checkpoint_state_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
checkpoint_state.go Refactor Exported Names to Follow Golang Best Practices (#13075) 2023-10-20 16:45:33 +00:00
committee_disabled.go Fix committee test race (#12338) 2023-04-27 00:50:04 +00:00
committee_fuzz_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
committee_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
committee.go Fix committee test race (#12338) 2023-04-27 00:50:04 +00:00
committees.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
common.go Use a cache of one entry to build attestation (#13300) 2023-12-18 16:12:43 +00:00
doc.go Reduce Usage of Eth2 Terminology in Prysm (#9104) 2021-06-26 19:00:33 +00:00
error.go Use a cache of one entry to build attestation (#13300) 2023-12-18 16:12:43 +00:00
interfaces.go Integrate EIP-4881 Deposit Tree Into Prysm via a Feature Flag (#11942) 2023-09-07 03:19:32 +00:00
payload_id_test.go refactor Payload Id caches (#12987) 2023-12-22 18:47:51 +00:00
payload_id.go refactor Payload Id caches (#12987) 2023-12-22 18:47:51 +00:00
proposer_indices_disabled.go refactor Payload Id caches (#12987) 2023-12-22 18:47:51 +00:00
proposer_indices_test.go use different keys for the proposer indices cache (#13272) 2023-12-19 13:14:55 +00:00
proposer_indices_type.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
proposer_indices.go use different keys for the proposer indices cache (#13272) 2023-12-19 13:14:55 +00:00
registration_test.go reverting expiration logic on validator while using --enable-registration-cache (#12436) 2023-05-22 14:54:09 +00:00
registration.go reverting expiration logic on validator while using --enable-registration-cache (#12436) 2023-05-22 14:54:09 +00:00
skip_slot_cache_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
skip_slot_cache.go Use a cache of one entry to build attestation (#13300) 2023-12-18 16:12:43 +00:00
subnet_ids_test.go Support New Subnet Backbone (#13179) 2023-12-08 04:07:48 +00:00
subnet_ids.go Support New Subnet Backbone (#13179) 2023-12-08 04:07:48 +00:00
sync_committee_disabled.go Fix committee test race (#12338) 2023-04-27 00:50:04 +00:00
sync_committee_head_state_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
sync_committee_head_state.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
sync_committee_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
sync_committee.go Fix committee test race (#12338) 2023-04-27 00:50:04 +00:00
sync_subnet_ids_test.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
sync_subnet_ids.go Update to V4 🚀 (#12134) 2023-03-17 18:52:56 +00:00
tracked_validators.go refactor Payload Id caches (#12987) 2023-12-22 18:47:51 +00:00