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

Method queue_commit_hash_syncing

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

Source from the content-addressed store, hash-verified

110 }
111
112 /// Number of times `check_payload` has been invoked. Used to detect whether a
113 /// finalized block was (re-)executed against the execution layer.
114 #[allow(unused)]
115 pub fn check_payload_call_count(&self) -> u64 {
116 self.check_payload_calls.load(Ordering::SeqCst)
117 }
118
119 /// Queue SYNCING responses for check_payload. After these are consumed,
120 /// check_payload falls back to returning VALID.
121 #[allow(unused)]
122 pub fn queue_check_payload_syncing(&self, count: usize) {
123 let mut overrides = self.check_payload_overrides.lock().unwrap();

Calls

no outgoing calls

Tested by

no test coverage detected