Skip to content

Commit

Permalink
PR: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirill authored and Kirill committed Sep 28, 2018
1 parent ecd54e3 commit fbc17ff
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/migrateLibs.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ async function linkContractsWithLibrary(deployer, artifacts, lib, contractNames)
try {
await deployer.link(lib, artifacts.require(contractName));
} catch(error) {
console.log('not linked:', contractName);
console.log('Not linked:', contractName);
}
}
}
Expand Down Expand Up @@ -33,31 +33,31 @@ function migrateLibs (artifacts, additionalContracts, deployer, network, account
await deployer.deploy(UtilsLib);
await linkContractsWithLibrary(deployer, artifacts, UtilsLib, contractsArr);
} catch(error) {
console.log('UtilsLib does not deploy');
console.log('Thetta.UtilsLib is not deployed');
}

try {
let VotingLib = artifacts.require("./VotingLib");
await deployer.deploy(VotingLib);
await linkContractsWithLibrary(deployer, artifacts, VotingLib, contractsArr);
} catch(error) {
console.log('VotingLib does not deploy');
console.log('Thetta.VotingLib is not deployed');
}

try {
let GenericCallerLib = artifacts.require("./GenericCallerLib");
await deployer.deploy(GenericCallerLib);
await linkContractsWithLibrary(deployer, artifacts, GenericCallerLib, contractsArr);
} catch(error) {
console.log('GenericCallerLib does not deploy');
console.log('Thetta.GenericCallerLib is not deployed');
}

try {
let DaoBaseLib = artifacts.require("./DaoBaseLib");
await deployer.deploy(DaoBaseLib);
await linkContractsWithLibrary(deployer, artifacts, DaoBaseLib, contractsArr);
} catch(error) {
console.log('DaoBaseLib does not deploy');
console.log('Thetta.DaoBaseLib is not deployed');
}
});
};
Expand Down

0 comments on commit fbc17ff

Please sign in to comment.