diff --git a/beacon_node/execution_layer/src/engine_api/http.rs b/beacon_node/execution_layer/src/engine_api/http.rs index 34b692a6271..fc0288bbc01 100644 --- a/beacon_node/execution_layer/src/engine_api/http.rs +++ b/beacon_node/execution_layer/src/engine_api/http.rs @@ -75,7 +75,7 @@ impl HttpJsonRpc { jsonrpc: JSONRPC_VERSION, method, params, - id: STATIC_ID, + id: json!(STATIC_ID), }; let mut request = self diff --git a/beacon_node/execution_layer/src/engine_api/json_structures.rs b/beacon_node/execution_layer/src/engine_api/json_structures.rs index 77dc6ff4746..c95113092f9 100644 --- a/beacon_node/execution_layer/src/engine_api/json_structures.rs +++ b/beacon_node/execution_layer/src/engine_api/json_structures.rs @@ -8,7 +8,7 @@ pub struct JsonRequestBody<'a> { pub jsonrpc: &'a str, pub method: &'a str, pub params: serde_json::Value, - pub id: u32, + pub id: serde_json::Value, } #[derive(Debug, PartialEq, Serialize, Deserialize)] @@ -25,7 +25,7 @@ pub struct JsonResponseBody { pub error: Option, #[serde(default)] pub result: serde_json::Value, - pub id: u32, + pub id: serde_json::Value, } #[derive(Debug, PartialEq, Serialize, Deserialize)]