Skip to content

Commit

Permalink
enable deneb fork for minimal preset
Browse files Browse the repository at this point in the history
Signed-off-by: Jun Kimura <[email protected]>
  • Loading branch information
bluele committed Jan 13, 2024
1 parent fd4de89 commit 46efc42
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/consensus/src/config/minimal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)),
],
),
Expand Down
1 change: 1 addition & 0 deletions crates/consensus/src/deneb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 46efc42

Please sign in to comment.