Skip to content

Commit

Permalink
test: add wonder votes unit tests
Browse files Browse the repository at this point in the history
Signed-off-by: 0xRaccoon <[email protected]>
  • Loading branch information
0xRaccoon committed Dec 22, 2023
1 parent 6414e1a commit 681175b
Show file tree
Hide file tree
Showing 2 changed files with 618 additions and 1 deletion.
2 changes: 1 addition & 1 deletion solidity/examples/AliceGovernor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import 'contracts/governance/utils/WonderVotes.sol';
contract AliceGovernor is WonderGovernor {
WonderVotes public votes;
string internal _countingMode = 'support=bravo&quorum=bravo';
uint8[] internal __proposalTypes = [1, 2, 3];
uint8[] internal __proposalTypes = [0, 1, 2, 3];

mapping(uint256 proposalId => mapping(address => BallotReceipt)) public receipts;
mapping(uint256 proposalId => ProposalTrack) public proposalTracks;
Expand Down
Loading

0 comments on commit 681175b

Please sign in to comment.