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

Method from

crates/execution/cli/src/standard_node.rs:486–496  ·  view source on GitHub ↗
(mut args: RpcStandardNodeArgs)

Source from the content-addressed store, hash-verified

484
485impl From<RpcStandardNodeArgs> for StandardNodeArgs {
486 fn from(mut args: RpcStandardNodeArgs) -> Self {
487 if args.rollup_args.sequencer.is_none() {
488 args.rollup_args.sequencer.clone_from(&args.rpc_forwarding_endpoint);
489 }
490
491 Self {
492 rpc: args,
493 metering: MeteringArgs::default(),
494 shadow_indexer: ShadowIndexerArgs::default(),
495 }
496 }
497}
498
499impl StandardNodeArgs {

Callers

nothing calls this directly

Tested by

no test coverage detected