diff --git a/changelog.md b/changelog.md index a94409e383..1ecd4cdaa7 100644 --- a/changelog.md +++ b/changelog.md @@ -27,6 +27,7 @@ * [2867](https://github.com/zeta-chain/node/pull/2867) - skip precompiles test for tss migration * [2833](https://github.com/zeta-chain/node/pull/2833) - add e2e framework for TON blockchain * [2874](https://github.com/zeta-chain/node/pull/2874) - add support for multiple runs for precompile tests +* [2894](https://github.com/zeta-chain/node/pull/2894) - increase gas limit for TSS vote tx ### Fixes diff --git a/zetaclient/zetacore/client_vote.go b/zetaclient/zetacore/client_vote.go index 9dcea8c2aa..a6eec263c4 100644 --- a/zetaclient/zetacore/client_vote.go +++ b/zetaclient/zetacore/client_vote.go @@ -89,7 +89,7 @@ func (c *Client) PostVoteTSS( } zetaTxHash, err := retry.DoTypedWithRetry(func() (string, error) { - return c.Broadcast(ctx, DefaultGasLimit, authzMsg, authzSigner) + return c.Broadcast(ctx, PostTSSGasLimit, authzMsg, authzSigner) }) if err != nil { diff --git a/zetaclient/zetacore/constant.go b/zetaclient/zetacore/constant.go index e7343206ee..a068db9a8b 100644 --- a/zetaclient/zetacore/constant.go +++ b/zetaclient/zetacore/constant.go @@ -15,6 +15,9 @@ const ( // PostVoteInboundGasLimit is the gas limit for voting on observed inbound tx (for zetachain itself) PostVoteInboundGasLimit = 500_000 + // PostTSSGasLimit is the gas limit for voting on TSS keygen + PostTSSGasLimit = 500_000 + // PostVoteInboundExecutionGasLimit is the gas limit for voting on observed inbound tx and executing it PostVoteInboundExecutionGasLimit = 6_500_000