update dependencies

This commit is contained in:
poma 2019-11-08 03:28:29 +03:00
parent c4dded8a20
commit a94281ccc5
4 changed files with 3344 additions and 6496 deletions

View File

@ -2,7 +2,7 @@
const path = require('path') const path = require('path')
const genContract = require('circomlib/src/mimcsponge_gencontract.js') const genContract = require('circomlib/src/mimcsponge_gencontract.js')
const Artifactor = require('truffle-artifactor') const Artifactor = require('@truffle/artifactor')
module.exports = function(deployer) { module.exports = function(deployer) {
return deployer.then( async () => { return deployer.then( async () => {

9808
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -26,26 +26,24 @@
"author": "", "author": "",
"license": "ISC", "license": "ISC",
"dependencies": { "dependencies": {
"@openzeppelin/contracts": "^2.3.0", "@openzeppelin/contracts": "^2.4.0",
"@truffle/artifactor": "^4.0.38",
"@truffle/contract": "^4.0.39",
"@truffle/hdwallet-provider": "^1.0.24",
"bn-chai": "^1.0.1", "bn-chai": "^1.0.1",
"browserify": "^16.3.0", "browserify": "^16.5.0",
"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": "^0.0.18", "circomlib": "^0.0.19",
"dotenv": "^8.0.0", "dotenv": "^8.2.0",
"eslint": "^6.2.2", "eslint": "^6.6.0",
"ganache-cli": "^6.4.5", "ganache-cli": "^6.7.0",
"snarkjs": "git+https://github.com/peppersec/snarkjs.git#869181cfaf7526fe8972073d31655493a04326d5", "snarkjs": "git+https://github.com/peppersec/snarkjs.git#869181cfaf7526fe8972073d31655493a04326d5",
"truffle": "^5.0.27", "truffle": "^5.0.44",
"truffle-artifactor": "^4.0.23", "truffle-flattener": "^1.4.2",
"truffle-contract": "^4.0.24", "web3": "^1.2.2",
"truffle-hdwallet-provider": "^1.0.14", "web3-utils": "^1.2.2",
"web3": "^1.0.0-beta.55",
"web3-utils": "^1.0.0-beta.55",
"websnark": "git+https://github.com/peppersec/websnark.git#c254b5962287b788081be1047fa0041c2885b39f" "websnark": "git+https://github.com/peppersec/websnark.git#c254b5962287b788081be1047fa0041c2885b39f"
},
"devDependencies": {
"truffle-flattener": "^1.4.0"
} }
} }

View File

@ -1,5 +1,5 @@
require('dotenv').config() require('dotenv').config()
const HDWalletProvider = require('truffle-hdwallet-provider') const HDWalletProvider = require('@truffle/hdwallet-provider')
const utils = require('web3-utils') const utils = require('web3-utils')
// const infuraKey = "fj4jll3k....."; // const infuraKey = "fj4jll3k.....";
// //