Skip to content

Commit

Permalink
Revive gas override
Browse files Browse the repository at this point in the history
  • Loading branch information
swift1337 committed Jun 27, 2024
1 parent 250fbd4 commit 84df3ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zetaclient/chains/evm/signer/signer.go
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ func (s *Signer) SignRevertTx(txData *OutboundData) (*ethtypes.Transaction, erro

// SignCancelTx signs a transaction from TSS address to itself with a zero amount in order to increment the nonce
func (s *Signer) SignCancelTx(txData *OutboundData) (*ethtypes.Transaction, error) {
// todo LIMIT=evm.EthTransferGasLimit
txData.gas.Limit = evm.EthTransferGasLimit

tx, _, _, err := s.Sign(
nil,
Expand All @@ -335,7 +335,7 @@ func (s *Signer) SignCancelTx(txData *OutboundData) (*ethtypes.Transaction, erro

// SignWithdrawTx signs a withdrawal transaction sent from the TSS address to the destination
func (s *Signer) SignWithdrawTx(txData *OutboundData) (*ethtypes.Transaction, error) {
// todo LIMIT=evm.EthTransferGasLimit
txData.gas.Limit = evm.EthTransferGasLimit

tx, _, _, err := s.Sign(
nil,
Expand Down

0 comments on commit 84df3ca

Please sign in to comment.