prysm-pulse/consensus-types
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
..
blocks Use block value correctly when proposing a block (#13368) 2023-12-21 03:00:34 +00:00
forkchoice Debug HTTP endpoints (#13164) 2023-11-03 15:33:46 +00:00
interfaces builder API: remove blinded blob sidecar (#13202) 2023-11-29 06:28:37 -08:00
mock Merkle Proofs of KZG commitments (#13159) 2023-11-06 08:49:35 -03:00
payload-attribute fix: pbv2 condition (#12812) 2023-08-31 08:41:57 -05:00
primitives refactor Payload Id caches (#12987) 2023-12-22 18:47:51 +00:00
validator Refactor Exported Names to Follow Golang Best Practices (#13075) 2023-10-20 16:45:33 +00:00
wrapper Fix numerous spelling error and typos in the log messages, comments, and documentation. (#12385) 2023-05-11 20:45:43 +00:00
BUILD.bazel Move some errors to separate consensus-types package (#12329) 2023-04-25 15:07:24 +00:00
types.go Using the multi value slice for the beacon state (#12549) 2023-10-06 01:10:05 +00:00