Skip to content

Commit

Permalink
fix(zetaclient): increase gas limit for TSS vote (#2894)
Browse files Browse the repository at this point in the history
* initialize liq cap for newly deployed erc20

* increase post gas limit for TX to post TSS to zetacore

* add changelog
  • Loading branch information
kingpinXD authored Sep 18, 2024
1 parent 8d17118 commit ecb328e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

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

0 comments on commit ecb328e

Please sign in to comment.