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

Class MockEngineClient

finalizer/src/tests/mocks.rs:86–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84/// Supports queuing override responses for check_payload and commit_hash
85/// to simulate SYNCING behavior during tests.
86#[derive(Clone)]
87pub struct MockEngineClient {
88 check_payload_overrides: Arc<Mutex<VecDeque<PayloadStatus>>>,
89 commit_hash_overrides: Arc<Mutex<VecDeque<ForkchoiceUpdated>>>,
90 check_payload_calls: Arc<AtomicU64>,
91 commit_hash_fails: Arc<AtomicBool>,
92}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected