diff --git a/crates/consensus/src/config/minimal.rs b/crates/consensus/src/config/minimal.rs index 68b9405..6fcc234 100644 --- a/crates/consensus/src/config/minimal.rs +++ b/crates/consensus/src/config/minimal.rs @@ -13,9 +13,13 @@ pub fn get_config() -> Config { fork_parameters: ForkParameters::new( Version([0, 0, 0, 1]), vec![ - ForkParameter::new(Version([4, 0, 0, 1]), U64(u64::MAX)), + // deneb + ForkParameter::new(Version([4, 0, 0, 1]), U64(0)), + // capella ForkParameter::new(Version([3, 0, 0, 1]), U64(0)), + // belatrix ForkParameter::new(Version([2, 0, 0, 1]), U64(0)), + // altair ForkParameter::new(Version([1, 0, 0, 1]), U64(0)), ], ), diff --git a/crates/consensus/src/deneb.rs b/crates/consensus/src/deneb.rs index 5254038..83dc294 100644 --- a/crates/consensus/src/deneb.rs +++ b/crates/consensus/src/deneb.rs @@ -366,6 +366,7 @@ pub fn gen_execution_payload_proof< Default::default(), Default::default(), ]); + assert_eq!(tree.leaves_len(), 16); Ok(( H256(tree.root().unwrap()), tree.proof(&[9])