test solidity-zokratos integration

This commit is contained in:
Evgeny Marchenko
2019-06-22 19:10:54 +03:00
parent 49aa30e5ad
commit 39cdc6e0e5
4 changed files with 641 additions and 6 deletions

View File

@ -1,5 +1,12 @@
var Verifier = artifacts.require('verifier');
var VerifierProxy = artifacts.require('VerifierProxy');
var Lazy = artifacts.require('Lazy');
module.exports = function(deployer) {
deployer.deploy(Lazy);
}
module.exports = async function(deployer, network, accounts) {
deployer.then(async() => {
await deployer.deploy(Verifier)
await deployer.deploy(VerifierProxy, Verifier.address)
await deployer.deploy(Lazy, VerifierProxy.address)
})
}