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 committed Nov 27, 2023
1 parent 176cb34 commit 93ae50f
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 93ae50f

Please sign in to comment.