This causes problems if user attempts to commit via the CLI and reveal or recommit via the dApp for example.
After committing via the CLI, I ran into this error on the dApp when attempting to query EncryptedVotes:

FYI: If user wants to re-commit via the dApp after comitting via the CLI, it suffices to block the dApp from querying old encrypted votes. You can change the fromBlock prop to the latest block in this line in voter-dapp/src/ActiveRequests.js:
const encryptedVoteEvents = useCacheEvents(
"Voting",
"EncryptedVote",
useMemo(() => ({ filter: { voter: votingAccount, roundId: currentRoundId }, fromBlock: 0 }), [
votingAccount,
currentRoundId
])
);
This causes problems if user attempts to commit via the CLI and reveal or recommit via the dApp for example.
After committing via the CLI, I ran into this error on the dApp when attempting to query
EncryptedVotes:FYI: If user wants to re-commit via the dApp after comitting via the CLI, it suffices to block the dApp from querying old encrypted votes. You can change the
fromBlockprop to the latest block in this line invoter-dapp/src/ActiveRequests.js: