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

Method with_engine_api

crates/execution/node/src/node.rs:483–504  ·  view source on GitHub ↗

Maps the [`reth_node_builder::rpc::EngineApiBuilder`] builder type.

(
        self,
        engine_api_builder: T,
    )

Source from the content-addressed store, hash-verified

481{
482 /// Maps the [`reth_node_builder::rpc::EngineApiBuilder`] builder type.
483 pub fn with_engine_api<T>(
484 self,
485 engine_api_builder: T,
486 ) -> BaseAddOns<N, EthB, PVB, T, EVB, RpcMiddleware> {
487 let Self {
488 rpc_add_ons,
489 da_config,
490 gas_limit_config,
491 sequencer_url,
492 sequencer_headers,
493 min_suggested_priority_fee,
494 ..
495 } = self;
496 BaseAddOns::new(
497 rpc_add_ons.with_engine_api(engine_api_builder),
498 da_config,
499 gas_limit_config,
500 sequencer_url,
501 sequencer_headers,
502 min_suggested_priority_fee,
503 )
504 }
505
506 /// Maps the [`PayloadValidatorBuilder`] builder type.
507 pub fn with_payload_validator<T>(

Callers

nothing calls this directly

Calls 1

newFunction · 0.50

Tested by

no test coverage detected