Update kredits-contracts and ethers.js

This uses the new ethers.js 4.x API which is required by the new
kredits-contracts.
Also Operator is now Proposal in the new kredits-contracts wrapper
This commit is contained in:
2019-03-29 19:54:45 +01:00
parent 2954955e39
commit b75ac5c8b9
4 changed files with 5932 additions and 5907 deletions
-4
View File
@@ -52,7 +52,6 @@ module.exports = function(environment) {
// ENV.APP.LOG_TRANSITIONS = true;
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
// ENV.APP.LOG_VIEW_LOOKUPS = true;
ENV.contractMetadata['networkId'] = '42';
ENV.web3ProviderUrl = 'https://kovan.infura.io/keUVk6OMaAvpmRF3m57n';
ENV.ipfs = {
@@ -78,9 +77,6 @@ module.exports = function(environment) {
// here you can enable a production-specific feature
}
if (process.env.NETWORK_ID) {
ENV.contractMetadata['networkId'] = process.env.NETWORK_ID;
}
if (process.env.WEB3_PROVIDER_URL) {
ENV.web3ProviderUrl = process.env.WEB3_PROVIDER_URL;
}