diff --git a/beacon_node/execution_layer/src/engine_api/http.rs b/beacon_node/execution_layer/src/engine_api/http.rs index 73eabf574b5..dd04a9b35b2 100644 --- a/beacon_node/execution_layer/src/engine_api/http.rs +++ b/beacon_node/execution_layer/src/engine_api/http.rs @@ -1111,7 +1111,7 @@ impl HttpJsonRpc { struct Quantity(#[serde(with = "serde_utils::u64_hex_be")] u64); let params = json!([Quantity(start), Quantity(count)]); - let response: Vec>> = self + let response: Vec>> = self .rpc_request( ENGINE_GET_PAYLOAD_BODIES_BY_RANGE_V2, params, @@ -1121,7 +1121,7 @@ impl HttpJsonRpc { Ok(response .into_iter() - .map(|opt_json| opt_json.map(|v2| JsonExecutionPayloadBody::V1(v2).into())) + .map(|opt_json| opt_json.map(|v2| JsonExecutionPayloadBody::V2(v2).into())) .collect()) } diff --git a/consensus/fork_choice/tests/tests.rs b/consensus/fork_choice/tests/tests.rs index d2935dbca45..19faf69bcb4 100644 --- a/consensus/fork_choice/tests/tests.rs +++ b/consensus/fork_choice/tests/tests.rs @@ -1344,7 +1344,7 @@ async fn progressive_balances_cache_attester_slashing() { // (`HeaderInvalid::ProposerSlashed`). The harness should be re-worked to successfully skip // the slot in this scenario rather than panic-ing. The same applies to // `progressive_balances_cache_proposer_slashing`. - .apply_blocks(1) + .apply_blocks(2) .await .add_previous_epoch_attester_slashing() .await