Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhang Lihua committed Oct 26, 2020
2 parents a7f8f78 + cc52e0a commit 452de30
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions upgrade/2_deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,15 +113,15 @@ module.exports = async function (deployer, network) {
console.log("smg address:", smgProxy.address);

// ListGroup
await deployer.deploy(ListGroup,smgProxyAddr, posLibAddr);
let listGroup = await ListGroup.deployed();

let smg = await StoremanGroupDelegate.at(smgProxyAddr);
await smg.setGlobalGroupScAddr(listGroup.address);
await smg.addActiveGroupId('0x000000000000000000000000000000000000000000746573746e65745f303035',{from: config.networks[network].admin});
// await deployer.deploy(ListGroup,smgProxyAddr, posLibAddr);
// let listGroup = await ListGroup.deployed();
//
// let smg = await StoremanGroupDelegate.at(smgProxyAddr);
// await smg.setGlobalGroupScAddr(listGroup.address);
// await smg.addActiveGroupId('0x000000000000000000000000000000000000000000746573746e65745f303035',{from: config.networks[network].admin});

// gpk
/*

await deployer.link(CommonTool, GpkLib);
await deployer.deploy(GpkLib);

Expand All @@ -131,6 +131,6 @@ module.exports = async function (deployer, network) {

let gpkProxy = await GpkProxy.at(gpkProxyAddr);
await gpkProxy.upgradeTo(gpkDelegate.address);
*/


}

0 comments on commit 452de30

Please sign in to comment.