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