preserve historical_summaries in capella to eip4844 fork (#4492)
This commit is contained in:
parent
3e565e9878
commit
b14106b72b
|
@ -1194,7 +1194,10 @@ func upgrade_to_eip4844*(cfg: RuntimeConfig, pre: capella.BeaconState):
|
|||
|
||||
# Withdrawals
|
||||
next_withdrawal_index: pre.next_withdrawal_index,
|
||||
next_withdrawal_validator_index: pre.next_withdrawal_validator_index
|
||||
next_withdrawal_validator_index: pre.next_withdrawal_validator_index,
|
||||
|
||||
# Deep history valid from Capella onwards
|
||||
historical_summaries: pre.historical_summaries
|
||||
)
|
||||
|
||||
template isValidInState*(idx: ValidatorIndex, state: ForkyBeaconState): bool =
|
||||
|
|
Loading…
Reference in New Issue