Skip to content

Commit

Permalink
Remove deny_unknown_fields attribute from CallRequest.
Browse files Browse the repository at this point in the history
This is to allow unknown fields in an eth call as geth and ganache do.
  • Loading branch information
Cem Eliguzel authored and ahmadkaouk committed Dec 19, 2023
1 parent ae71260 commit 00bd4a6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion client/rpc-core/src/types/call_request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 00bd4a6

Please sign in to comment.