()
| 90 | /// Supports queuing override responses for check_payload and commit_hash |
| 91 | /// to simulate SYNCING behavior during tests. |
| 92 | #[derive(Clone)] |
| 93 | pub struct MockEngineClient { |
| 94 | check_payload_overrides: Arc<Mutex<VecDeque<PayloadStatus>>>, |
| 95 | commit_hash_overrides: Arc<Mutex<VecDeque<ForkchoiceUpdated>>>, |
| 96 | check_payload_calls: Arc<AtomicU64>, |
| 97 | commit_hash_calls: Arc<AtomicU64>, |
| 98 | commit_hash_fails: Arc<AtomicBool>, |
| 99 | } |
| 100 |
nothing calls this directly
no outgoing calls
no test coverage detected