danny
c6f7adf319
Merge pull request #3531 from dapplion/blob-p2p-proof
...
Add blob sidecar inclusion proof
2023-11-02 09:56:08 -06:00
Hsiao-Wei Wang
0e4737eba2
Add a general `compute_merkle_proof` helper to replace container-specific helpers
2023-10-30 14:44:32 +08:00
Hsiao-Wei Wang
0f61819e5c
Update other specs accordingly and re-order "Proposer head and reorg helpers" section
2023-10-20 14:41:51 +08:00
Hsiao-Wei Wang
c5c7233e49
Merge pull request #3352 from michaelsproul/boost-first-block
...
Apply proposer boost to first block in case of equivocation
2023-09-12 10:56:58 +08:00
terence tsao
59680c0470
remove: old warnings
2023-09-05 08:59:14 -07:00
Hsiao-Wei Wang
fa1015ca03
Update Capella FC too
2023-08-04 21:58:07 +08:00
Hsiao-Wei Wang
6b5513b43a
Merge branch 'dev' into engine-versioned-hashes
2023-05-24 11:19:56 +08:00
Hsiao-Wei Wang
289d8147be
Move `verify_and_notify_new_payload` to Bellatrix
2023-05-24 11:12:03 +08:00
Hsiao-Wei Wang
d018635c96
Merge pull request #3350 from ethereum/remove-is_execution_enabled
...
Remove `is_execution_enabled` condition since Capella
2023-05-24 10:36:34 +08:00
Hsiao-Wei Wang
0754b94948
Merge branch 'dev' into remove-is_execution_enabled
2023-05-24 00:01:23 +08:00
Hsiao-Wei Wang
73df1935b1
Use `verify_and_notify_new_payload` approach
2023-05-23 23:37:42 +08:00
Hsiao-Wei Wang
92324ca845
Remove `is_merge_transition_complete` check from Capella
2023-05-20 01:14:10 +08:00
Hsiao-Wei Wang
058137327a
Use new `engine_newPayloadV3`
2023-05-16 00:28:49 +08:00
Hsiao-Wei Wang
340f3cc1a3
Rebase the fc changes
2023-05-15 17:25:48 +08:00
Hsiao-Wei Wang
f9c4076b87
Merge branch 'dev' into capella-fc-cleanup
2023-05-15 17:21:52 +08:00
Hsiao-Wei Wang
0f5ac1186e
Remove `is_execution_enabled` condition since Capella
2023-05-10 03:01:20 +08:00
Hsiao-Wei Wang
e31fcbd6a9
Add `GetPayloadResponse` for `get_payload` API
2023-04-28 23:25:13 +08:00
Hsiao-Wei Wang
03a3e4082a
Fix p2p-interface.md ToC
2023-04-19 19:10:46 +08:00
Hsiao-Wei Wang
18eb1fa334
Set `CAPELLA_FORK_EPOCH` to `194048`
2023-03-20 13:48:49 +08:00
Hsiao-Wei Wang
7b5acbfd21
Fix Capella fork test assertions
2023-02-10 00:30:00 +08:00
Hsiao-Wei Wang
ce987c4a64
Delete `is_merge_transition_block` check from Capella
2023-01-27 09:12:39 +01:00
Hsiao-Wei Wang
521de12d9b
Merge pull request #3151 from etan-status/lc-eph
...
Add `ExecutionPayloadHeader` to LC data
2023-01-17 21:33:35 +08:00
Etan Kissling
514d4431ca
Use `bellatrix` in `upgrade_x_to_capella` helpers
2023-01-13 20:11:05 +01:00
Etan Kissling
a580f82c7d
Use `beacon` wrapper in `upgrade_lc_header_to_capella`
2023-01-13 14:59:40 +01:00
Etan Kissling
ca32fe8347
Add docstrings to explain empty header
2023-01-13 11:19:53 +01:00
Hsiao-Wei Wang
6a19cf568a
PR feedback from @terencechain: re-use `current_epoch` definition
2023-01-13 16:49:24 +08:00
Etan Kissling
82d6267951
Merge branch 'dev' into lc-eph
2023-01-12 18:44:54 +01:00
Hsiao-Wei Wang
4af46e7e78
Ignore `bls_to_execution_change` messages before `CAPELLA_FORK_EPOCH`
2023-01-12 23:47:36 +08:00
Hsiao-Wei Wang
730a7afe49
Always use `GENESIS_FORK_VERSION` to sign `BLSToExecutionChange` message
2023-01-12 23:28:41 +08:00
Etan Kissling
53a95f0007
Merge branch 'dev' into lc-eph
2023-01-10 13:43:15 +01:00
Hsiao-Wei Wang
f057f530fe
Add `historical_summaries` setup to fork.md
2023-01-10 16:45:58 +08:00
Danny Ryan
d679b2e80d
Update specs/capella/beacon-chain.md
2023-01-06 08:06:39 -07:00
Etan Kissling
375436094c
Merge branch 'dev' into lc-eph
2023-01-05 13:53:29 +01:00
Hsiao-Wei Wang
118daae6d9
Add notes for new state historical accumulators
2023-01-04 17:55:51 +08:00
Hsiao-Wei Wang
dcacb7164f
Rename `block_batch_root` to `block_summary_root` and `state_batch_root` to `state_summary_root`
2023-01-03 21:50:06 +08:00
Hsiao-Wei Wang
1cfabcbe54
Rename `HistoricalBatchSummary` -> `HistoricalSummary` and `historical_batches` -> `historical_summaries`
2023-01-02 23:07:00 +08:00
Jacek Sieka
b6ac1fa099
Update specs/capella/beacon-chain.md
...
Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
2022-12-20 07:46:18 +01:00
Hsiao-Wei Wang
84592f101b
Add tests for `process_historical_batches_update`
2022-12-16 01:01:00 +08:00
Hsiao-Wei Wang
c185f91e00
Merge branch 'dev' into pr2649-tests
2022-12-15 22:56:04 +08:00
Etan Kissling
02abdc311f
Merge branch 'dev' into lc-eph
2022-12-13 15:33:28 +01:00
Danny Ryan
06d6d3888f
Merge pull request #3095 from ralexstokes/bound-withdrawals-sweep
...
bound the maximum number of validators considered for withdrawals per sweep
2022-12-12 19:53:29 -07:00
Danny Ryan
1f943f0d64
Update specs/capella/beacon-chain.md
2022-12-12 14:22:58 -07:00
Etan Kissling
700bef7a45
Fix `is_valid_light_client_header`
2022-12-12 13:39:14 +01:00
Etan Kissling
e67ca3d309
Compute epoch only once for better readability
2022-12-12 13:09:18 +01:00
Etan Kissling
5028a806ad
Implicit init during fork transition
2022-12-12 12:45:43 +01:00
Etan Kissling
11d2a59948
Flip `is_valid_light_client_header` logic for extensibility
2022-12-12 12:33:58 +01:00
Etan Kissling
2e97af2627
Add `ExecutionPayloadHeader` to LC data
...
While the light client sync protocol currently provides access to the
latest `BeaconBlockHeader`, obtaining the matching execution data needs
workarounds such as downloading the full block.
Having ready access to the EL state root simplifies use cases that need
a way to cross-check `eth_getProof` responses against LC data.
Access to `block_hash` unlocks scenarios where a CL light client drives
an EL without `engine_newPayload`. As of Altair, only the CL beacon
block root is available, but the EL block hash is needed for engine API.
Other fields in the `ExecutionPayloadHeader` such as `logs_bloom` may
allow light client applications to monitor blocks for local interest,
e.g. for transfers affecting a certain wallet. This enables to download
only the few relevant blocks instead of every single one.
A new `LightClientStore` is proposed into the Capella spec that may be
used to sync LC data that includes execution data. Existing pre-Capella
LC data will remain as is, but can be locally upgraded before feeding it
into the new `LightClientStore` so that light clients do not need to run
a potentially expensive fork transition at a specific time. This enables
the `LightClientStore` to be upgraded at a use case dependent timing at
any time before Capella hits. Smart contract and embedded deployments
benefit from reduced code size and do not need synchronization with the
beacon chain clock to perform the Capella fork.
2022-12-12 00:48:40 +01:00
Alex Stokes
37e504e784
bound the maximum number of validators considered for withdrawals per sweep
2022-12-09 10:51:25 -07:00
Tim Beiko
aae00a0bf6
Clarify that full withdrawals only apply to exited validators
2022-11-30 16:21:06 -08:00
Danny Ryan
d4a9b97cd0
Merge pull request #3084 from ethereum/validator-note-for-bls-change
...
Add note to Capella validator guide about BLS to execution change
2022-11-10 11:32:04 -07:00