Skip to content

Commit

Permalink
increase erc20 values
Browse files Browse the repository at this point in the history
  • Loading branch information
lumtis committed Nov 22, 2024
1 parent e9e88db commit c511620
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/zetae2e/local/erc20.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func erc20TestRoutine(
startTime := time.Now()

// funding the account
txERC20Send := deployerRunner.SendERC20OnEvm(account.EVMAddress(), 10)
txERC20Send := deployerRunner.SendERC20OnEvm(account.EVMAddress(), 10000)
erc20Runner.WaitForTxReceiptOnEvm(txERC20Send)

// depositing the necessary tokens on ZetaChain
Expand Down
3 changes: 2 additions & 1 deletion e2e/runner/evm.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ func (r *E2ERunner) SendERC20OnEvm(address ethcommon.Address, amountERC20 int64)
func (r *E2ERunner) DepositERC20() ethcommon.Hash {
r.Logger.Print("⏳ depositing ERC20 into ZEVM")

return r.DepositERC20WithAmountAndMessage(r.EVMAddress(), big.NewInt(1e18), []byte{})
oneHundred := big.NewInt(0).Mul(big.NewInt(1e18), big.NewInt(100))
return r.DepositERC20WithAmountAndMessage(r.EVMAddress(), oneHundred, []byte{})
}

func (r *E2ERunner) DepositERC20WithAmountAndMessage(to ethcommon.Address, amount *big.Int, msg []byte) ethcommon.Hash {
Expand Down

0 comments on commit c511620

Please sign in to comment.