ethclient: fix forwarding 1559 gas fields (#28462)
This commit is contained in:
parent
b1cec853be
commit
e91cdb49be
@ -658,6 +658,12 @@ func toCallArg(msg ethereum.CallMsg) interface{} {
|
||||
if msg.GasPrice != nil {
|
||||
arg["gasPrice"] = (*hexutil.Big)(msg.GasPrice)
|
||||
}
|
||||
if msg.GasFeeCap != nil {
|
||||
arg["maxFeePerGas"] = (*hexutil.Big)(msg.GasFeeCap)
|
||||
}
|
||||
if msg.GasTipCap != nil {
|
||||
arg["maxPriorityFeePerGas"] = (*hexutil.Big)(msg.GasTipCap)
|
||||
}
|
||||
return arg
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user