From 7823f24b6331600ade47cbf93c541ae20609c856 Mon Sep 17 00:00:00 2001 From: Lucas Bertrand Date: Mon, 15 Jul 2024 16:50:38 +0200 Subject: [PATCH] fix(`zetaclient`): increase gas limit inbound and outbound vote message to 500k (#2481) * refactor: increase gas limit inbound vote message to 500k * outbound * changelogs --- changelog.md | 1 + zetaclient/zetacore/constant.go | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 7921ca10de..4b3b98e0db 100644 --- a/changelog.md +++ b/changelog.md @@ -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 diff --git a/zetaclient/zetacore/constant.go b/zetaclient/zetacore/constant.go index e3ddafad78..a5a4e16829 100644 --- a/zetaclient/zetacore/constant.go +++ b/zetaclient/zetacore/constant.go @@ -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 @@ -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