mirror of
https://github.com/sigp/lighthouse.git
synced 2026-04-20 14:28:37 +00:00
Upgrade to EIP-7732
This commit is contained in:
@@ -144,6 +144,13 @@ where
|
||||
List<PendingPartialWithdrawal, E::PendingPartialWithdrawalsLimit>,
|
||||
#[superstruct(only(Electra, EIP7732))]
|
||||
pub pending_consolidations: List<PendingConsolidation, E::PendingConsolidationsLimit>,
|
||||
|
||||
#[superstruct(only(EIP7732))]
|
||||
pub latest_block_hash: ExecutionBlockHash,
|
||||
#[superstruct(only(EIP7732))]
|
||||
pub latest_full_slot: Slot,
|
||||
#[superstruct(only(EIP7732))]
|
||||
pub latest_withdrawals_root: Hash256,
|
||||
}
|
||||
|
||||
impl<E: EthSpec> PartialBeaconState<E> {
|
||||
@@ -432,7 +439,10 @@ impl<E: EthSpec> TryInto<BeaconState<E>> for PartialBeaconState<E> {
|
||||
earliest_consolidation_epoch,
|
||||
pending_balance_deposits,
|
||||
pending_partial_withdrawals,
|
||||
pending_consolidations
|
||||
pending_consolidations,
|
||||
latest_block_hash,
|
||||
latest_full_slot,
|
||||
latest_withdrawals_root
|
||||
],
|
||||
[historical_summaries]
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user