Snowbridge - Ethereum Electra Upgrade Support (#7075)
# Description Adds support for the upcoming Ethereum Electra upgrade, while maintaining backwards compatibility for the current Deneb fork. ## Integration Relayers should be updated to send updated Electra consensus data structures. ## Review Notes The [Ethereum Electra hard-fork consensus](https://github.com/ethereum/consensus-specs/blob/dev/specs/electra/light-client/sync-protocol.md) changes affecting the Ethereum light client are mainly isolated to the [Generalized Indexes](https://github.com/protolambda/eth2.0-ssz/blob/master/specs/navigation/generalized_indices.md) of data structures changing. Before Electra, these values were hardcoded in config. For Electra, these values change and needed to the updated. Methods were added to return the correct g-index for the current fork version. Data structures used by the Ethereum client did not change in this hard-fork. The BeaconState container has been updated with additional changes, but because t...
parent
fa8168fc
Pipeline
#516348
waiting for manual action
with stages
in
1 hour, 20 minutes, and 34 seconds
Stage:
Stage:
Stage:
Stage:
Stage:
Showing
- bridges/snowbridge/pallets/ethereum-client/src/benchmarking/mod.rs 19 additions, 7 deletions...nowbridge/pallets/ethereum-client/src/benchmarking/mod.rs
- bridges/snowbridge/pallets/ethereum-client/src/config/altair.rs 15 additions, 0 deletions...s/snowbridge/pallets/ethereum-client/src/config/altair.rs
- bridges/snowbridge/pallets/ethereum-client/src/config/electra.rs 13 additions, 0 deletions.../snowbridge/pallets/ethereum-client/src/config/electra.rs
- bridges/snowbridge/pallets/ethereum-client/src/config/mod.rs 2 additions, 28 deletionsbridges/snowbridge/pallets/ethereum-client/src/config/mod.rs
- bridges/snowbridge/pallets/ethereum-client/src/impls.rs 23 additions, 21 deletionsbridges/snowbridge/pallets/ethereum-client/src/impls.rs
- bridges/snowbridge/pallets/ethereum-client/src/lib.rs 90 additions, 12 deletionsbridges/snowbridge/pallets/ethereum-client/src/lib.rs
- bridges/snowbridge/pallets/ethereum-client/src/mock.rs 5 additions, 1 deletionbridges/snowbridge/pallets/ethereum-client/src/mock.rs
- bridges/snowbridge/pallets/ethereum-client/src/mock_electra.rs 145 additions, 0 deletions...es/snowbridge/pallets/ethereum-client/src/mock_electra.rs
- bridges/snowbridge/pallets/ethereum-client/src/tests.rs 21 additions, 33 deletionsbridges/snowbridge/pallets/ethereum-client/src/tests.rs
- bridges/snowbridge/pallets/ethereum-client/src/tests_electra.rs 903 additions, 0 deletions...s/snowbridge/pallets/ethereum-client/src/tests_electra.rs
- bridges/snowbridge/pallets/ethereum-client/tests/electra/execution-proof.json 54 additions, 0 deletions...allets/ethereum-client/tests/electra/execution-proof.json
- bridges/snowbridge/pallets/ethereum-client/tests/electra/finalized-header-update.json 42 additions, 0 deletions...thereum-client/tests/electra/finalized-header-update.json
- bridges/snowbridge/pallets/ethereum-client/tests/electra/inbound-message.json 75 additions, 0 deletions...allets/ethereum-client/tests/electra/inbound-message.json
- bridges/snowbridge/pallets/ethereum-client/tests/electra/initial-checkpoint.json 544 additions, 0 deletions...ets/ethereum-client/tests/electra/initial-checkpoint.json
- bridges/snowbridge/pallets/ethereum-client/tests/electra/next-finalized-header-update.json 42 additions, 0 deletions...um-client/tests/electra/next-finalized-header-update.json
- bridges/snowbridge/pallets/ethereum-client/tests/electra/next-sync-committee-update.json 568 additions, 0 deletions...reum-client/tests/electra/next-sync-committee-update.json
- bridges/snowbridge/pallets/ethereum-client/tests/electra/sync-committee-update.json 568 additions, 0 deletions.../ethereum-client/tests/electra/sync-committee-update.json
- bridges/snowbridge/pallets/inbound-queue/src/mock.rs 5 additions, 1 deletionbridges/snowbridge/pallets/inbound-queue/src/mock.rs
- bridges/snowbridge/primitives/beacon/src/types.rs 1 addition, 0 deletionsbridges/snowbridge/primitives/beacon/src/types.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/bridge_to_ethereum_config.rs 20 additions, 11 deletions...e-hubs/bridge-hub-rococo/src/bridge_to_ethereum_config.rs