test with real DAI and USDT

This commit is contained in:
Alexey 2019-08-30 13:06:17 +03:00
parent 5006006a20
commit b8c0c1898f
5 changed files with 242 additions and 10 deletions

View file

@ -13,7 +13,7 @@ module.exports = function(deployer, network, accounts) {
const miMC = await MiMC.deployed()
await ERC20Mixer.link(MiMC, miMC.address)
let token = ERC20_TOKEN
if(deployer.network !== 'mainnet') {
if(token === '') {
const tokenInstance = await deployer.deploy(ERC20Mock)
token = tokenInstance.address
}