From d1a1375cea4b699873f8c00913097d5be6e4405c Mon Sep 17 00:00:00 2001 From: Rajath Alex Date: Fri, 8 Dec 2023 16:49:06 -0500 Subject: [PATCH] temporary fix --- ...heryTestSetup.t.sol => LlamaPeripheryTestSetup.sol} | 0 ...ngTestSetup.t.sol => LlamaTokenVotingTestSetup.sol} | 10 ++++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) rename test/{LlamaPeripheryTestSetup.t.sol => LlamaPeripheryTestSetup.sol} (100%) rename test/token-voting/{LlamaTokenVotingTestSetup.t.sol => LlamaTokenVotingTestSetup.sol} (93%) diff --git a/test/LlamaPeripheryTestSetup.t.sol b/test/LlamaPeripheryTestSetup.sol similarity index 100% rename from test/LlamaPeripheryTestSetup.t.sol rename to test/LlamaPeripheryTestSetup.sol diff --git a/test/token-voting/LlamaTokenVotingTestSetup.t.sol b/test/token-voting/LlamaTokenVotingTestSetup.sol similarity index 93% rename from test/token-voting/LlamaTokenVotingTestSetup.t.sol rename to test/token-voting/LlamaTokenVotingTestSetup.sol index b5dc9be..950e6db 100644 --- a/test/token-voting/LlamaTokenVotingTestSetup.t.sol +++ b/test/token-voting/LlamaTokenVotingTestSetup.sol @@ -79,7 +79,7 @@ contract LlamaTokenVotingTestSetup is LlamaPeripheryTestSetup, DeployLlamaTokenV function _deployERC20TokenVotingModule() internal returns (ERC20TokenholderActionCreator, ERC20TokenholderCaster) { vm.prank(address(EXECUTOR)); (address erc20TokenholderActionCreator, address erc20TokenholderCaster) = tokenVotingFactory.deployTokenVotingModule( - address(erc20VotesToken), true, ERC20_CREATION_THRESHOLD, ERC20_MIN_APPROVAL_PCT, ERC20_MIN_DISAPPROVAL_PCT + address(erc20VotesToken), true, 0, 0, ERC20_CREATION_THRESHOLD, ERC20_MIN_APPROVAL_PCT, ERC20_MIN_DISAPPROVAL_PCT ); return (ERC20TokenholderActionCreator(erc20TokenholderActionCreator), ERC20TokenholderCaster(erc20TokenholderCaster)); @@ -89,7 +89,13 @@ contract LlamaTokenVotingTestSetup is LlamaPeripheryTestSetup, DeployLlamaTokenV vm.prank(address(EXECUTOR)); (address erc721TokenholderActionCreator, address erc721TokenholderCaster) = tokenVotingFactory .deployTokenVotingModule( - address(erc721VotesToken), false, ERC721_CREATION_THRESHOLD, ERC721_MIN_APPROVAL_PCT, ERC721_MIN_DISAPPROVAL_PCT + address(erc721VotesToken), + false, + 0, + 0, + ERC721_CREATION_THRESHOLD, + ERC721_MIN_APPROVAL_PCT, + ERC721_MIN_DISAPPROVAL_PCT ); return (ERC721TokenholderActionCreator(erc721TokenholderActionCreator), ERC721TokenholderCaster(erc721TokenholderCaster));