Skip to content

Commit 9a3ea67

Browse files
committed
update todo
1 parent 5d5ea6a commit 9a3ea67

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

beacon_node/execution_layer/src/test_utils/handle_rpc.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,7 @@ pub async fn handle_rpc<E: EthSpec>(
127127
})
128128
.map_err(|s| (s, BAD_PARAMS_ERROR_CODE))?,
129129
ENGINE_NEW_PAYLOAD_V5 => {
130-
// TODO(heze): decode Heze here once it diverges from Gloas. While the two
131-
// variants are JSON-identical, trying Heze first would mislabel every Gloas
132-
// payload as Heze. Dispatch on `get_fork_at_timestamp` like getPayload does.
130+
// TODO(heze):impl heze variant (probably new payload v6?)
133131
get_param::<JsonExecutionPayloadGloas<E>>(params, 0)
134132
.map(|jep| JsonExecutionPayload::Gloas(jep))
135133
.map_err(|s| (s, BAD_PARAMS_ERROR_CODE))?

0 commit comments

Comments
 (0)