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

Method initialize

actions/harness/src/node.rs:223–228  ·  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

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

Calls 1

signalMethod · 0.45