Expand description
Re-export commonly used types and traits.
Re-exports§
pub use super::alloy_providers::AlloyChainProvider;
pub use super::alloy_providers::AlloyL2ChainProvider;
pub use super::beacon_client::BeaconClient;
pub use super::beacon_client::OnlineBeaconClient;
pub use super::blob_provider::BlobSidecarProvider;
pub use super::blob_provider::OnlineBlobProvider;
pub use super::blob_provider::OnlineBlobProviderBuilder;
pub use super::blob_provider::OnlineBlobProviderWithFallback;
pub use super::pipeline::new_online_pipeline;
pub use super::pipeline::OnlinePipeline;
Structs§
- AttributesQueue accepts batches from the BatchQueue stage and transforms them into OpPayloadAttributes.
- BatchQueue is responsible for o rdering unordered batches and gnerating empty batches when the sequence window has passed.
- BatchStream stage in the derivation pipeline.
- The BatchValidator stage is responsible for validating the SingleBatches from the BatchStream AttributesQueue’s consumption.
- The Blob Data
- A data iterator that reads from a blob.
- A data iterator that reads from calldata.
- The ChannelAssembler stage is responsible for assembling the Frames from the FrameQueue stage into a raw compressed Channel.
- ChannelBank is a stateful stage that does the following:
- The derivation pipeline is responsible for deriving L2 inputs from L1 data.
- A factory for creating an Ethereum data source provider.
- The FrameQueue stage of the derivation pipeline. This stage takes the output of the L1Retrieval stage and parses it into frames.
- The L1Retrieval stage of the derivation pipeline.
- The L1Traversal stage of the derivation pipeline.
- The
PipelineBuilder
constructs a DerivationPipeline using a builder pattern. - A stateful implementation of the AttributesBuilder.
Enums§
- A frame decompression error.
- Blob Decoding Error
- An error returned by the BlobProviderError.
- An AttributesBuilder Error.
- A decoding error.
- An error encountered during the processing.
- A top level filter for PipelineError that sorts by severity.
- A reset error
Traits§
- The AttributesBuilder is responsible for preparing OpPayloadAttributes that can be used to construct an L2 Block containing only deposits.
- AttributesProvider is a trait abstraction that generalizes the BatchQueue stage.
- Provides Batches for the BatchStream stage.
- A super-trait for BatchValidationProvider that binds
Self::Error
to have a conversion into PipelineErrorKind. - The BlobProvider trait specifies the functionality of a data source that can provide blobs.
- Describes the functionality of a data source that can provide information from the blockchain.
- The ChannelReader provider trait.
- Describes the functionality of a data source that can provide data availability information.
- Provides data frames for the FrameQueue stage.
- Provides L1 blocks for the L1Retrieval stage. This is the previous stage in the pipeline.
- Describes the functionality of a data source that fetches safe blocks.
- NextAttributes defines the interface for pulling attributes from the top level
AttributesQueue
stage of the pipeline. - Provides frames for the ChannelBank and ChannelAssembler stages.
- Defines a trait for advancing the L1 origin of the pipeline.
- Provides a method for accessing the pipeline’s current L1 origin.
- This trait defines the interface for interacting with the derivation pipeline.
- Provides the BlockInfo and SystemConfig for the stack to reset the stages.
- Providers a way for the pipeline to accept a signal from the driver.
Functions§
- Decompresses the given bytes data using the Brotli decompressor implemented in the
brotli
crate.