From 84df3cae522ef94b76021a5a47131e747c5a4eb1 Mon Sep 17 00:00:00 2001 From: Dmitry Date: Thu, 27 Jun 2024 19:44:40 +0200 Subject: [PATCH] Revive gas override --- zetaclient/chains/evm/signer/signer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zetaclient/chains/evm/signer/signer.go b/zetaclient/chains/evm/signer/signer.go index d183a2784d..17a2430e60 100644 --- a/zetaclient/chains/evm/signer/signer.go +++ b/zetaclient/chains/evm/signer/signer.go @@ -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, @@ -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,