From da10f273781854eacc19088987c74a37cec51d2e Mon Sep 17 00:00:00 2001 From: yu23ki14 Date: Sun, 10 Mar 2024 14:35:32 +0900 Subject: [PATCH] deploy main --- frontend/src/hooks/useMintNFT.ts | 1 - .../scripts/upgrades/v1.3.0/upgrade_prd.ts | 27 ++++++++++--------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/frontend/src/hooks/useMintNFT.ts b/frontend/src/hooks/useMintNFT.ts index 1e71b460..60f8b587 100644 --- a/frontend/src/hooks/useMintNFT.ts +++ b/frontend/src/hooks/useMintNFT.ts @@ -239,7 +239,6 @@ export const useGetOwnedNFTByAddress = (address?: string) => { } ); const _nfts = await Promise.all(metaDataPromises); - console.log(_nfts, "nfts"); setNfts(_nfts.filter((nft) => nft)); setIsLoading(false); }; diff --git a/hardhat/scripts/upgrades/v1.3.0/upgrade_prd.ts b/hardhat/scripts/upgrades/v1.3.0/upgrade_prd.ts index 5f8a238d..e56e4509 100644 --- a/hardhat/scripts/upgrades/v1.3.0/upgrade_prd.ts +++ b/hardhat/scripts/upgrades/v1.3.0/upgrade_prd.ts @@ -4,20 +4,21 @@ import { upgradeEventManager, upgradeMintNFT } from "../../helper/upgrade"; async function main() { if (network.name !== "polygon") throw new Error("wrong network"); - await upgradeMintNFT([ - process.env.POLYGON_OWNER_ADDRESS!, - process.env.POLYGON_FORWARDER_ADDRESS!, - process.env.POLYGON_SECRETPHRASE_VERIFIER_ADDRESS!, - process.env.POLYGON_OPERATION_CONTROLLER_ADDRESS!, - ]); + await upgradeMintNFT(); + // await upgradeMintNFT([ + // process.env.POLYGON_OWNER_ADDRESS!, + // process.env.POLYGON_FORWARDER_ADDRESS!, + // process.env.POLYGON_SECRETPHRASE_VERIFIER_ADDRESS!, + // process.env.POLYGON_OPERATION_CONTROLLER_ADDRESS!, + // ]); - await upgradeEventManager([ - process.env.POLYGON_OWNER_ADDRESS!, - process.env.POLYGON_RELAYER_ADDRESS!, - 660000, - 1000000, - process.env.POLYGON_OPERATION_CONTROLLER_ADDRESS!, - ]); + // await upgradeEventManager([ + // process.env.POLYGON_OWNER_ADDRESS!, + // process.env.POLYGON_RELAYER_ADDRESS!, + // 660000, + // 1000000, + // process.env.POLYGON_OPERATION_CONTROLLER_ADDRESS!, + // ]); } main().catch((error) => {