Skip to content

Commit

Permalink
🔇 remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
zakrad committed Dec 8, 2023
1 parent f378225 commit 90055f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions scripts/deploy-same-address.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,12 @@ async function main() {
console.log(await propertyAsset.getAddress());

await asset.grantRole(AssetManagerAccess, invoiceAsset.getAddress());
console.log("first");

await asset.grantRole(AssetManagerAccess, propertyAsset.getAddress());
console.log("first");

await asset.grantRole(AssetManagerAccess, wrapperAsset.getAddress());

await invoiceAsset.grantRole(MarketplaceAccess, marketplace.getAddress());
console.log("first");

await asset.setApprovalForAll(marketplace.getAddress(), true);
}
Expand Down
6 changes: 1 addition & 5 deletions scripts/deploy-upgradeable.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,18 +65,14 @@ async function main() {
console.log(await wrapperAsset.getAddress());

await token.approve(marketplace.getAddress(), ethers.MaxUint256);
console.log("first");

await asset.grantRole(AssetManagerAccess, invoiceAsset.getAddress());
console.log("first");

await asset.grantRole(AssetManagerAccess, propertyAsset.getAddress());
console.log("first");

await asset.grantRole(AssetManagerAccess, wrapperAsset.getAddress());
console.log("first");

await invoiceAsset.grantRole(MarketplaceAccess, marketplace.getAddress());
console.log("first");

await asset.setApprovalForAll(marketplace.getAddress(), true);
}
Expand Down

0 comments on commit 90055f2

Please sign in to comment.