Skip to content

Commit

Permalink
deploy main
Browse files Browse the repository at this point in the history
  • Loading branch information
yu23ki14 committed Mar 10, 2024
1 parent c5f2611 commit da10f27
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
1 change: 0 additions & 1 deletion frontend/src/hooks/useMintNFT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
Expand Down
27 changes: 14 additions & 13 deletions hardhat/scripts/upgrades/v1.3.0/upgrade_prd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit da10f27

Please sign in to comment.