Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Nov 12, 2024
1 parent ae965a0 commit a80a784
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion e2e/e2etests/test_spl_withdraw.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ func TestSPLWithdraw(r *runner.E2ERunner, args []string) {
r.Logger.Info("receiver balance of SPL after withdraw: %s", receiverBalanceAfter.Value.Amount)

// verify amount is added to receiver ata
require.EqualValues(r, new(big.Int).Add(withdrawAmount, parseBigInt(r, receiverBalanceBefore.Value.Amount)).String(), parseBigInt(r, receiverBalanceAfter.Value.Amount).String())
require.EqualValues(
r,
new(big.Int).Add(withdrawAmount, parseBigInt(r, receiverBalanceBefore.Value.Amount)).String(),
parseBigInt(r, receiverBalanceAfter.Value.Amount).String(),
)

// verify amount is subtracted on zrc20
require.EqualValues(r, new(big.Int).Sub(zrc20BalanceBefore, withdrawAmount).String(), zrc20BalanceAfter.String())
Expand Down
2 changes: 1 addition & 1 deletion e2e/runner/solana.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"time"

ethcommon "github.com/ethereum/go-ethereum/common"
ethtypes "github.com/ethereum/go-ethereum/core/types"
"github.com/gagliardetto/solana-go"
associatedtokenaccount "github.com/gagliardetto/solana-go/programs/associated-token-account"
"github.com/gagliardetto/solana-go/programs/system"
Expand All @@ -13,7 +14,6 @@ import (
"github.com/near/borsh-go"
"github.com/stretchr/testify/require"

ethtypes "github.com/ethereum/go-ethereum/core/types"
"github.com/zeta-chain/node/e2e/utils"
solanacontract "github.com/zeta-chain/node/pkg/contracts/solana"
)
Expand Down

0 comments on commit a80a784

Please sign in to comment.