From 355c323776b1525bfd03925cc359ed3761f55f57 Mon Sep 17 00:00:00 2001 From: sendra Date: Thu, 23 Nov 2023 11:48:46 +0100 Subject: [PATCH] fix: migration extra tests --- tests/governance_V2_5/Governance_V3.t.sol | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/tests/governance_V2_5/Governance_V3.t.sol b/tests/governance_V2_5/Governance_V3.t.sol index 91fe393..b937eb9 100644 --- a/tests/governance_V2_5/Governance_V3.t.sol +++ b/tests/governance_V2_5/Governance_V3.t.sol @@ -97,5 +97,24 @@ contract Governance_V3_Test is Test { assertEq(votingConfigLvl2.yesThreshold, 1_400_000); assertEq(votingConfigLvl2.yesNoDifferential, 1_400_000); assertEq(votingConfigLvl2.minPropositionPower, 80_000); + + assertEq( + GovernanceV3Ethereum.GOVERNANCE.isVotingPortalApproved( + GovernanceV3Ethereum.VOTING_PORTAL_ETH_ETH + ), + true + ); + assertEq( + GovernanceV3Ethereum.GOVERNANCE.isVotingPortalApproved( + GovernanceV3Ethereum.VOTING_PORTAL_ETH_AVAX + ), + true + ); + assertEq( + GovernanceV3Ethereum.GOVERNANCE.isVotingPortalApproved( + GovernanceV3Ethereum.VOTING_PORTAL_ETH_POL + ), + true + ); } }