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

Method new

crates/execution/runner/src/node.rs:64–74  ·  view source on GitHub ↗

Creates a new instance of the Base node type.

(args: RollupArgs)

Source from the content-addressed store, hash-verified

62impl BaseNode {
63 /// Creates a new instance of the Base node type.
64 pub fn new(args: RollupArgs) -> Self {
65 Self {
66 args,
67 da_config: BaseDAConfig::default(),
68 gas_limit_config: GasLimitConfig::default(),
69 manifest_precheck_enabled: true,
70 resource_metering: ResourceMeteringConfig::default(),
71 rejection_cache: RejectionCache::default(),
72 payload_ready: None,
73 }
74 }
75
76 /// Configure the data availability configuration for the payload builder.
77 pub fn with_da_config(mut self, da_config: BaseDAConfig) -> Self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected