From ee6c04a950e8831f434735a708be12a3ed314790 Mon Sep 17 00:00:00 2001 From: davidbrai Date: Tue, 10 Oct 2023 11:44:25 +0000 Subject: [PATCH] tests: update V3 tests to use upgraded auction house --- .../nouns-contracts/test/foundry/helpers/DeployUtilsV3.sol | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/nouns-contracts/test/foundry/helpers/DeployUtilsV3.sol b/packages/nouns-contracts/test/foundry/helpers/DeployUtilsV3.sol index 0c2176d682..45c8d60703 100644 --- a/packages/nouns-contracts/test/foundry/helpers/DeployUtilsV3.sol +++ b/packages/nouns-contracts/test/foundry/helpers/DeployUtilsV3.sol @@ -20,6 +20,7 @@ import { NounsTokenFork } from '../../../contracts/governance/fork/newdao/token/ import { NounsAuctionHouseFork } from '../../../contracts/governance/fork/newdao/NounsAuctionHouseFork.sol'; import { NounsDAOLogicV1Fork } from '../../../contracts/governance/fork/newdao/governance/NounsDAOLogicV1Fork.sol'; import { NounsDAOStorageV3 } from '../../../contracts/governance/NounsDAOInterfaces.sol'; +import { AuctionHouseUpgrader } from './AuctionHouseUpgrader.sol'; abstract contract DeployUtilsV3 is DeployUtils { function _createDAOV3Proxy( @@ -133,6 +134,9 @@ abstract contract DeployUtilsV3 is DeployUtils { vm.prank(address(timelock)); NounsAuctionHouse(address(auctionProxy)).initialize(nounsToken, makeAddr('weth'), 2, 0, 1, 10 minutes); + vm.prank(address(timelock)); + AuctionHouseUpgrader.upgradeAuctionHouse(address(timelock), auctionAdmin, auctionProxy); + vm.prank(address(timelock)); timelock.setPendingAdmin(address(dao)); vm.prank(address(dao));