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

Method with_payload_validator

crates/execution/node/src/node.rs:507–528  ·  view source on GitHub ↗

Maps the [`PayloadValidatorBuilder`] builder type.

(
        self,
        payload_validator_builder: T,
    )

Source from the content-addressed store, hash-verified

505
506 /// Maps the [`PayloadValidatorBuilder`] builder type.
507 pub fn with_payload_validator<T>(
508 self,
509 payload_validator_builder: T,
510 ) -> BaseAddOns<N, EthB, T, EB, EVB, RpcMiddleware> {
511 let Self {
512 rpc_add_ons,
513 da_config,
514 gas_limit_config,
515 sequencer_url,
516 sequencer_headers,
517 min_suggested_priority_fee,
518 ..
519 } = self;
520 BaseAddOns::new(
521 rpc_add_ons.with_payload_validator(payload_validator_builder),
522 da_config,
523 gas_limit_config,
524 sequencer_url,
525 sequencer_headers,
526 min_suggested_priority_fee,
527 )
528 }
529
530 /// Sets the RPC middleware stack for processing RPC requests.
531 ///

Callers

nothing calls this directly

Calls 1

newFunction · 0.50

Tested by

no test coverage detected