mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +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 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::*;
|
||||||
|
|||||||
@ -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) {
|
||||||
|
|||||||
@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user