Skip to content

Commit

Permalink
Remove deny_unknown_fields attribute from CallRequest. (polkadot-ev…
Browse files Browse the repository at this point in the history
…m#1252)

This is to allow unknown fields in an eth call as geth and ganache do.
  • Loading branch information
Cem Eliguzel authored and frank0528 committed Jan 2, 2025
1 parent 1d2d76a commit e5a3ed0
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::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 e5a3ed0

Please sign in to comment.