Skip to content

Commit

Permalink
Remove input field for calls
Browse files Browse the repository at this point in the history
  • Loading branch information
ilanolkies committed Oct 14, 2024
1 parent 6863845 commit 580ba73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/chains/evm/client/compatibility_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func ToBackwardCompatibleCallArg(msg ethereum.CallMsg) interface{} {
"to": msg.To,
}
if len(msg.Data) > 0 {
arg["input"] = hexutil.Bytes(msg.Data)
// arg["input"] = hexutil.Bytes(msg.Data)
arg["data"] = hexutil.Bytes(msg.Data) // duplicate legacy field for compatibility
}
if msg.Value != nil {
Expand Down

0 comments on commit 580ba73

Please sign in to comment.