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 for TSS vote #2894

Merged
merged 4 commits into from
Sep 18, 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 @@ -26,6 +26,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

Expand Down
2 changes: 1 addition & 1 deletion zetaclient/zetacore/client_vote.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
3 changes: 3 additions & 0 deletions zetaclient/zetacore/constant.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading