MCPcopy Create free account
hub / github.com/base/base / flashblocks

Method flashblocks

crates/builder/core/src/test_utils/instance.rs:277–280  ·  view source on GitHub ↗

Creates a new local instance of the builder node with the flashblocks builder configuration. This method prefunds the default accounts with 1 ETH each.

()

Source from the content-addressed store, hash-verified

275 /// Creates a new local instance of the builder node with the flashblocks builder configuration.
276 /// This method prefunds the default accounts with 1 ETH each.
277 pub async fn flashblocks() -> eyre::Result<Self> {
278 clear_otel_env_vars();
279 Self::new(BuilderConfig::for_tests()).await
280 }
281
282 /// Returns the Reth node configuration.
283 pub const fn node_config(&self) -> &NodeConfig<BaseChainSpec> {

Callers

nothing calls this directly

Calls 2

clear_otel_env_varsFunction · 0.70
newFunction · 0.50

Tested by

no test coverage detected