mirror of
https://github.com/tornadocash/tornado-core.git
synced 2024-12-22 17:23:38 +01:00
some fixes
This commit is contained in:
parent
55b3644fd7
commit
7a184d67d2
@ -5,8 +5,7 @@ node_js:
|
||||
install:
|
||||
- npm ci
|
||||
- cp .env.example .env
|
||||
- travis_wait 30 npm run build:circuit
|
||||
- npm run build:contract
|
||||
- travis_wait 30 npm run build
|
||||
- npx ganache-cli > /dev/null &
|
||||
- npm run migrate:dev
|
||||
script:
|
||||
|
@ -2,7 +2,7 @@
|
||||
require('dotenv').config({ path: '../.env' })
|
||||
const ETHMixer = artifacts.require('ETHMixer')
|
||||
const Verifier = artifacts.require('Verifier')
|
||||
const hasherContract = artifacts.require('hasher')
|
||||
const hasherContract = artifacts.require('Hasher')
|
||||
|
||||
|
||||
module.exports = function(deployer, network, accounts) {
|
||||
|
@ -2,7 +2,7 @@
|
||||
require('dotenv').config({ path: '../.env' })
|
||||
const ERC20Mixer = artifacts.require('ERC20Mixer')
|
||||
const Verifier = artifacts.require('Verifier')
|
||||
const hasherContract = artifacts.require('hasher')
|
||||
const hasherContract = artifacts.require('Hasher')
|
||||
const ERC20Mock = artifacts.require('ERC20Mock')
|
||||
|
||||
|
||||
|
@ -429,7 +429,7 @@ contract('ETHMixer', accounts => {
|
||||
const newVerifier = accounts[7]
|
||||
await mixer.updateVerifier(newVerifier).should.be.fulfilled
|
||||
|
||||
verifier = await mixer.verifier()
|
||||
const verifier = await mixer.verifier()
|
||||
verifier.should.be.equal(newVerifier)
|
||||
})
|
||||
|
||||
@ -454,7 +454,7 @@ contract('ETHMixer', accounts => {
|
||||
|
||||
await mixer.disableVerifierUpdate().should.be.fulfilled
|
||||
|
||||
newValue = await mixer.isVerifierUpdateAllowed()
|
||||
const newValue = await mixer.isVerifierUpdateAllowed()
|
||||
newValue.should.be.equal(false)
|
||||
})
|
||||
|
||||
@ -467,7 +467,7 @@ contract('ETHMixer', accounts => {
|
||||
|
||||
await mixer.disableVerifierUpdate().should.be.fulfilled
|
||||
|
||||
newValue = await mixer.isVerifierUpdateAllowed()
|
||||
const newValue = await mixer.isVerifierUpdateAllowed()
|
||||
newValue.should.be.equal(false)
|
||||
|
||||
const newVerifier = accounts[7]
|
||||
|
Loading…
Reference in New Issue
Block a user