Creates a new local instance of the builder node with the given builder configuration, with a given Reth node configuration. This method does not prefund any accounts, so before sending any transactions make sure that sender accounts are funded.
(
builder_config: BuilderConfig,
node_config: NodeConfig<BaseChainSpec>,
)
| 187 | /// This method does not prefund any accounts, so before sending any transactions |
| 188 | /// make sure that sender accounts are funded. |
| 189 | pub async fn new_with_node_config( |
| 190 | builder_config: BuilderConfig, |
| 191 | node_config: NodeConfig<BaseChainSpec>, |
| 192 | ) -> eyre::Result<Self> { |
| 193 | Box::pin(LocalInstanceBuilder::new(builder_config).with_node_config(node_config).build()) |
| 194 | .await |
| 195 | } |
| 196 | |
| 197 | /// Core launch routine shared by all constructors. |
| 198 | /// |
nothing calls this directly
no test coverage detected