Skip to content

Commit

Permalink
fix(zetaclient): increase gas limit inbound and outbound vote messa…
Browse files Browse the repository at this point in the history
…ge to 500k (#2481)

* refactor: increase gas limit inbound vote message to 500k

* outbound

* changelogs
  • Loading branch information
lumtis authored Jul 15, 2024
1 parent 0d79cfb commit 7823f24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
* [2382](https://github.com/zeta-chain/node/pull/2382) - add tx input and gas in rpc methods for synthetic eth txs
* [2396](https://github.com/zeta-chain/node/issues/2386) - special handle bitcoin testnet gas price estimator
* [2434](https://github.com/zeta-chain/node/pull/2434) - the default database when running `zetacored init` is now pebbledb
* [2481](https://github.com/zeta-chain/node/pull/2481) - increase gas limit inbound and outbound vote message to 500k

### CI

Expand Down
4 changes: 2 additions & 2 deletions zetaclient/zetacore/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const (
PostGasPriceGasLimit = 1_500_000

// PostVoteInboundGasLimit is the gas limit for voting on observed inbound tx (for zetachain itself)
PostVoteInboundGasLimit = 400_000
PostVoteInboundGasLimit = 500_000

// PostVoteInboundExecutionGasLimit is the gas limit for voting on observed inbound tx and executing it
PostVoteInboundExecutionGasLimit = 4_000_000
Expand All @@ -37,7 +37,7 @@ const (
DefaultRetryInterval = 5

// PostVoteOutboundGasLimit is the gas limit for voting on observed outbound tx (for zetachain itself)
PostVoteOutboundGasLimit = 400_000
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
Expand Down

0 comments on commit 7823f24

Please sign in to comment.