From 44049ed814d9db05e1b85b0377e7f3b7addddcbd Mon Sep 17 00:00:00 2001 From: lumtis Date: Fri, 22 Nov 2024 15:00:05 +0100 Subject: [PATCH] lint --- e2e/e2etests/test_erc20_deposit_refund.go | 3 ++- e2e/runner/liquidity.go | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/e2e/e2etests/test_erc20_deposit_refund.go b/e2e/e2etests/test_erc20_deposit_refund.go index 6823799c38..42584600cc 100644 --- a/e2e/e2etests/test_erc20_deposit_refund.go +++ b/e2e/e2etests/test_erc20_deposit_refund.go @@ -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" diff --git a/e2e/runner/liquidity.go b/e2e/runner/liquidity.go index 5f51a9fa3c..43f32b4148 100644 --- a/e2e/runner/liquidity.go +++ b/e2e/runner/liquidity.go @@ -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 @@ -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