Skip to content

Commit 17f7b5f

Browse files
authored
Revert "ethclient: fix forwarding 1559 gas fields (ethereum#28462)"
This reverts commit ebad5fe.
1 parent 76908d0 commit 17f7b5f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ethclient/ethclient.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -658,12 +658,6 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
658658
if msg.GasPrice != nil {
659659
arg["gasPrice"] = (*hexutil.Big)(msg.GasPrice)
660660
}
661-
if msg.GasFeeCap != nil {
662-
arg["maxFeePerGas"] = (*hexutil.Big)(msg.GasFeeCap)
663-
}
664-
if msg.GasTipCap != nil {
665-
arg["maxPriorityFeePerGas"] = (*hexutil.Big)(msg.GasTipCap)
666-
}
667661
return arg
668662
}
669663

0 commit comments

Comments
 (0)