From bfece6171d4f323c4134bc68630502e56140e508 Mon Sep 17 00:00:00 2001 From: Cem Eliguzel Date: Wed, 1 Nov 2023 14:56:38 +0000 Subject: [PATCH] Remove deny_unknown_fields attribute from `CallRequest`. This is to allow unknown fields in an eth call as geth and ganache do. --- client/rpc-core/src/types/call_request.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/client/rpc-core/src/types/call_request.rs b/client/rpc-core/src/types/call_request.rs index 96d151a71a..efa493652a 100644 --- a/client/rpc-core/src/types/call_request.rs +++ b/client/rpc-core/src/types/call_request.rs @@ -26,7 +26,6 @@ use crate::types::{deserialize_data_or_input, Bytes}; /// Call request #[derive(Clone, Debug, Default, Eq, PartialEq, Deserialize)] -#[serde(deny_unknown_fields)] #[serde(rename_all = "camelCase")] pub struct CallRequest { /// From