add sth for deploy script
This commit is contained in:
parent
313029ff9d
commit
5b64f2494e
@ -26,7 +26,7 @@ module.exports = async function (deployer, network, accounts) {
|
||||
// config.admins.confirmers,
|
||||
// config.admins.executors
|
||||
// );
|
||||
// const walletInstance = await Wallet.deployed();
|
||||
const walletInstance = await Wallet.deployed();
|
||||
// if (walletInstance) {
|
||||
// console.log("BEMultiSigWallet successfully deployed.");
|
||||
// console.log("address: " + walletInstance.address);
|
||||
@ -47,5 +47,9 @@ module.exports = async function (deployer, network, accounts) {
|
||||
console.log("address: " + distributorInstance.address);
|
||||
}
|
||||
await badgeInstance.setMintRole(distributorInstance.address);
|
||||
await distributorInstance.grantRole(
|
||||
"0xa076a07f65bcd51bcb15a0f01a65bc18f2d922acb81bcfd8af4caf5adb557091",
|
||||
walletInstance.address
|
||||
);
|
||||
console.log("success add distributor to badge's mint role");
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user