Update consensus/state_processing/src/upgrade/eip4844.rs
Co-authored-by: realbigsean <seananderson33@GMAIL.com>
This commit is contained in:
parent
b75ca74222
commit
0c22d69e15
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user