Update function visibility for cfg_and_block_env() (#11022)

This commit is contained in:
0xKitsune
2024-09-19 07:36:17 -04:00
committed by GitHub
parent 5f022e1cd1
commit ddb79ef08b
3 changed files with 4 additions and 3 deletions

View File

@ -23,7 +23,8 @@ pub use node::OptimismNode;
pub mod txpool; pub mod txpool;
pub use reth_optimism_payload_builder::{ pub use reth_optimism_payload_builder::{
OptimismBuiltPayload, OptimismPayloadBuilder, OptimismPayloadBuilderAttributes, OptimismBlockAttributes, OptimismBuiltPayload, OptimismPayloadBuilder,
OptimismPayloadBuilderAttributes,
}; };
pub use reth_evm_optimism::*; pub use reth_evm_optimism::*;

View File

@ -413,7 +413,7 @@ where
/// Returns the configured [`CfgEnvWithHandlerCfg`] and [`BlockEnv`] for the targeted payload /// Returns the configured [`CfgEnvWithHandlerCfg`] and [`BlockEnv`] for the targeted payload
/// (that has the `parent` as its parent). /// (that has the `parent` as its parent).
fn cfg_and_block_env( pub fn cfg_and_block_env(
&self, &self,
config: &PayloadConfig<OptimismPayloadBuilderAttributes>, config: &PayloadConfig<OptimismPayloadBuilderAttributes>,
) -> (CfgEnvWithHandlerCfg, BlockEnv) { ) -> (CfgEnvWithHandlerCfg, BlockEnv) {

View File

@ -12,7 +12,7 @@
#![cfg(feature = "optimism")] #![cfg(feature = "optimism")]
pub mod builder; pub mod builder;
pub use builder::OptimismPayloadBuilder; pub use builder::{OptimismBlockAttributes, OptimismPayloadBuilder};
pub mod error; pub mod error;
pub mod payload; pub mod payload;