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

Method operating_mode

crates/consensus/cli/src/node.rs:393–399  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

391 }
392
393 fn operating_mode(&self) -> eyre::Result<NodeOperatingMode> {
394 let flags = &self.config.sequencer_flags;
395 self.config
396 .node_mode
397 .try_into_operating_mode(flags.isolated, flags.shadow_blocks_per_cycle)
398 .map_err(|e| eyre::eyre!(e))
399 }
400
401 /// Validates that synthetic account funding is confined to shadow sequencers.
402 pub fn validate_shadow_funding(&self) -> eyre::Result<()> {

Calls 1

Tested by

no test coverage detected