Skip to content

Commit

Permalink
deposit eth in context owner
Browse files Browse the repository at this point in the history
  • Loading branch information
juan518munoz committed Jan 26, 2024
1 parent a499871 commit 879c799
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions core/tests/ts-integration/src/context-owner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,12 @@ export class TestContextOwner {
// we have to correctly send nonce.
const depositHandle = this.mainSyncWallet
.deposit({
to: this.mainEthersWallet.address,
approveERC20: true,
token: this.env.erc20Token.l1Address,
token: zksync.utils.ETH_ADDRESS,
amount: l2ETHAmountToDeposit,
refundRecipient: this.mainEthersWallet.address
overrides: {
nonce: nonce++,
gasPrice
}
})
.then((tx) => {
const amount = ethers.utils.formatEther(l2ETHAmountToDeposit);
Expand Down

0 comments on commit 879c799

Please sign in to comment.