Skip to content

Commit

Permalink
set higher gas
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Nov 12, 2024
1 parent d87050d commit ab11ffa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zetaclient/zetacore/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ const (
PostVoteOutboundGasLimit = 500_000

// PostVoteOutboundRevertGasLimit is the gas limit for voting on observed outbound tx for revert (when outbound fails)
// The value needs to be higher because reverting implies interacting with the EVM to perform swaps for the gas token
PostVoteOutboundRevertGasLimit = 4_000_000
// The value is set to 7M because in case of onRevert call, it might consume lot of gas
PostVoteOutboundRevertGasLimit = 7_000_000
)

// constants for monitoring tx results
Expand Down

0 comments on commit ab11ffa

Please sign in to comment.