Skip to content

Commit

Permalink
chore(release): publish 1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Crisgarner committed Jun 12, 2024
1 parent 471b039 commit 4ab13a2
Show file tree
Hide file tree
Showing 22 changed files with 143 additions and 65 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.2.5](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.4...v1.2.5) (2024-06-12)

**Note:** Version bump only for package maci





## [1.2.4](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.3...v1.2.4) (2024-06-06)

**Note:** Version bump only for package maci
Expand Down
8 changes: 8 additions & 0 deletions circuits/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.2.5](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.4...v1.2.5) (2024-06-12)

**Note:** Version bump only for package maci-circuits





## [1.2.4](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.3...v1.2.4) (2024-06-06)

**Note:** Version bump only for package maci-circuits
Expand Down
8 changes: 4 additions & 4 deletions circuits/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "maci-circuits",
"version": "1.2.4",
"version": "1.2.5",
"description": "zk-SNARK circuits for MACI",
"main": "build/ts/index.js",
"files": [
Expand Down Expand Up @@ -38,9 +38,9 @@
"@zk-kit/circuits": "^0.4.0",
"circomkit": "^0.1.0",
"circomlib": "^2.0.5",
"maci-core": "^1.2.4",
"maci-crypto": "^1.2.4",
"maci-domainobjs": "^1.2.4",
"maci-core": "^1.2.5",
"maci-crypto": "^1.2.5",
"maci-domainobjs": "^1.2.5",
"snarkjs": "^0.7.4"
},
"devDependencies": {
Expand Down
8 changes: 8 additions & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.2.5](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.4...v1.2.5) (2024-06-12)

**Note:** Version bump only for package maci-cli





## [1.2.4](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.3...v1.2.4) (2024-06-06)

**Note:** Version bump only for package maci-cli
Expand Down
12 changes: 6 additions & 6 deletions cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "maci-cli",
"version": "1.2.4",
"version": "1.2.5",
"description": "CLI utilities for MACI",
"main": "build/ts/index.js",
"exports": {
Expand Down Expand Up @@ -48,11 +48,11 @@
"dotenv": "^16.4.5",
"ethers": "^6.12.0",
"hardhat": "^2.22.3",
"maci-circuits": "^1.2.4",
"maci-contracts": "^1.2.4",
"maci-core": "^1.2.4",
"maci-crypto": "^1.2.4",
"maci-domainobjs": "^1.2.4",
"maci-circuits": "^1.2.5",
"maci-contracts": "^1.2.5",
"maci-core": "^1.2.5",
"maci-crypto": "^1.2.5",
"maci-domainobjs": "^1.2.5",
"prompt": "^1.3.0"
},
"devDependencies": {
Expand Down
8 changes: 3 additions & 5 deletions cli/ts/commands/signup.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { type ContractTransactionReceipt, isBytesLike } from "ethers";
import { MACI__factory as MACIFactory } from "maci-contracts/typechain-types";
import { PubKey } from "maci-domainobjs";

import type { IParseSignupEventsArgs, IRegisteredUserArgs, ISignupData, SignupArgs } from "../utils/interfaces";
import type { ContractTransactionReceipt } from "ethers";

import { banner } from "../utils/banner";
import { contractExists } from "../utils/contracts";
Expand Down Expand Up @@ -38,14 +38,12 @@ export const signup = async ({
const sgData = sgDataArg || DEFAULT_SG_DATA;
const ivcpData = ivcpDataArg || DEFAULT_IVCP_DATA;

const regex32ByteHex = /^0x[a-fA-F0-9]{64}$/;

// we validate that the signup data and voice credit data is valid
if (!sgData.match(regex32ByteHex)) {
if (!isBytesLike(sgData)) {
logError("invalid signup gateway data");
}

if (!ivcpData.match(regex32ByteHex)) {
if (!isBytesLike(ivcpData)) {
logError("invalid initial voice credit proxy data");
}

Expand Down
8 changes: 8 additions & 0 deletions contracts/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.2.5](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.4...v1.2.5) (2024-06-12)

**Note:** Version bump only for package maci-contracts





## [1.2.4](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.3...v1.2.4) (2024-06-06)

**Note:** Version bump only for package maci-contracts
Expand Down
10 changes: 5 additions & 5 deletions contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "maci-contracts",
"version": "1.2.4",
"version": "1.2.5",
"description": "Solidity Smart Contracts for MACI (Minimal Anti-Collusion Infrastructure)",
"main": "build/ts/index.js",
"exports": {
Expand Down Expand Up @@ -77,10 +77,10 @@
"ethers": "^6.12.0",
"hardhat": "^2.22.3",
"lowdb": "^1.0.0",
"maci-circuits": "^1.2.4",
"maci-core": "^1.2.4",
"maci-crypto": "^1.2.4",
"maci-domainobjs": "^1.2.4",
"maci-circuits": "^1.2.5",
"maci-core": "^1.2.5",
"maci-crypto": "^1.2.5",
"maci-domainobjs": "^1.2.5",
"solidity-docgen": "^0.6.0-beta.36",
"uuid": "^9.0.0"
},
Expand Down
8 changes: 8 additions & 0 deletions coordinator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.2.5](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.4...v1.2.5) (2024-06-12)

**Note:** Version bump only for package maci-coordinator





## [1.2.4](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.3...v1.2.4) (2024-06-06)

**Note:** Version bump only for package maci-coordinator
Expand Down
10 changes: 5 additions & 5 deletions coordinator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "maci-coordinator",
"version": "1.2.4",
"version": "1.2.5",
"private": true,
"description": "Coordinator service for MACI",
"main": "build/ts/main.js",
Expand Down Expand Up @@ -28,10 +28,10 @@
"ethers": "^6.12.0",
"hardhat": "^2.22.3",
"helmet": "^7.1.0",
"maci-circuits": "^1.2.4",
"maci-cli": "^1.2.4",
"maci-contracts": "^1.2.4",
"maci-domainobjs": "^1.2.4",
"maci-circuits": "^1.2.5",
"maci-cli": "^1.2.5",
"maci-contracts": "^1.2.5",
"maci-domainobjs": "^1.2.5",
"reflect-metadata": "^0.2.0",
"rxjs": "^7.8.1"
},
Expand Down
8 changes: 8 additions & 0 deletions core/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.2.5](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.4...v1.2.5) (2024-06-12)

**Note:** Version bump only for package maci-core





## [1.2.4](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.3...v1.2.4) (2024-06-06)

**Note:** Version bump only for package maci-core
Expand Down
6 changes: 3 additions & 3 deletions core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "maci-core",
"version": "1.2.4",
"version": "1.2.5",
"description": "",
"main": "build/ts/index.js",
"types": "build/ts/index.d.ts",
Expand All @@ -22,8 +22,8 @@
"docs": "typedoc --plugin typedoc-plugin-markdown --options ./typedoc.json"
},
"dependencies": {
"maci-crypto": "^1.2.4",
"maci-domainobjs": "^1.2.4"
"maci-crypto": "^1.2.5",
"maci-domainobjs": "^1.2.5"
},
"devDependencies": {
"@types/chai": "^4.3.11",
Expand Down
8 changes: 8 additions & 0 deletions crypto/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.2.5](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.4...v1.2.5) (2024-06-12)

**Note:** Version bump only for package maci-crypto





## [1.2.4](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.3...v1.2.4) (2024-06-06)

**Note:** Version bump only for package maci-crypto
Expand Down
2 changes: 1 addition & 1 deletion crypto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "maci-crypto",
"version": "1.2.4",
"version": "1.2.5",
"description": "A package containing cryptography utilities for MACI",
"main": "build/ts/index.js",
"files": [
Expand Down
8 changes: 8 additions & 0 deletions domainobjs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.2.5](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.4...v1.2.5) (2024-06-12)

**Note:** Version bump only for package maci-domainobjs





## [1.2.4](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.3...v1.2.4) (2024-06-06)

**Note:** Version bump only for package maci-domainobjs
Expand Down
4 changes: 2 additions & 2 deletions domainobjs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "maci-domainobjs",
"version": "1.2.4",
"version": "1.2.5",
"description": "",
"main": "build/ts/index.js",
"files": [
Expand All @@ -25,7 +25,7 @@
"ts-mocha": "^10.0.0"
},
"dependencies": {
"maci-crypto": "^1.2.4"
"maci-crypto": "^1.2.5"
},
"nyc": {
"reporter": [
Expand Down
8 changes: 8 additions & 0 deletions integrationTests/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.2.5](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.4...v1.2.5) (2024-06-12)

**Note:** Version bump only for package maci-integrationtests





## [1.2.4](https://github.com/privacy-scaling-explorations/maci/compare/v1.2.3...v1.2.4) (2024-06-06)

**Note:** Version bump only for package maci-integrationtests
Expand Down
14 changes: 7 additions & 7 deletions integrationTests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "maci-integrationtests",
"version": "1.2.4",
"version": "1.2.5",
"description": "",
"main": "build/ts/index.js",
"files": [
Expand Down Expand Up @@ -34,11 +34,11 @@
"dependencies": {
"@nomicfoundation/hardhat-toolbox": "^5.0.0",
"ethers": "^6.12.0",
"maci-circuits": "^1.2.4",
"maci-cli": "^1.2.4",
"maci-contracts": "^1.2.4",
"maci-core": "^1.2.4",
"maci-crypto": "^1.2.4",
"maci-domainobjs": "^1.2.4"
"maci-circuits": "^1.2.5",
"maci-cli": "^1.2.5",
"maci-contracts": "^1.2.5",
"maci-core": "^1.2.5",
"maci-crypto": "^1.2.5",
"maci-domainobjs": "^1.2.5"
}
}
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"website",
"coordinator"
],
"version": "1.2.4",
"version": "1.2.5",
"npmClient": "pnpm",
"changelogPreset": {
"name": "conventionalcommits",
Expand Down
Loading

0 comments on commit 4ab13a2

Please sign in to comment.