Skip to content

Commit

Permalink
Merge pull request #14 from bgd-labs/fix/extra-migration-tests
Browse files Browse the repository at this point in the history
fix: migration extra tests
  • Loading branch information
sendra authored Dec 18, 2023
2 parents 964740e + 355c323 commit 886c591
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions tests/governance_V2_5/Governance_V3.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}
}

0 comments on commit 886c591

Please sign in to comment.