prysm-pulse/beacon-chain
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
..
blockchain refactor Payload Id caches (#12987) 2023-12-22 18:47:51 +00:00
builder builder API: remove blinded blob sidecar (#13202) 2023-11-29 06:28:37 -08:00
cache refactor Payload Id caches (#12987) 2023-12-22 18:47:51 +00:00
core refactor Payload Id caches (#12987) 2023-12-22 18:47:51 +00:00
db Use deneb key for deneb state in saveStatesEfficientInternal (#13374) 2023-12-21 18:14:04 +00:00
deterministic-genesis Integrate EIP-4881 Deposit Tree Into Prysm via a Feature Flag (#11942) 2023-09-07 03:19:32 +00:00
execution typo fix (#13357) 2023-12-19 16:03:40 +00:00
forkchoice Allow requests for old target roots (#13281) 2023-12-06 17:11:34 +00:00
gateway HTTP handler for Beacon API events (#13207) 2023-11-28 23:20:02 +00:00
monitor Ignore Phase0 Blocks For Monitor (#12503) 2023-06-09 05:00:36 +00:00
node refactor Payload Id caches (#12987) 2023-12-22 18:47:51 +00:00
operations fixing sa4006 (#13350) 2023-12-15 16:49:27 +00:00
p2p Update Libp2p To v0.32.1 and Go to v1.21.5 (#13304) 2023-12-21 16:09:54 +00:00
package Update cross compile toolchains (#12069) 2023-03-07 20:09:46 +00:00
rpc refactor Payload Id caches (#12987) 2023-12-22 18:47:51 +00:00
slasher Remove remote slashing protection feature (#12989) 2023-10-04 04:15:06 +00:00
startup Verify roblobs (#13245) 2023-12-07 02:36:25 +00:00
state fix it with regression (#13375) 2023-12-22 12:33:23 +00:00
sync Update Libp2p To v0.32.1 and Go to v1.21.5 (#13304) 2023-12-21 16:09:54 +00:00
verification typo fix (#13357) 2023-12-19 16:03:40 +00:00
README.md Change Eth2 Repository Names (#9425) 2021-08-19 13:00:57 -05:00

Prysmatic Labs Beacon Chain Implementation

This is the main project folder for the beacon chain implementation of Ethereum written in Go by Prysmatic Labs.

You can also read our main README and join our active chat room on Discord.

Discord

Also, read the official beacon chain specification, this design spec serves as a source of truth for the beacon chain implementation we follow at Prysmatic Labs.