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

Method new_forced

crates/consensus/engine/src/task_queue/tasks/synchronize/task.rs:61–67  ·  view source on GitHub ↗

Creates a synchronization task that always sends a forkchoice update.

(
        client: Arc<EngineClient_>,
        rollup: Arc<RollupConfig>,
        state_update: EngineSyncStateUpdate,
    )

Source from the content-addressed store, hash-verified

59
60 /// Creates a synchronization task that always sends a forkchoice update.
61 pub const fn new_forced(
62 client: Arc<EngineClient_>,
63 rollup: Arc<RollupConfig>,
64 state_update: EngineSyncStateUpdate,
65 ) -> Self {
66 Self { client, rollup, state_update, force: true }
67 }
68
69 /// Computes the sync-state update to apply when the EL responds with `Syncing`.
70 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected