From c3295e3bcb680f0cf0258e1dc01d6dea96071f62 Mon Sep 17 00:00:00 2001 From: "ollie.j" Date: Thu, 27 Jun 2024 22:42:18 +0900 Subject: [PATCH] client: toSendTxArgs passes feecap and tipcap --- client/kaia_client.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client/kaia_client.go b/client/kaia_client.go index 99da00c9a..78027d053 100644 --- a/client/kaia_client.go +++ b/client/kaia_client.go @@ -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) }