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

Method add_ons_builder

crates/execution/node/src/node.rs:291–298  ·  view source on GitHub ↗

Returns [`BaseAddOnsBuilder`] with configured arguments.

(&self)

Source from the content-addressed store, hash-verified

289
290 /// Returns [`BaseAddOnsBuilder`] with configured arguments.
291 pub fn add_ons_builder<NetworkT: RpcTypes>(&self) -> BaseAddOnsBuilder<NetworkT> {
292 BaseAddOnsBuilder::default()
293 .with_sequencer(self.args.sequencer.clone())
294 .with_sequencer_headers(self.args.sequencer_headers.clone())
295 .with_da_config(self.da_config.clone())
296 .with_gas_limit_config(self.gas_limit_config.clone())
297 .with_min_suggested_priority_fee(self.args.min_suggested_priority_fee)
298 }
299
300 /// Instantiates the [`ProviderFactoryBuilder`] for a Base node.
301 ///

Callers 2

startMethod · 0.45
add_onsMethod · 0.45

Calls 6

with_gas_limit_configMethod · 0.45
with_da_configMethod · 0.45
with_sequencerMethod · 0.45
cloneMethod · 0.45

Tested by

no test coverage detected