diff --git a/eth2near/eth_rpc_client/src/beacon_block_body_merkle_tree.rs b/eth2near/eth_rpc_client/src/beacon_block_body_merkle_tree.rs index 94dfca51..e0e1df17 100644 --- a/eth2near/eth_rpc_client/src/beacon_block_body_merkle_tree.rs +++ b/eth2near/eth_rpc_client/src/beacon_block_body_merkle_tree.rs @@ -92,10 +92,14 @@ impl ExecutionPayloadMerkleTree { if tree_depth > 4 { if let Ok(blob_gas_used) = execution_payload.blob_gas_used() { leaves.push(blob_gas_used.tree_hash_root()); + } else { + H256::zero() } if let Ok(excess_blob_gas) = execution_payload.excess_blob_gas() { leaves.push(excess_blob_gas.tree_hash_root()); + } else { + H256::zero() } }