Skip to content

Commit

Permalink
up dependencies and recompile the verifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
backmeupplz committed Aug 3, 2022
1 parent 3549335 commit 0b79263
Show file tree
Hide file tree
Showing 7 changed files with 269 additions and 311 deletions.
6 changes: 3 additions & 3 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import * as dotenv from 'dotenv'
import { cleanEnv, str, testOnly } from 'envalid'
import { HardhatUserConfig } from 'hardhat/config'
import '@nomiclabs/hardhat-etherscan'
import '@nomiclabs/hardhat-waffle'
import '@typechain/hardhat'
import 'hardhat-gas-reporter'
import 'solidity-coverage'
import * as dotenv from 'dotenv'
import { ETH_RPC as FALLBACK_ETH_RPC } from '@big-whale-labs/constants'
import { HardhatUserConfig } from 'hardhat/config'
import { cleanEnv, str, testOnly } from 'envalid'

dotenv.config()

Expand Down
2 changes: 1 addition & 1 deletion inputs/input-balance.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"messageAddress":[48,120,98,102,55,52,52,56,51,68,66,57,49,52,49,57,50,98,98,48,97,57,53,55,55,102,51,100,56,70,98,50,57,97,54,100,52,99,48,56,101,69],"pubKeyXAddress":"4877328357478890623967823018480272757589824716691017530689013849938564609461","pubKeyYAddress":"19319156333180214350448676801453385628019589905553133160599925263402925020311","R8xAddress":"4677520192386416804963704338597519172003223772076188972505857784152427584708","R8yAddress":"14406396458018496497613935150682222860140520691729272542410460462597253078969","SAddress":"1315742568280436810592821099657746630251532633708787205158657373340001661022","MAddress":"13212816873189175504493684927098539753530031124875322194132256436282521565993","balance":"0x6b87c4e204970e6","threshold":"0x1","messageToken":[48,120,98,102,55,52,52,56,51,68,66,57,49,52,49,57,50,98,98,48,97,57,53,55,55,102,51,100,56,70,98,50,57,97,54,100,52,99,48,56,101,69,111,119,110,115,48,120,55,50,50,66,48,54,55,54,70,52,53,55,97,70,101,49,51,101,52,55,57,101,66,50,97,56,65,52,68,101,56,56,66,65,49,53,66,50,99,54,103],"pubKeyXToken":"4877328357478890623967823018480272757589824716691017530689013849938564609461","pubKeyYToken":"19319156333180214350448676801453385628019589905553133160599925263402925020311","R8xToken":"10378672807010021053752775560521565036084291032757638995106228305977964368983","R8yToken":"6250041159475330228917392943246508180909119552731282039666974587477562476404","SToken":"1779058063762819078226233234985670173128914491032484240909675976881746011625","MToken":"12456080624582143469089645829478564458865643630206539977874934953790857334143","r2":"0x59f0be2960231e2d9ad6bf116127e9c53f0338bbdcfcf60dbaf17b46654a6419","s2":"0x6778ef52f69106b66d8331a98a70fcfed9da6087635c249443be31509eda1f11"}
{"messageAddress":[48,120,98,102,55,52,52,56,51,68,66,57,49,52,49,57,50,98,98,48,97,57,53,55,55,102,51,100,56,70,98,50,57,97,54,100,52,99,48,56,101,69],"pubKeyXAddress":"4877328357478890623967823018480272757589824716691017530689013849938564609461","pubKeyYAddress":"19319156333180214350448676801453385628019589905553133160599925263402925020311","R8xAddress":"4677520192386416804963704338597519172003223772076188972505857784152427584708","R8yAddress":"14406396458018496497613935150682222860140520691729272542410460462597253078969","SAddress":"1315742568280436810592821099657746630251532633708787205158657373340001661022","MAddress":"13212816873189175504493684927098539753530031124875322194132256436282521565993","balance":"0x6b87c4e204970e6","threshold":"0x1","messageToken":[48,120,98,102,55,52,52,56,51,68,66,57,49,52,49,57,50,98,98,48,97,57,53,55,55,102,51,100,56,70,98,50,57,97,54,100,52,99,48,56,101,69,111,119,110,115,48,120,55,50,50,66,48,54,55,54,70,52,53,55,97,70,101,49,51,101,52,55,57,101,66,50,97,56,65,52,68,101,56,56,66,65,49,53,66,50,99,54,103],"pubKeyXToken":"4877328357478890623967823018480272757589824716691017530689013849938564609461","pubKeyYToken":"19319156333180214350448676801453385628019589905553133160599925263402925020311","R8xToken":"10378672807010021053752775560521565036084291032757638995106228305977964368983","R8yToken":"6250041159475330228917392943246508180909119552731282039666974587477562476404","SToken":"1779058063762819078226233234985670173128914491032484240909675976881746011625","MToken":"12456080624582143469089645829478564458865643630206539977874934953790857334143","r2":"0x491148fd5626c39d7cb3c6bd60d04b0975656f026d38798ed8e6660c7215dd12","s2":"0x31032ba2c57a838e42024d9f2e381829313b22f676a4cd7ef831b2748943d24a"}
2 changes: 1 addition & 1 deletion inputs/input-email.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"message":[98,105,103,119,104,97,108,101,108,97,98,115,46,99,111,109,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"pubKeyX":"4877328357478890623967823018480272757589824716691017530689013849938564609461","pubKeyY":"19319156333180214350448676801453385628019589905553133160599925263402925020311","R8x":"15298606526480864584355910095334162775602999800896032883635014999175499989355","R8y":"10740611045853572746142064534257693773300226817620379210695421925811006659780","S":"1951774407546037671953995624213462928595262386347037775045967177714957872170","M":"16326699391730603227158046697851865060679964588080600882713030572574027071981","r2":"0xfbcc041906294623e038acf874e2eb54a179b21ecf18c95b91681967818efed9","s2":"0x25acced0ba560e49b992cf426a904457c5d33a593654c775f4d986fa51fa16e3"}
{"message":[98,105,103,119,104,97,108,101,108,97,98,115,46,99,111,109,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"pubKeyX":"4877328357478890623967823018480272757589824716691017530689013849938564609461","pubKeyY":"19319156333180214350448676801453385628019589905553133160599925263402925020311","R8x":"15298606526480864584355910095334162775602999800896032883635014999175499989355","R8y":"10740611045853572746142064534257693773300226817620379210695421925811006659780","S":"1951774407546037671953995624213462928595262386347037775045967177714957872170","M":"16326699391730603227158046697851865060679964588080600882713030572574027071981","r2":"0x58a448ec6c63bf472c542954acdc8fbde23cb62ee13f3e681d09999335ebd84f","s2":"0x55d8db6cf1cccf5bd4081ffb0648d996f8fae72283f206fb81d3a7fdb51a9df1"}
34 changes: 16 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,27 @@
"generate-inputs": "ts-node scripts/generate-inputs.ts"
},
"devDependencies": {
"@nomiclabs/hardhat-ethers": "^2.0.6",
"@big-whale-labs/constants": "^0.1.10",
"@noble/ed25519": "^1.6.1",
"@nomiclabs/hardhat-ethers": "^2.1.0",
"@nomiclabs/hardhat-etherscan": "^3.1.0",
"@nomiclabs/hardhat-waffle": "^2.0.3",
"@openzeppelin/contracts": "^4.7.0",
"@openzeppelin/contracts": "^4.7.2",
"@typechain/ethers-v5": "^10.1.0",
"@typechain/hardhat": "^6.1.2",
"@types/chai": "^4.3.1",
"@types/mocha": "^9.1.1",
"@types/node": "^18.0.1",
"@typescript-eslint/eslint-plugin": "^5.30.5",
"@typescript-eslint/parser": "^5.30.5",
"@types/node": "^18.6.3",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"chai": "^4.3.6",
"circom_tester": "^0.0.14",
"circomlib": "^2.0.5",
"circomlibjs": "^0.1.7",
"dotenv": "^16.0.1",
"entropy-string": "^4.2.0",
"envalid": "^7.3.1",
"eslint": "^8.19.0",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.26.0",
Expand All @@ -58,27 +64,19 @@
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
"ethereum-waffle": "^3.4.4",
"ethers": "^5.6.9",
"hardhat": "^2.9.9",
"hardhat": "^2.10.1",
"hardhat-gas-reporter": "^1.0.8",
"np": "^7.6.2",
"prettier": "^2.7.1",
"prettier-plugin-solidity": "^1.0.0-beta.19",
"prettier-plugin-solidity": "^1.0.0-dev.23",
"snarkjs": "^0.4.24",
"solhint": "^3.3.7",
"solidity-coverage": "^0.7.21",
"ts-node": "^10.8.2",
"ts-node": "^10.9.1",
"typechain": "^8.1.0",
"typescript": "^4.7.4"
},
"packageManager": "yarn@3.2.0",
"dependencies": {
"@big-whale-labs/constants": "^0.1.0",
"@noble/ed25519": "^1.6.1",
"circom_tester": "^0.0.14",
"circomlib": "^2.0.5",
"circomlibjs": "^0.1.6",
"entropy-string": "^4.2.0",
"snarkjs": "^0.4.22"
},
"engines": {
"node": ">=8.3.0"
}
Expand Down
Binary file modified public/BalanceChecker.wasm
Binary file not shown.
Binary file modified public/EmailOwnershipChecker.wasm
Binary file not shown.
Loading

0 comments on commit 0b79263

Please sign in to comment.