Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
Add storage -> rules in node ingress (#265)
Browse files Browse the repository at this point in the history
Co-authored-by: Ahmad Fahadh Ilyas <[email protected]>
  • Loading branch information
macfarla and Ahmad Fahadh Ilyas authored Feb 16, 2022
1 parent 4719423 commit f840caa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions migrations/3_deploy_node_ingress_rules_contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ module.exports = async(deployer, network) => {
console.log(" > Rules.address " + Rules.address);
let nodeRulesContract = await Rules.deployed();

// storage -> rules
await storageInstance.upgradeVersion(Rules.address);
console.log(" >>> Set storage owner to Rules.address " + Rules.address);

await nodeIngressInstance.setContractAddress(rulesContractName, Rules.address);
console.log(" > Updated NodeIngress contract with NodeRules address = " + Rules.address);
Expand Down

0 comments on commit f840caa

Please sign in to comment.