Skip to content

Commit

Permalink
tests: update V3 tests to use upgraded auction house
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrai committed Oct 10, 2023
1 parent 30cd0bb commit ee6c04a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit ee6c04a

Please sign in to comment.