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

Method build_consensus

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

Source from the content-addressed store, hash-verified

1440 type Consensus = Arc<BaseBeaconConsensus>;
1441
1442 async fn build_consensus(self, ctx: &BuilderContext<Node>) -> eyre::Result<Self::Consensus> {
1443 Ok(Arc::new(BaseBeaconConsensus::new(ctx.chain_spec())))
1444 }
1445}
1446
1447/// Builder for [`BaseEngineValidator`].

Callers

nothing calls this directly

Calls 2

newFunction · 0.50
chain_specMethod · 0.45

Tested by

no test coverage detected