mirror of
https://github.com/tornadocash/tornado-core.git
synced 2025-07-30 18:38:33 -04:00
my commit
to 0.7 update constructor calls in tests remove 0.5 from config
This commit is contained in:
parent
77af0c5bdd
commit
09423d692b
16 changed files with 15104 additions and 60 deletions
|
@ -11,7 +11,7 @@ module.exports = function(deployer, network, accounts) {
|
|||
const verifier = await Verifier.deployed()
|
||||
const hasherInstance = await hasherContract.deployed()
|
||||
await ETHTornado.link(hasherContract, hasherInstance.address)
|
||||
const tornado = await deployer.deploy(ETHTornado, verifier.address, ETH_AMOUNT, MERKLE_TREE_HEIGHT, accounts[0])
|
||||
const tornado = await deployer.deploy(ETHTornado, verifier.address, hasherInstance.address, ETH_AMOUNT, MERKLE_TREE_HEIGHT, accounts[0])
|
||||
console.log('ETHTornado\'s address ', tornado.address)
|
||||
})
|
||||
}
|
||||
|
|
|
@ -20,6 +20,7 @@ module.exports = function(deployer, network, accounts) {
|
|||
const tornado = await deployer.deploy(
|
||||
ERC20Tornado,
|
||||
verifier.address,
|
||||
hasherInstance.address,
|
||||
TOKEN_AMOUNT,
|
||||
MERKLE_TREE_HEIGHT,
|
||||
accounts[0],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue