From 484f62a720d365b2b4064a1efef1fb1c690dec92 Mon Sep 17 00:00:00 2001 From: lumtis Date: Thu, 3 Oct 2024 10:11:41 +0200 Subject: [PATCH] comment --- zetaclient/chains/evm/signer/gas.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zetaclient/chains/evm/signer/gas.go b/zetaclient/chains/evm/signer/gas.go index 82aefe6ddb..6727758edd 100644 --- a/zetaclient/chains/evm/signer/gas.go +++ b/zetaclient/chains/evm/signer/gas.go @@ -98,7 +98,7 @@ func gasFromCCTX(cctx *types.CrossChainTx, logger zerolog.Logger) (Gas, error) { Msg("gasPrice is less than priorityFee, setting priorityFee = gasPrice") // this should in theory never happen, but this reported bug might be a cause: https://github.com/zeta-chain/node/issues/2954 - // in this case we lower the priorityFee to the gasFeecCap to ensure the transaction is valid + // in this case we lower the priorityFee to the gasPrice to ensure the transaction is valid // the only potential issue is the transaction might not cover the baseFee // the gas stability pool mechanism help to mitigate this issue priorityFee = big.NewInt(0).Set(gasPrice)