Skip to content

Commit

Permalink
Merge pull request #1489 from privacy-scaling-explorations/chore/cleanup
Browse files Browse the repository at this point in the history
chore(cleanup): remove references to topup
  • Loading branch information
ctrlc03 authored May 22, 2024
2 parents 2b858e1 + 1cda690 commit 8f8d6fd
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions circuits/circom/core/non-qv/processMessages.circom
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,6 @@ include "../../trees/incrementalQuinaryTree.circom";
// Define vote type message processors.
var computedNewVoteStateRoot[batchSize];
var computedNewVoteBallotRoot[batchSize];
// Define topup type message processors.
var computedNewTopupStateRoot[batchSize];

// Start from batchSize and decrement for process in reverse order.
for (var i = batchSize - 1; i >= 0; i--) {
Expand Down
2 changes: 0 additions & 2 deletions circuits/circom/core/qv/processMessages.circom
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,6 @@ template ProcessMessages(
// Define vote type message processors.
var computedNewVoteStateRoot[batchSize];
var computedNewVoteBallotRoot[batchSize];
// Define topup type message processors.
var computedNewTopupStateRoot[batchSize];

// Start from batchSize and decrement for process in reverse order.
for (var i = batchSize - 1; i >= 0; i--) {
Expand Down
2 changes: 1 addition & 1 deletion contracts/contracts/Poll.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { CurveBabyJubJub } from "./crypto/BabyJubJub.sol";

/// @title Poll
/// @notice A Poll contract allows voters to submit encrypted messages
/// which can be either votes, key change messages or topup messages.
/// which can be either votes or key change messages.
/// @dev Do not deploy this directly. Use PollFactory.deploy() which performs some
/// checks on the Poll constructor arguments.
contract Poll is Params, Utilities, SnarkCommon, EmptyBallotRoots, IPoll {
Expand Down
1 change: 0 additions & 1 deletion contracts/tasks/helpers/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,6 @@ export enum EContracts {
EASGatekeeper = "EASGatekeeper",
GitcoinPassportGatekeeper = "GitcoinPassportGatekeeper",
Verifier = "Verifier",
TopupCredit = "TopupCredit",
MACI = "MACI",
StateAq = "StateAq",
PollFactory = "PollFactory",
Expand Down

0 comments on commit 8f8d6fd

Please sign in to comment.