| 84 | /// Supports queuing override responses for check_payload and commit_hash |
| 85 | /// to simulate SYNCING behavior during tests. |
| 86 | #[derive(Clone)] |
| 87 | pub struct MockEngineClient { |
| 88 | check_payload_overrides: Arc<Mutex<VecDeque<PayloadStatus>>>, |
| 89 | commit_hash_overrides: Arc<Mutex<VecDeque<ForkchoiceUpdated>>>, |
| 90 | check_payload_calls: Arc<AtomicU64>, |
| 91 | commit_hash_fails: Arc<AtomicBool>, |
| 92 | } |
nothing calls this directly
no outgoing calls
no test coverage detected