Skip to content

Commit

Permalink
V0.2.0 patch1 (#638)
Browse files Browse the repository at this point in the history
* Update npm version

* Add assetManagerAddress to post deployment script

* added tolerance
  • Loading branch information
SkandaBhat authored Jan 11, 2022
1 parent bc66988 commit 6205119
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions migrations/src/postDeploymentSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ module.exports = async () => {
assetManagerAddress, randomNoManagerAddress));
pendingTransactions.push(await voteManager.initialize(stakeManagerAddress, rewardManagerAddress, blockManagerAddress));
pendingTransactions.push(await stakeManager.initialize(RAZORAddress, rewardManagerAddress, voteManagerAddress, stakedTokenFactoryAddress));
pendingTransactions.push(await rewardManager.initialize(stakeManagerAddress, voteManagerAddress, blockManagerAddress));
pendingTransactions.push(await rewardManager.initialize(stakeManagerAddress, voteManagerAddress, blockManagerAddress, assetManagerAddress));
pendingTransactions.push(await delegator.updateAddress(assetManagerAddress, blockManagerAddress));
pendingTransactions.push(await randomNoManager.initialize(blockManagerAddress));
pendingTransactions.push(await governance.initialize(blockManagerAddress, rewardManagerAddress, stakeManagerAddress,
Expand Down Expand Up @@ -154,7 +154,7 @@ module.exports = async () => {
for (let i = 0; i < collections.length; i++) {
await waitForConfirmState(numStates, stateLength);
const collection = collections[i];
await assetManager.createCollection(collection.jobIDs, collection.aggregationMethod, collection.power, collection.name);
await assetManager.createCollection(collection.tolerance, collection.power, collection.aggregationMethod, collection.jobIDs, collection.name);
console.log(`Collection Created : ${collection.name}`);
}
console.log('Contracts deployed successfully & initial setup is done');
Expand Down

0 comments on commit 6205119

Please sign in to comment.