diff --git a/.solcover.ts b/.solcover.ts index d59dfcf..9bbbf81 100644 --- a/.solcover.ts +++ b/.solcover.ts @@ -1,4 +1,4 @@ module.exports = { - skipFiles: [], + skipFiles: ["mock/"], configureYulOptimizer: true, }; diff --git a/contracts/state/ProposalsState.sol b/contracts/state/ProposalsState.sol index 0940465..3d0f185 100644 --- a/contracts/state/ProposalsState.sol +++ b/contracts/state/ProposalsState.sol @@ -75,7 +75,7 @@ contract ProposalsState is OwnableUpgradeable, TSSUpgradeable { event ProposalCreated(uint256 indexed proposalId, address proposalSMT); event ProposalConfigChanged(uint256 indexed proposalId); event ProposalHidden(uint256 indexed proposalId, bool hide); - event VoteCast(uint256 indexed proposalId, uint256 userNullifier, uint256[] vote); + event VoteCast(uint256 indexed proposalId, uint256 indexed userNullifier, uint256[] vote); modifier onlyVoting() { _onlyVoting();