diff --git a/crates/light-client-cli/src/chain.rs b/crates/light-client-cli/src/chain.rs index 21ddc33..94bcf0f 100644 --- a/crates/light-client-cli/src/chain.rs +++ b/crates/light-client-cli/src/chain.rs @@ -3,7 +3,7 @@ use ethereum_consensus::{ config::{self, Config}, types::H256, }; -use ethereum_light_client_verifier::updates::capella::LightClientBootstrapInfo; +use ethereum_light_client_verifier::updates::deneb::LightClientBootstrapInfo; use lodestar_rpc::client::RPCClient; type Result = core::result::Result; diff --git a/crates/light-client-cli/src/client.rs b/crates/light-client-cli/src/client.rs index 1fe7b54..afee896 100644 --- a/crates/light-client-cli/src/client.rs +++ b/crates/light-client-cli/src/client.rs @@ -7,9 +7,9 @@ use crate::{ use core::time::Duration; use ethereum_consensus::{ beacon::{Root, Slot}, - capella::{self, LightClientUpdate}, compute::compute_sync_committee_period_at_slot, context::ChainContext, + deneb::{self, LightClientUpdate}, execution::{ BlockNumber, EXECUTION_PAYLOAD_BLOCK_NUMBER_INDEX, EXECUTION_PAYLOAD_STATE_ROOT_INDEX, }, @@ -20,7 +20,7 @@ use ethereum_light_client_verifier::{ consensus::{CurrentNextSyncProtocolVerifier, SyncProtocolVerifier}, context::{ConsensusVerificationContext, Fraction, LightClientContext}, state::apply_sync_committee_update, - updates::capella::ConsensusUpdateInfo, + updates::deneb::ConsensusUpdateInfo, }; use log::*; type Result = core::result::Result; @@ -221,11 +221,11 @@ impl< let execution_update = { let execution_payload_header = update.finalized_header.execution.clone(); - let (_, state_root_branch) = capella::gen_execution_payload_fields_proof( + let (_, state_root_branch) = deneb::gen_execution_payload_fields_proof( &execution_payload_header, &[EXECUTION_PAYLOAD_STATE_ROOT_INDEX], )?; - let (_, block_number_branch) = capella::gen_execution_payload_fields_proof( + let (_, block_number_branch) = deneb::gen_execution_payload_fields_proof( &execution_payload_header, &[EXECUTION_PAYLOAD_BLOCK_NUMBER_INDEX], )?; diff --git a/crates/light-client-cli/src/context.rs b/crates/light-client-cli/src/context.rs index 5aff588..7736e62 100644 --- a/crates/light-client-cli/src/context.rs +++ b/crates/light-client-cli/src/context.rs @@ -2,9 +2,9 @@ use crate::chain::Network; use crate::cli::Opts; use crate::db::{FileDB, DB}; use crate::{errors::Error, state::LightClientStore}; -use ethereum_consensus::capella::LightClientBootstrap; use ethereum_consensus::config::Config; use ethereum_consensus::context::ChainContext; +use ethereum_consensus::deneb::LightClientBootstrap; use log::*; #[derive(Debug)] diff --git a/crates/light-client-cli/src/state.rs b/crates/light-client-cli/src/state.rs index e5f26a8..37d462a 100644 --- a/crates/light-client-cli/src/state.rs +++ b/crates/light-client-cli/src/state.rs @@ -1,6 +1,6 @@ use ethereum_consensus::{ beacon::{BeaconBlockHeader, Slot}, - capella::{ExecutionPayloadHeader, LightClientBootstrap}, + deneb::{ExecutionPayloadHeader, LightClientBootstrap}, sync_protocol::SyncCommittee, types::{H256, U64}, }; diff --git a/crates/lodestar-rpc/src/types.rs b/crates/lodestar-rpc/src/types.rs index a8e9f6e..b775f96 100644 --- a/crates/lodestar-rpc/src/types.rs +++ b/crates/lodestar-rpc/src/types.rs @@ -1,7 +1,7 @@ use ethereum_consensus::{ beacon::{BeaconBlockHeader, Checkpoint, Root, Slot}, bls::Signature, - capella::{LightClientBootstrap, LightClientHeader, LightClientUpdate}, + deneb::{LightClientBootstrap, LightClientHeader, LightClientUpdate}, sync_protocol::FINALIZED_ROOT_DEPTH, sync_protocol::{ SyncAggregate, SyncCommittee, CURRENT_SYNC_COMMITTEE_DEPTH, NEXT_SYNC_COMMITTEE_DEPTH,