prysm-pulse/beacon-chain/rpc/eth
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
..
beacon block publishing (#13376) 2023-12-22 18:15:00 +00:00
blob Enable errname linter and fix findings (#13341) 2023-12-15 03:26:48 +00:00
builder Enable errname linter and fix findings (#13341) 2023-12-15 03:26:48 +00:00
config Refactor Network Config Into Main Config (#13364) 2023-12-19 14:59:30 +00:00
debug HTTP endpoints cleanup (#13251) 2023-12-08 20:37:20 +00:00
events Increase buffer of events channel (#13329) 2023-12-13 15:37:45 +00:00
helpers Refactor Exported Names to Follow Golang Best Practices (#13075) 2023-10-20 16:45:33 +00:00
light-client HTTP endpoints cleanup (#13251) 2023-12-08 20:37:20 +00:00
node Update Libp2p To v0.32.1 and Go to v1.21.5 (#13304) 2023-12-21 16:09:54 +00:00
rewards Enable errname linter and fix findings (#13341) 2023-12-15 03:26:48 +00:00
shared Enable errname linter and fix findings (#13341) 2023-12-15 03:26:48 +00:00
validator refactor Payload Id caches (#12987) 2023-12-22 18:47:51 +00:00