Skip to content

Commit 4b98211

Browse files
authored
Merge of #5275
2 parents 3a9578e + 5911e03 commit 4b98211

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

beacon_node/execution_layer/src/engine_api/new_payload_request.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ impl<'block, E: EthSpec> NewPayloadRequest<'block, E> {
8686
///
8787
/// https://github.com/ethereum/consensus-specs/blob/v1.4.0-beta.2/specs/deneb/beacon-chain.md#modified-verify_and_notify_new_payload
8888
pub fn perform_optimistic_sync_verifications(&self) -> Result<(), Error> {
89-
self.verfiy_payload_block_hash()?;
89+
self.verify_payload_block_hash()?;
9090
self.verify_versioned_hashes()?;
9191

9292
Ok(())
@@ -98,7 +98,7 @@ impl<'block, E: EthSpec> NewPayloadRequest<'block, E> {
9898
///
9999
/// Equivalent to `is_valid_block_hash` in the spec:
100100
/// https://github.com/ethereum/consensus-specs/blob/v1.4.0-beta.2/specs/deneb/beacon-chain.md#is_valid_block_hash
101-
pub fn verfiy_payload_block_hash(&self) -> Result<(), Error> {
101+
pub fn verify_payload_block_hash(&self) -> Result<(), Error> {
102102
let payload = self.execution_payload_ref();
103103
let parent_beacon_block_root = self.parent_beacon_block_root().ok().cloned();
104104

beacon_node/execution_layer/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
use crate::payload_cache::PayloadCache;
88
use arc_swap::ArcSwapOption;
99
use auth::{strip_prefix, Auth, JwtKey};
10+
pub use block_hash::calculate_execution_block_hash;
1011
use builder_client::BuilderHttpClient;
1112
pub use engine_api::EngineCapabilities;
1213
use engine_api::Error as ApiError;

0 commit comments

Comments
 (0)