minor change

This commit is contained in:
Richa-iitr 2022-09-06 13:59:18 +05:30
parent 418c255fe0
commit e27d41d309

View File

@ -325,8 +325,7 @@ describe("Compound III Rewards", function () {
signer: masterSigner, signer: masterSigner,
connectors: instaConnectorsV2 connectors: instaConnectorsV2
}); });
const amount = ethers.utils.parseUnits("400", 6); // 1 ETH const amount = ethers.utils.parseUnits("400", 6);
console.log(new BigNumber(await baseContract.connect(signer).balanceOf(dsaWallet0.address)).toFixed(0));
const spells = [ const spells = [
{ {
connector: "COMPOUND-V3-TEST-A", connector: "COMPOUND-V3-TEST-A",
@ -351,7 +350,7 @@ describe("Compound III Rewards", function () {
let rewardInterface = new ethers.Contract(reward, ABI); let rewardInterface = new ethers.Contract(reward, ABI);
let owed_ = await cometReward.connect(signer).callStatic.getRewardOwed(market, dsaWallet0.address); let owed_ = await cometReward.connect(signer).callStatic.getRewardOwed(market, dsaWallet0.address);
let amt: number = owed_.owed; let amt: number = owed_.owed;
console.log(amt); console.log(new BigNumber(amt).toFixed(0));
const spells = [ const spells = [
{ {
connector: connector_, connector: connector_,