updated-test

This commit is contained in:
bhavik 2021-12-12 15:45:25 +05:30
parent a5bb2e6a5a
commit 128b076c94

View File

@ -78,6 +78,10 @@ describe("ZeroEx", function() {
expect(await ethers.provider.getBalance(dsaWallet0.address)).to.be.gte(
ethers.utils.parseEther("10")
);
const idai = await ethers.getContractAt(
er20abi,
"0x6b175474e89094c44da98b954eedeac495271d0f" // dai address
);
});
});
@ -165,9 +169,6 @@ describe("ZeroEx", function() {
"0x6b175474e89094c44da98b954eedeac495271d0f" // dai address
);
expect(await idai.balanceOf(dsaWallet0.address)).to.be.gte(
buyTokenAmount
);
expect(await ethers.provider.getBalance(dsaWallet0.address)).to.be.lte(
ethers.utils.parseEther("9")
);