Skip to content

Commit

Permalink
test: skip distributor state in post vote state (#362)
Browse files Browse the repository at this point in the history
  • Loading branch information
madlabman authored Oct 27, 2024
1 parent 856f0d3 commit 093a2a1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/fork/voting/StatePostVote.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ contract ContractsStateTest is Test, Utilities, DeploymentFixtures {
assertEq(accounting.getRoleMemberCount(accounting.RECOVERER_ROLE()), 0);
}

function test_feeDistirbutor_state() public {
function test_feeDistributor_state() public {
// The conditions below are true just after the vote, but can be broken afterward.
vm.skip(true);

assertEq(feeDistributor.totalClaimableShares(), 0);
assertEq(feeDistributor.pendingSharesToDistribute(), 0);
assertEq(feeDistributor.treeRoot(), bytes32(0));
Expand All @@ -136,7 +139,7 @@ contract ContractsStateTest is Test, Utilities, DeploymentFixtures {
);
}

function test_feeDistirbutor_roles() public {
function test_feeDistributor_roles() public {
assertTrue(
feeDistributor.hasRole(
feeDistributor.DEFAULT_ADMIN_ROLE(),
Expand Down

0 comments on commit 093a2a1

Please sign in to comment.