MCPcopy Create free account
hub / github.com/SeismicSystems/summit / new

Method new

finalizer/src/tests/mocks.rs:92–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90/// Supports queuing override responses for check_payload and commit_hash
91/// to simulate SYNCING behavior during tests.
92#[derive(Clone)]
93pub struct MockEngineClient {
94 check_payload_overrides: Arc<Mutex<VecDeque<PayloadStatus>>>,
95 commit_hash_overrides: Arc<Mutex<VecDeque<ForkchoiceUpdated>>>,
96 check_payload_calls: Arc<AtomicU64>,
97 commit_hash_calls: Arc<AtomicU64>,
98 commit_hash_fails: Arc<AtomicBool>,
99}
100

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected