Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(zetaclient): increase gas limit inbound and outbound vote message to 500k #2481

Merged
merged 3 commits into from
Jul 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,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
* [2388](https://github.com/zeta-chain/node/pull/2388) - added GitHub attestations of binaries produced in the release workflow.
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
Loading