Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Nov 22, 2024
1 parent 5f13764 commit 44049ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion e2e/e2etests/test_erc20_deposit_refund.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package e2etests

import (
"errors"
"math/big"

"github.com/ethereum/go-ethereum/accounts/abi/bind"
ethcommon "github.com/ethereum/go-ethereum/common"
"github.com/stretchr/testify/require"
"math/big"

"github.com/zeta-chain/node/e2e/runner"
"github.com/zeta-chain/node/e2e/utils"
Expand Down
4 changes: 2 additions & 2 deletions e2e/runner/liquidity.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (r *E2ERunner) AddLiquidityETH(amountZETA, amountETH *big.Int) {

receipt := utils.MustWaitForTxReceipt(r.Ctx, r.ZEVMClient, tx, r.Logger, r.ReceiptTimeout)
if receipt.Status == types.ReceiptStatusFailed {
r.Logger.Error("Add liquidity failed: %s", receipt.Logs)
r.Logger.Error("Add liquidity failed for ZETA/ETH")
}

// get the pair address
Expand Down Expand Up @@ -75,7 +75,7 @@ func (r *E2ERunner) AddLiquidityERC20(amountZETA, amountERC20 *big.Int) {

receipt := utils.MustWaitForTxReceipt(r.Ctx, r.ZEVMClient, tx, r.Logger, r.ReceiptTimeout)
if receipt.Status == types.ReceiptStatusFailed {
r.Logger.Error("Add liquidity failed: %s", receipt.Logs)
r.Logger.Error("Add liquidity failed for ZETA/ERC20")
}

// get the pair address
Expand Down

0 comments on commit 44049ed

Please sign in to comment.