Build on aragonOS #62

Merged
bumi merged 51 commits from aragonos into master 2019-04-02 19:36:36 +00:00
Showing only changes of commit 0686c79998 - Show all commits

View File

@@ -1,22 +1,27 @@
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
const knownAddresses = require('../lib/addresses/dao.json');
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
const knownDAOAddresses = require('../lib/addresses/dao.json');
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
const knownKreditsKitAddresses = require('../lib/addresses/KreditsKit.json');
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
const getNetworkId = require('./helpers/networkid.js')
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
module.exports = function(callback) {
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
module.exports = async function(callback) {
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
const networkId = await getNetworkId(web3)
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
console.log('# All known addresses');
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
Object.keys(knownAddresses).forEach((networkId) => {
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
console.log(` Network ID: ${networkId} => ${knownAddresses[networkId]}`);
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
})
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
console.log('# All known DAO addresses');
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
Object.keys(knownDAOAddresses).forEach((networkId) => {
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
console.log(` Network ID: ${networkId} => ${knownDAOAddresses[networkId]}`);
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
});
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
console.log('# All known KreditsKit addresses');
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
Object.keys(knownKreditsKitAddresses).forEach((networkId) => {
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
console.log(` Network ID: ${networkId} => ${knownKreditsKitAddresses[networkId]}`);
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
});
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
console.log('-----------------');
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
const networkId = web3.version.network;
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
console.log(`# Current network ID: ${networkId}`);
let currentAddress = knownAddresses[networkId];
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
let currentDAOAddress = knownDAOAddresses[networkId];
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
let currentKreditsKitAddress = knownKreditsKitAddresses[networkId];
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
if (currentAddress) {
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
console.log(`# Current address: ${currentAddress}`);
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
} else {
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
console.log(`No deployment found for network ID ${networkId}`);
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
}
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
console.log(`# Current KreditsKit address: ${currentKreditsKitAddress}`);
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
console.log(`# Current DAO address: ${currentDAOAddress}`);
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
callback();
};
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`
fsmanuel commented 2019-03-27 11:41:16 +00:00 (Migrated from github.com)
Review

const networkId = await getNetworkId(web3);

`const networkId = await getNetworkId(web3);`