Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Oct 3, 2024
1 parent 17b201d commit 484f62a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zetaclient/chains/evm/signer/gas.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 484f62a

Please sign in to comment.