Skip to content

Commit

Permalink
Extreme Tests broker.init
Browse files Browse the repository at this point in the history
  • Loading branch information
akshatmittal committed Aug 2, 2023
1 parent ed8e32d commit cd14ff4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/integration/EasyAuction.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -715,10 +715,14 @@ describeFork(`Gnosis EasyAuction Mainnet Forking - P${IMPLEMENTATION}`, function
const CollFactory = await ethers.getContractFactory('FiatCollateral')
const MainFactory = await ethers.getContractFactory('MainP0')
const BrokerFactory = await ethers.getContractFactory('BrokerP0')
const GnosisTradeFactory = await ethers.getContractFactory('GnosisTrade')
const DutchTradeFactory = await ethers.getContractFactory('DutchTrade')

// Deployments
const main = await MainFactory.deploy()
const broker = await BrokerFactory.deploy()
const gnosisTradeImpl = await GnosisTradeFactory.deploy()
const dutchTradeImpl = await DutchTradeFactory.deploy()
await main.init(
{
rToken: ONE_ADDRESS,
Expand All @@ -743,9 +747,9 @@ describeFork(`Gnosis EasyAuction Mainnet Forking - P${IMPLEMENTATION}`, function
await broker.init(
main.address,
easyAuction.address,
ONE_ADDRESS,
gnosisTradeImpl.address,
config.batchAuctionLength,
ONE_ADDRESS,
dutchTradeImpl.address,
config.dutchAuctionLength
)
const sellTok = await ERC20Factory.deploy('Sell Token', 'SELL', sellTokDecimals)
Expand Down

0 comments on commit cd14ff4

Please sign in to comment.