mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-03 00:31:50 +00:00
Update consensus/state_processing/src/upgrade/eip4844.rs
Co-authored-by: realbigsean <seananderson33@GMAIL.com>
This commit is contained in:
@@ -10,7 +10,6 @@ pub fn upgrade_to_eip4844<E: EthSpec>(
|
||||
let pre = pre_state.as_capella_mut()?;
|
||||
|
||||
// FIXME(sean) This is a hack to let us participate in testnets where capella doesn't exist.
|
||||
// let previous_fork_version = spec.bellatrix_fork_version;
|
||||
let previous_fork_version = pre.fork.current_version;
|
||||
|
||||
// Where possible, use something like `mem::take` to move fields from behind the &mut
|
||||
|
||||
Reference in New Issue
Block a user