Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
skosito committed Dec 16, 2024
1 parent 9ed6b3c commit ad7d66a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
4 changes: 2 additions & 2 deletions e2e/e2etests/test_stress_solana_deposit.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import (
func TestStressSolanaDeposit(r *runner.E2ERunner, args []string) {
require.Len(r, args, 2)

depositSOLAmount := utils.ParseBigInt(r, args[0])
numDepositsSOL := utils.ParseInt(r, args[1])
depositSOLAmount := parseBigInt(r, args[0])
numDepositsSOL := parseInt(r, args[1])

r.Logger.Print("starting stress test of %d SOL deposits", numDepositsSOL)

Expand Down
4 changes: 2 additions & 2 deletions e2e/e2etests/test_stress_solana_withdraw.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
func TestStressSolanaWithdraw(r *runner.E2ERunner, args []string) {
require.Len(r, args, 2)

withdrawSOLAmount := utils.ParseBigInt(r, args[0])
numWithdrawalsSOL := utils.ParseInt(r, args[1])
withdrawSOLAmount := parseBigInt(r, args[0])
numWithdrawalsSOL := parseInt(r, args[1])

// load deployer private key
privKey := r.GetSolanaPrivKey()
Expand Down
5 changes: 2 additions & 3 deletions e2e/e2etests/test_stress_spl_deposit.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ import (
"golang.org/x/sync/errgroup"

"github.com/zeta-chain/node/e2e/runner"
"github.com/zeta-chain/node/e2e/utils"
)

// TestStressSPLDeposit tests the stressing deposit of SPL
func TestStressSPLDeposit(r *runner.E2ERunner, args []string) {
require.Len(r, args, 2)

depositSPLAmount := utils.ParseBigInt(r, args[0])
numDepositsSPL := utils.ParseInt(r, args[1])
depositSPLAmount := parseBigInt(r, args[0])
numDepositsSPL := parseInt(r, args[1])

// load deployer private key
privKey := r.GetSolanaPrivKey()
Expand Down
4 changes: 2 additions & 2 deletions e2e/e2etests/test_stress_spl_withdraw.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import (
func TestStressSPLWithdraw(r *runner.E2ERunner, args []string) {
require.Len(r, args, 2)

withdrawSPLAmount := utils.ParseBigInt(r, args[0])
numWithdrawalsSPL := utils.ParseInt(r, args[1])
withdrawSPLAmount := parseBigInt(r, args[0])
numWithdrawalsSPL := parseInt(r, args[1])

// load deployer private key
privKey := r.GetSolanaPrivKey()
Expand Down

0 comments on commit ad7d66a

Please sign in to comment.