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

Method initialize

actions/harness/src/node.rs:221–226  ·  view source on GitHub ↗

Initialize the pipeline by sending the genesis activation signal. Must be called once before any [`step`] or [`run_until_idle`] calls. [`step`]: TestRollupNode::step [`run_until_idle`]: TestRollupNode::run_until_idle

(&mut self)

Source from the content-addressed store, hash-verified

219 /// [`step`]: TestRollupNode::step
220 /// [`run_until_idle`]: TestRollupNode::run_until_idle
221 pub async fn initialize(&mut self) {
222 self.pipeline
223 .signal(ActivationSignal { l2_safe_head: self.safe_head }.signal())
224 .await
225 .expect("TestRollupNode: initialize signal failed");
226 }
227
228 /// Return the current L2 safe head.
229 pub const fn l2_safe(&self) -> L2BlockInfo {

Calls 1

signalMethod · 0.45