Skip to content

Commit

Permalink
Fix Failing Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ethDreamer committed Jun 26, 2024
1 parent e1fdda4 commit 9436b40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions beacon_node/execution_layer/src/test_utils/handle_rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,10 @@ pub async fn handle_rpc<E: EthSpec>(
)
})?;

// TODO(electra): add testing for:
// deposit_requests
// withdrawal_requests
// consolidation_requests
response.push(Some(JsonExecutionPayloadBodyV2::<E> {
transactions,
withdrawals: block
Expand Down
5 changes: 2 additions & 3 deletions beacon_node/execution_layer/src/test_utils/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,9 @@ pub const DEFAULT_ENGINE_CAPABILITIES: EngineCapabilities = EngineCapabilities {
forkchoice_updated_v2: true,
forkchoice_updated_v3: true,
get_payload_bodies_by_hash_v1: true,
// TODO(electra): make a v2 implementation for the mock EL
get_payload_bodies_by_hash_v2: false,
get_payload_bodies_by_hash_v2: true,
get_payload_bodies_by_range_v1: true,
get_payload_bodies_by_range_v2: false,
get_payload_bodies_by_range_v2: true,
get_payload_v1: true,
get_payload_v2: true,
get_payload_v3: true,
Expand Down

0 comments on commit 9436b40

Please sign in to comment.