mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-12-26 22:59:22 -05:00
update circomlib
This commit is contained in:
parent
cfaf325c47
commit
c8adb6b200
@ -156,6 +156,7 @@ async function main() {
|
|||||||
contract = new web3.eth.Contract(require('./build/contracts/ETHTornado.json').abi, CONTRACT_ADDRESS)
|
contract = new web3.eth.Contract(require('./build/contracts/ETHTornado.json').abi, CONTRACT_ADDRESS)
|
||||||
const account = web3.eth.accounts.privateKeyToAccount('0x' + PRIVATE_KEY)
|
const account = web3.eth.accounts.privateKeyToAccount('0x' + PRIVATE_KEY)
|
||||||
web3.eth.accounts.wallet.add('0x' + PRIVATE_KEY)
|
web3.eth.accounts.wallet.add('0x' + PRIVATE_KEY)
|
||||||
|
// eslint-disable-next-line require-atomic-updates
|
||||||
web3.eth.defaultAccount = account.address
|
web3.eth.defaultAccount = account.address
|
||||||
|
|
||||||
const note = await deposit()
|
const note = await deposit()
|
||||||
|
18
package-lock.json
generated
18
package-lock.json
generated
@ -1687,14 +1687,28 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"circomlib": {
|
"circomlib": {
|
||||||
"version": "git+https://github.com/tornadocash/circomlib.git#347822604996bf25f659f96ee0f02810a1f71bb0",
|
"version": "0.0.21",
|
||||||
"from": "git+https://github.com/tornadocash/circomlib.git#347822604996bf25f659f96ee0f02810a1f71bb0",
|
"resolved": "https://registry.npmjs.org/circomlib/-/circomlib-0.0.21.tgz",
|
||||||
|
"integrity": "sha512-8WJS4W9sJJbQv8s9vRGq28qJpRKvF9ORUS58x3I8vgfAUGL2INaRjgteksGX/mIyR+Il3w7ido27GA2ZCmZrQw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"blake-hash": "^1.1.0",
|
"blake-hash": "^1.1.0",
|
||||||
"blake2b": "^2.1.3",
|
"blake2b": "^2.1.3",
|
||||||
|
"circom": "0.0.35",
|
||||||
"snarkjs": "^0.1.20",
|
"snarkjs": "^0.1.20",
|
||||||
"typedarray-to-buffer": "^3.1.5",
|
"typedarray-to-buffer": "^3.1.5",
|
||||||
"web3": "^1.0.0-beta.55"
|
"web3": "^1.0.0-beta.55"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"circom": {
|
||||||
|
"version": "0.0.35",
|
||||||
|
"resolved": "https://registry.npmjs.org/circom/-/circom-0.0.35.tgz",
|
||||||
|
"integrity": "sha512-MWsJPYPH+s9wN2I5abEHUIAyFVsgTCy+UzJh///WnflXfh3c1tlbv8zt1VV+YHHREpyS+WF5ZBr7TujpaVFu5g==",
|
||||||
|
"requires": {
|
||||||
|
"big-integer": "^1.6.32",
|
||||||
|
"optimist": "^0.6.1",
|
||||||
|
"yargs": "^12.0.2"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"cli-cursor": {
|
"cli-cursor": {
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
"chai": "^4.2.0",
|
"chai": "^4.2.0",
|
||||||
"chai-as-promised": "^7.1.1",
|
"chai-as-promised": "^7.1.1",
|
||||||
"circom": "0.0.34",
|
"circom": "0.0.34",
|
||||||
"circomlib": "git+https://github.com/tornadocash/circomlib.git#347822604996bf25f659f96ee0f02810a1f71bb0",
|
"circomlib": "0.0.21",
|
||||||
"commander": "^4.1.1",
|
"commander": "^4.1.1",
|
||||||
"dotenv": "^8.2.0",
|
"dotenv": "^8.2.0",
|
||||||
"eslint": "^6.6.0",
|
"eslint": "^6.6.0",
|
||||||
|
Loading…
Reference in New Issue
Block a user