0b7a426946
* Add Deneb builder flow types with generics * Update validator client `get_blinded_blocks` call to support Deneb * `produceBlindedBlock` endpoint updates: - Handle new Deneb BuilderBid response from builder endpoint (new BlindedBlobsBundle type) - Build BlockContents response (containing kzg_commitments, proof and blinded_blob_sidecars) * Appease Clippy lint * Partial implementation of submit blinded block & blobs. Refactor existing `BlobSidecar` related types to support blinded blobs. * Add associated types for BlockProposal * Rename `AbstractSidecar` to `Sidecar` * Remove blob cache as it's no longer necessary * Remove unnecessary enum variant * Clean up * Hanlde unblinded blobs and publish full block contents * Fix tests * Add local EL blobs caching in blinded flow * Remove BlockProposal and move associated Sidecar trait to AbstractExecPayload to simplify changes * add blob roots associated type * move raw blobs associated type to sidecar trait * Fix todos and improve error handling * Consolidate BlobsBundle from `execution_layer` into `consensus/types` * Rename RawBlobs, Blobs, and BlobRoots * Use `BlobRoots` type alias * Update error message. Co-authored-by: realbigsean <seananderson33@GMAIL.com> * update builder bid type # Conflicts: # consensus/types/src/builder_bid.rs * Fix lint * remove generic from builder bid --------- Co-authored-by: realbigsean <seananderson33@gmail.com>
96 lines
3.3 KiB
Rust
96 lines
3.3 KiB
Rust
pub mod attestation_rewards;
|
|
pub mod attestation_verification;
|
|
mod attester_cache;
|
|
pub mod beacon_block_reward;
|
|
mod beacon_block_streamer;
|
|
mod beacon_chain;
|
|
mod beacon_fork_choice_store;
|
|
pub mod beacon_proposer_cache;
|
|
mod beacon_snapshot;
|
|
pub mod blob_verification;
|
|
pub mod block_reward;
|
|
mod block_times_cache;
|
|
mod block_verification;
|
|
pub mod block_verification_types;
|
|
pub mod builder;
|
|
pub mod canonical_head;
|
|
pub mod capella_readiness;
|
|
pub mod chain_config;
|
|
pub mod data_availability_checker;
|
|
mod early_attester_cache;
|
|
mod errors;
|
|
pub mod eth1_chain;
|
|
mod eth1_finalization_cache;
|
|
pub mod events;
|
|
pub mod execution_payload;
|
|
pub mod fork_choice_signal;
|
|
pub mod fork_revert;
|
|
mod head_tracker;
|
|
pub mod historical_blocks;
|
|
pub mod kzg_utils;
|
|
pub mod light_client_finality_update_verification;
|
|
pub mod light_client_optimistic_update_verification;
|
|
pub mod merge_readiness;
|
|
pub mod metrics;
|
|
pub mod migrate;
|
|
mod naive_aggregation_pool;
|
|
mod observed_aggregates;
|
|
mod observed_attesters;
|
|
mod observed_blob_sidecars;
|
|
pub mod observed_block_producers;
|
|
pub mod observed_operations;
|
|
pub mod otb_verification_service;
|
|
mod persisted_beacon_chain;
|
|
mod persisted_fork_choice;
|
|
mod pre_finalization_cache;
|
|
pub mod proposer_prep_service;
|
|
pub mod schema_change;
|
|
pub mod shuffling_cache;
|
|
mod snapshot_cache;
|
|
pub mod state_advance_timer;
|
|
pub mod sync_committee_rewards;
|
|
pub mod sync_committee_verification;
|
|
pub mod test_utils;
|
|
mod timeout_rw_lock;
|
|
pub mod validator_monitor;
|
|
pub mod validator_pubkey_cache;
|
|
|
|
pub use self::beacon_chain::{
|
|
AttestationProcessingOutcome, AvailabilityProcessingStatus, BeaconChain, BeaconChainTypes,
|
|
BeaconStore, ChainSegmentResult, ForkChoiceError, OverrideForkchoiceUpdate,
|
|
ProduceBlockVerification, StateSkipConfig, WhenSlotSkipped,
|
|
INVALID_FINALIZED_MERGE_TRANSITION_BLOCK_SHUTDOWN_REASON,
|
|
INVALID_JUSTIFIED_PAYLOAD_SHUTDOWN_REASON,
|
|
};
|
|
pub use self::beacon_snapshot::BeaconSnapshot;
|
|
pub use self::chain_config::ChainConfig;
|
|
pub use self::errors::{BeaconChainError, BlockProductionError};
|
|
pub use self::historical_blocks::HistoricalBlockError;
|
|
pub use attestation_verification::Error as AttestationError;
|
|
pub use beacon_fork_choice_store::{BeaconForkChoiceStore, Error as ForkChoiceStoreError};
|
|
pub use block_verification::{
|
|
get_block_root, BlockError, ExecutionPayloadError, ExecutionPendingBlock, GossipVerifiedBlock,
|
|
IntoExecutionPendingBlock, IntoGossipVerifiedBlockContents, PayloadVerificationOutcome,
|
|
PayloadVerificationStatus,
|
|
};
|
|
pub use block_verification_types::AvailabilityPendingExecutedBlock;
|
|
pub use block_verification_types::ExecutedBlock;
|
|
pub use canonical_head::{CachedHead, CanonicalHead, CanonicalHeadRwLock};
|
|
pub use eth1_chain::{Eth1Chain, Eth1ChainBackend};
|
|
pub use events::ServerSentEventHandler;
|
|
pub use execution_layer::EngineState;
|
|
pub use execution_payload::NotifyExecutionLayer;
|
|
pub use fork_choice::{ExecutionStatus, ForkchoiceUpdateParameters};
|
|
pub use kzg::TrustedSetup;
|
|
pub use metrics::scrape_for_metrics;
|
|
pub use migrate::MigratorConfig;
|
|
pub use parking_lot;
|
|
pub use slot_clock;
|
|
pub use state_processing::per_block_processing::errors::{
|
|
AttestationValidationError, AttesterSlashingValidationError, DepositValidationError,
|
|
ExitValidationError, ProposerSlashingValidationError,
|
|
};
|
|
pub use store;
|
|
pub use timeout_rw_lock::TimeoutRwLock;
|
|
pub use types;
|