From da939e8c7d6b4974987b53c637899de9d9d7fe44 Mon Sep 17 00:00:00 2001 From: Jun Kimura <jun.kimura@datachain.jp> Date: Sun, 14 Jan 2024 22:48:03 +0900 Subject: [PATCH] add constant `EXECUTION_PAYLOAD_TREE_DEPTH` for deneb Signed-off-by: Jun Kimura <jun.kimura@datachain.jp> --- crates/consensus/src/deneb.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/consensus/src/deneb.rs b/crates/consensus/src/deneb.rs index 776536f..17c0d4e 100644 --- a/crates/consensus/src/deneb.rs +++ b/crates/consensus/src/deneb.rs @@ -18,6 +18,9 @@ use crate::{ use ssz_rs::{Deserialize, List, Merkleized, Sized}; use ssz_rs_derive::SimpleSerialize; +/// Execution payload tree depth +pub const EXECUTION_PAYLOAD_TREE_DEPTH: usize = 5; + /// Beacon Block /// https://github.com/ethereum/consensus-specs/blob/dev/specs/phase0/beacon-chain.md#beaconblock #[derive(