(&self, count: usize)
| 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(); |
no outgoing calls
no test coverage detected