Skip to content

Commit

Permalink
client: toSendTxArgs passes feecap and tipcap
Browse files Browse the repository at this point in the history
  • Loading branch information
blukat29 committed Jun 27, 2024
1 parent eeafa70 commit c3295e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions client/kaia_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,12 @@ func toSendTxArgs(msg api.SendTxArgs) interface{} {
if msg.Price != nil {
arg["gasPrice"] = (*hexutil.Big)(msg.Price)
}
if msg.MaxFeePerGas != nil {
arg["maxFeePerGas"] = (*hexutil.Big)(msg.MaxFeePerGas)
}
if msg.MaxPriorityFeePerGas != nil {
arg["maxPriorityFeePerGas"] = (*hexutil.Big)(msg.MaxPriorityFeePerGas)
}
if msg.Amount != nil {
arg["value"] = (*hexutil.Big)(msg.Amount)
}
Expand Down

0 comments on commit c3295e3

Please sign in to comment.