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

Method add_ons_builder

crates/execution/node/src/node.rs:275–282  ·  view source on GitHub ↗

Returns [`BaseAddOnsBuilder`] with configured arguments.

(&self)

Source from the content-addressed store, hash-verified

273
274 /// Returns [`BaseAddOnsBuilder`] with configured arguments.
275 pub fn add_ons_builder<NetworkT: RpcTypes>(&self) -> BaseAddOnsBuilder<NetworkT> {
276 BaseAddOnsBuilder::default()
277 .with_sequencer(self.args.sequencer.clone())
278 .with_sequencer_headers(self.args.sequencer_headers.clone())
279 .with_da_config(self.da_config.clone())
280 .with_gas_limit_config(self.gas_limit_config.clone())
281 .with_min_suggested_priority_fee(self.args.min_suggested_priority_fee)
282 }
283
284 /// Instantiates the [`ProviderFactoryBuilder`] for a Base node.
285 ///

Callers 3

startMethod · 0.45
new_with_node_configMethod · 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