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

Method build_consensus

crates/execution/node/src/node.rs:1318–1320  ·  view source on GitHub ↗
(self, ctx: &BuilderContext<Node>)

Source from the content-addressed store, hash-verified

1316 type Consensus = Arc<BaseBeaconConsensus>;
1317
1318 async fn build_consensus(self, ctx: &BuilderContext<Node>) -> eyre::Result<Self::Consensus> {
1319 Ok(Arc::new(BaseBeaconConsensus::new(ctx.chain_spec())))
1320 }
1321}
1322
1323/// Builder for [`BaseEngineValidator`].

Callers

nothing calls this directly

Calls 1

chain_specMethod · 0.45

Tested by

no test coverage detected