Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
naddison36 committed Mar 16, 2021
1 parent b645be5 commit 3752aaf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/savings/savings-contract.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { expect } from "chai"
import { simpleToExactAmount, BN } from "@utils/math"
import { assertBNClose, assertBNClosePercent } from "@utils/assertions"
import { StandardAccounts, MassetDetails, MassetMachine, Account } from "@utils/machines"
import { fullScale, ZERO_ADDRESS, ZERO, MAX_UINT256, ONE_DAY, ONE_HOUR } from "@utils/constants"
import { fullScale, ZERO_ADDRESS, ZERO, MAX_UINT256, ONE_DAY, ONE_HOUR, DEAD_ADDRESS } from "@utils/constants"
import {
SavingsContract,
MockERC20__factory,
Expand Down Expand Up @@ -125,7 +125,7 @@ describe("SavingsContract", async () => {

const createNewSavingsContract = async (): Promise<void> => {
// Use a mock Nexus so we can dictate addresses
nexus = await (await new MockNexus__factory(sa.default.signer)).deploy(sa.governor.address, manager.address)
nexus = await (await new MockNexus__factory(sa.default.signer)).deploy(sa.governor.address, manager.address, DEAD_ADDRESS)
// Use a mock mAsset so we can dictate the interest generated
masset = await (await new MockMasset__factory(sa.default.signer)).deploy("MOCK", "MOCK", 18, sa.default.address, 1000000000)

Expand Down
2 changes: 1 addition & 1 deletion test/savings/savings-vault.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ describe("SavingsVault", async () => {
const lockedRewards = (total: BN): BN => total.div(5).mul(4)

const redeployRewards = async (priceCoefficient = priceCoeff): Promise<BoostedSavingsVault> => {
nexus = await (await new MockNexus__factory(sa.default.signer)).deploy(sa.governor.address, DEAD_ADDRESS)
nexus = await (await new MockNexus__factory(sa.default.signer)).deploy(sa.governor.address, DEAD_ADDRESS, DEAD_ADDRESS)
rewardToken = await (await new MockERC20__factory(sa.default.signer)).deploy(
"Reward",
"RWD",
Expand Down

0 comments on commit 3752aaf

Please sign in to comment.