Skip to content

Commit

Permalink
adjust zetaclient minimum outbound gaslimit to be 100K
Browse files Browse the repository at this point in the history
  • Loading branch information
brewmaster012 committed Oct 17, 2023
1 parent 615bdb1 commit 2e17922
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zetaclient/evm_signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,8 @@ func (signer *EVMSigner) TryProcessOutTx(send *types.CrossChainTx, outTxMan *Out
}

gasLimit := send.GetCurrentOutTxParam().OutboundTxGasLimit
if gasLimit < 50_000 {
gasLimit = 50_000
if gasLimit < 100_000 {
gasLimit = 100_000
logger.Warn().Msgf("gasLimit %d is too low; set to %d", send.GetCurrentOutTxParam().OutboundTxGasLimit, gasLimit)
}
if gasLimit > 1_000_000 {
Expand Down

0 comments on commit 2e17922

Please sign in to comment.