MCPcopy Create free account
hub / github.com/base/base / test_client

Function test_client

crates/consensus/engine/src/task_queue/tasks/insert/task.rs:544–551  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

542 }
543
544 fn test_client() -> Arc<crate::test_utils::MockEngineClient> {
545 Arc::new(
546 test_engine_client_builder()
547 .with_new_payload_v2_response(valid_payload_status())
548 .with_fork_choice_updated_v3_response(valid_forkchoice_updated())
549 .build(),
550 )
551 }
552
553 #[tokio::test]
554 async fn bedrock_payload_uses_new_payload_v2_with_no_withdrawals() {

Calls 7

valid_payload_statusFunction · 0.70
valid_forkchoice_updatedFunction · 0.70
newFunction · 0.50
buildMethod · 0.45

Tested by

no test coverage detected