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

Function validator_with_chain_spec

crates/execution/node/src/engine.rs:420–426  ·  view source on GitHub ↗
(
        chain_spec: BaseChainSpec,
    )

Source from the content-addressed store, hash-verified

418 const DENIM_TIMESTAMP: u64 = 1_800_000_001;
419
420 fn validator_with_chain_spec(
421 chain_spec: BaseChainSpec,
422 ) -> BaseEngineValidator<BaseTxEnvelope, BaseChainSpec> {
423 BaseEngineValidator::<BaseTxEnvelope, BaseChainSpec>::new::<KeccakKeyHasher>(Arc::new(
424 chain_spec,
425 ))
426 }
427
428 fn validator() -> BaseEngineValidator<BaseTxEnvelope, BaseChainSpec> {
429 validator_with_chain_spec(BaseChainSpec::sepolia())

Callers 3

validatorFunction · 0.85
denim_validatorFunction · 0.85

Calls 1

newFunction · 0.50

Tested by

no test coverage detected