mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 19:09:54 +00:00
Update function visibility for cfg_and_block_env() (#11022)
This commit is contained in:
@ -23,7 +23,8 @@ pub use node::OptimismNode;
|
||||
pub mod txpool;
|
||||
|
||||
pub use reth_optimism_payload_builder::{
|
||||
OptimismBuiltPayload, OptimismPayloadBuilder, OptimismPayloadBuilderAttributes,
|
||||
OptimismBlockAttributes, OptimismBuiltPayload, OptimismPayloadBuilder,
|
||||
OptimismPayloadBuilderAttributes,
|
||||
};
|
||||
|
||||
pub use reth_evm_optimism::*;
|
||||
|
||||
@ -413,7 +413,7 @@ where
|
||||
|
||||
/// Returns the configured [`CfgEnvWithHandlerCfg`] and [`BlockEnv`] for the targeted payload
|
||||
/// (that has the `parent` as its parent).
|
||||
fn cfg_and_block_env(
|
||||
pub fn cfg_and_block_env(
|
||||
&self,
|
||||
config: &PayloadConfig<OptimismPayloadBuilderAttributes>,
|
||||
) -> (CfgEnvWithHandlerCfg, BlockEnv) {
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
#![cfg(feature = "optimism")]
|
||||
|
||||
pub mod builder;
|
||||
pub use builder::OptimismPayloadBuilder;
|
||||
pub use builder::{OptimismBlockAttributes, OptimismPayloadBuilder};
|
||||
pub mod error;
|
||||
pub mod payload;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user