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

Method queue_check_payload_syncing

finalizer/src/tests/mocks.rs:102–107  ·  view source on GitHub ↗
(&self, count: usize)

Source from the content-addressed store, hash-verified

100 commit_hash_overrides: Arc::new(Mutex::new(VecDeque::new())),
101 check_payload_calls: Arc::new(AtomicU64::new(0)),
102 commit_hash_calls: Arc::new(AtomicU64::new(0)),
103 commit_hash_fails: Arc::new(AtomicBool::new(false)),
104 }
105 }
106
107 /// Make every subsequent `commit_hash` call return a non-retryable error,
108 /// simulating a failed forkchoice commit. Used to drive the finalizer's
109 /// fatal-shutdown path at an epoch boundary.
110 #[allow(unused)]

Calls

no outgoing calls

Tested by

no test coverage detected