Hardhat upgrades - can't deploy to polygon mainnet

Hi, I'm using hardhat 2.10.1 and @openzeppelin/hardhat-upgrades 1.20.1. I am having trouble deploying a new version of my contract to the Polygon mainnet. Everything works fine on the testnet. I am using the alchemy RPC node and have tried changing it to polygon-rpc.com with no difference.

I currently get this error:

Error: Timed out waiting for implementation contract deployment to address 0xd2502d0142aAF2fF8f6fFfDAdC1B0A7517B525d3 with transaction 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42

Run the function again to continue waiting for the transaction confirmation. If the problem persists, adjust the polling parameters with the timeout and pollingInterval options.
error Command failed with exit code 1.

I previously deployed this contract to the mainnet and it worked. I just wanted to redeploy it because the proxy address was wrong in the first version.

This is what my deploy task looks like

task("deploy", "Deploys the VizualizeNft.sol contract").setAction(async function (
  taskArguments: any,
  hre: HardhatRuntimeEnvironment
) {
  console.log(`Network: ${process.env.NETWORK}`);

  const [deployer] = await hre.ethers.getSigners();
  const accountBalance = await deployer.getBalance();
  const transferProxyAddress = process.env.POLYGON_TRANSFER_PROXY_ADDRESS;

  console.log(`Deploying contracts with account: ${deployer.address} with proxy ${transferProxyAddress}`);
  console.log("Account balance: ", accountBalance.toString());

  const FEE_DATA = {
    maxFeePerGas:         hre.ethers.utils.parseUnits('1000', 'gwei'),
    maxPriorityFeePerGas: hre.ethers.utils.parseUnits('50',   'gwei'),
  };
  
  // This was added to try and resolve the issue. Before, I didn't use the signer variable below and still got the timeout error.
  // Wrap the provider so we can override fee data.
  const provider = new hre.ethers.providers.FallbackProvider([hre.ethers.provider], 1);
  provider.getFeeData = async () => FEE_DATA as FeeData;
  // deployer.connect(provider);
  const signer = new hre.ethers.Wallet(`0x${process.env.ACCOUNT_PRIVATE_KEY}`).connect(provider);

  const nftContractFactory = await hre.ethers.getContractFactory("VizualizeNft", signer);

  await hre.upgrades.validateImplementation(nftContractFactory);

  console.log('Deploying contract');
  
  // tried using this with no effect other than changing the timeout
  const deployOptions: DeployProxyOptions = {
    timeout: 3 * 60 * 1000,
    pollingInterval: 10 * 1000
  }
  
  const nft = await hre.upgrades.deployProxy(nftContractFactory, ["VZNFTDEV3", "VZNFTDEV3", "ipfs://", "ipfs://", [], transferProxyAddress, transferProxyAddress]);
  console.log(`Proxy address ${nft.address}, tx hash ${nft.deployTransaction?.hash}`)

  console.log('Waiting for deployment to finish');
  const contract = await nft.deployed();

  console.log(`Deployment finished. Proxy address ${nft.address}. Contract address: ${contract.address}`);
});

Hi @victorp , in order to help diagnose this issue, can you please provide the information listed here? Particularly, the debug logs may give some indication of what is occurring.

Do you still have the network file (in this case .openzeppelin/polygon.json) from your previous mainnet deployment, and have you changed the source code of your implementation contract since that was deployed?

1 Like

Thanks for the quick reply. After enabling debug logs, this is what I see:

$ yarn deploy
yarn run v1.22.5
$ npx hardhat deploy
Network: matic
Deploying contracts with account: 0x54b41be33df43aB526733eeC707FB9aED92F6d68 with proxy 0xd47e14DD9b98411754f722B4c4074e14752Ada7C
Account balance:  19150921816272168078
Deploying contract
  @openzeppelin:upgrades:core fetching deployment of implementation 34e9a3447f480c47edefb7bffc36cafbb139ddca18087d8501b1e202af061fb4 +0ms
  @openzeppelin:upgrades:core found previous deployment 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +3ms
  @openzeppelin:upgrades:core resuming previous deployment 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +108ms
  @openzeppelin:upgrades:core polling timeout 60000 polling interval 5000 +1ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +1ms
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +118ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +145ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +182ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +222ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +215ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +156ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +156ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +135ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +269ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +169ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +156ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 +155ms
An unexpected error occurred:

Error: Timed out waiting for implementation contract deployment to address 0xd2502d0142aAF2fF8f6fFfDAdC1B0A7517B525d3 with transaction 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42

Run the function again to continue waiting for the transaction confirmation. If the problem persists, adjust the polling parameters with the timeout and pollingInterval options.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

As a new member, I can't attach files, but this is the contents of unknown-137.json:

{
  "manifestVersion": "3.2",
  "admin": {
    "address": "0xd00E318B08f6C1F4C54892A2763E85BcA4601FC2",
    "txHash": "0xccb24d59059e0a567d967259849b09657d5fd67e37b9af60626ddf94eef51fe9"
  },
  "proxies": [
    {
      "address": "0x1A596591B4c9CD4BFA9CCc4bA6e008B591385a7F",
      "txHash": "0x1beebe0c52ec9c9ad877f119252819164774348c4ee823791f813f1db44ee459",
      "kind": "transparent"
    },
    {
      "address": "0xb7ec5739Aa6F7Bc98d97bC022d44f4Bae6B4BfEe",
      "txHash": "0x7ab151e7938add045b1b31637ea6ef2bc6702fb9c5fc7a505ec2395bee4cbee4",
      "kind": "transparent"
    },
    {
      "address": "0xcDE68E56ee53Dd9e845E4f4Be8429a58EC40c5c9",
      "txHash": "0xdefb50412c4c2676eb7b38bfd06485ddefda36b3f06ae84ddd954e1798292e64",
      "kind": "transparent"
    },
    {
      "address": "0x76900f50e52F2a21f1a71a4fEa88077BccD03A7a",
      "txHash": "0x6e8f6820c4698d290b9c8cd2f40d7831431d86cc93726fb110047a3f4129b5e0",
      "kind": "transparent"
    },
    {
      "address": "0x3CF0B19362e6B9D0a8325c625d88107Fd309a5b2",
      "txHash": "0x663fdf741a2b6f49c0d6f38ccf367a8f3a17e4e5d3090af04cd1521c5b1b955d",
      "kind": "transparent"
    },
    {
      "address": "0x9708d4e985b3d32c26742ee4eb9b348c0D7da362",
      "txHash": "0x2c056d6d8a1e40f525d4ff1c10bac8c245f9e45434b8a1737767f12c1736e866",
      "kind": "transparent"
    },
    {
      "address": "0x6eFb6833C93b664194A3670E185899325bB798b3",
      "txHash": "0x189aba3336f29e61206672dc48cfcc88e63265a9117784678b66a9ded15d656d",
      "kind": "transparent"
    },
    {
      "address": "0xA4e07F551617F1C90036F36A93e1C9F7bdeCfa54",
      "txHash": "0xb2181bd82dd88f9a12926caaa86eb8a27bd685d098e048b8bf60846608ef7728",
      "kind": "transparent"
    },
    {
      "address": "0x7067b759Db2D704586c2C9BfB0aC216b144D0612",
      "txHash": "0x3514dba6bdbe85e35310af76adaed1093da7f28dbffce558d87b3b296da33470",
      "kind": "transparent"
    },
    {
      "address": "0x30e837185751beDD61b3FCa75e6806f1DA7A07B0",
      "txHash": "0x4c389b179b3ecd1c3686abaa272b1c4f613a2b0a9869d7cc693a28e781783e8b",
      "kind": "transparent"
    },
    {
      "address": "0xd2502d0142aAF2fF8f6fFfDAdC1B0A7517B525d3",
      "txHash": "0x1cb5a2c3cd24c926ef6c8d8b44934ed83ff9aeffea7f20f316b3a3ce100b6b4e",
      "kind": "transparent"
    }
  ],
  "impls": {
    "784f3097a373a5fb10b1ff404423f504ab902e8c9438a48bc53116810fbfcc7e": {
      "address": "0x252a4fF4E8d3192bd93F79215bc7aB5BB3cc351a",
      "txHash": "0x2a4436ad778b4ce8490addcb1c00703dd64fb97885cccd07476e2f9ed568a471",
      "layout": {
        "storage": [
          {
            "label": "_initialized",
            "offset": 0,
            "slot": "0",
            "type": "t_uint8",
            "contract": "Initializable",
            "src": "@openzeppelin\\contracts-upgradeable\\proxy\\utils\\Initializable.sol:62",
            "retypedFrom": "bool"
          },
          {
            "label": "_initializing",
            "offset": 1,
            "slot": "0",
            "type": "t_bool",
            "contract": "Initializable",
            "src": "@openzeppelin\\contracts-upgradeable\\proxy\\utils\\Initializable.sol:67"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "1",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ContextUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\ContextUpgradeable.sol:36"
          },
          {
            "label": "_owner",
            "offset": 0,
            "slot": "51",
            "type": "t_address",
            "contract": "OwnableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\access\\OwnableUpgradeable.sol:22"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "52",
            "type": "t_array(t_uint256)49_storage",
            "contract": "OwnableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\access\\OwnableUpgradeable.sol:94"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "101",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC165Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\introspection\\ERC165Upgradeable.sol:41"
          },
          {
            "label": "_balances",
            "offset": 0,
            "slot": "151",
            "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:27"
          },
          {
            "label": "_operatorApprovals",
            "offset": 0,
            "slot": "152",
            "type": "t_mapping(t_address,t_mapping(t_address,t_bool))",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:30"
          },
          {
            "label": "_uri",
            "offset": 0,
            "slot": "153",
            "type": "t_string_storage",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:33"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "154",
            "type": "t_array(t_uint256)47_storage",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:426"
          },
          {
            "label": "defaultApprovals",
            "offset": 0,
            "slot": "201",
            "type": "t_mapping(t_address,t_bool)",
            "contract": "ERC1155DefaultApproval",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155DefaultApproval.sol:8"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "202",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155DefaultApproval",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155DefaultApproval.sol:20"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "252",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155BurnableUpgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BurnableUpgradeable.sol:41"
          },
          {
            "label": "_tokenURIs",
            "offset": 0,
            "slot": "302",
            "type": "t_mapping(t_uint256,t_string_storage)",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:14"
          },
          {
            "label": "_baseURI",
            "offset": 0,
            "slot": "303",
            "type": "t_string_storage",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:17"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "304",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:69"
          },
          {
            "label": "_HASHED_NAME",
            "offset": 0,
            "slot": "354",
            "type": "t_bytes32",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:32"
          },
          {
            "label": "_HASHED_VERSION",
            "offset": 0,
            "slot": "355",
            "type": "t_bytes32",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:33"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "356",
            "type": "t_array(t_uint256)50_storage",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:120"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "406",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1271Validator",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1271\\ERC1271Validator.sol:41"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "456",
            "type": "t_array(t_uint256)50_storage",
            "contract": "Mint1155Validator",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\Mint1155Validator.sol:16"
          },
          {
            "label": "royalties",
            "offset": 0,
            "slot": "506",
            "type": "t_mapping(t_uint256,t_array(t_struct(Part)2622_storage)dyn_storage)",
            "contract": "AbstractRoyalties",
            "src": "contracts\\rarible\\royalties\\contracts\\impl\\AbstractRoyalties.sol:9"
          },
          {
            "label": "creators",
            "offset": 0,
            "slot": "507",
            "type": "t_mapping(t_uint256,t_array(t_struct(Part)2622_storage)dyn_storage)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:22"
          },
          {
            "label": "supply",
            "offset": 0,
            "slot": "508",
            "type": "t_mapping(t_uint256,t_uint256)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:23"
          },
          {
            "label": "minted",
            "offset": 0,
            "slot": "509",
            "type": "t_mapping(t_uint256,t_uint256)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:24"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "510",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:157"
          },
          {
            "label": "contractURI",
            "offset": 0,
            "slot": "560",
            "type": "t_string_storage",
            "contract": "HasContractURI",
            "src": "contracts\\rarible\\tokens\\contracts\\HasContractURI.sol:9"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "561",
            "type": "t_array(t_uint256)49_storage",
            "contract": "HasContractURI",
            "src": "contracts\\rarible\\tokens\\contracts\\HasContractURI.sol:33"
          },
          {
            "label": "name",
            "offset": 0,
            "slot": "610",
            "type": "t_string_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:12"
          },
          {
            "label": "symbol",
            "offset": 0,
            "slot": "611",
            "type": "t_string_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:13"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "612",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:88"
          },
          {
            "label": "isPrivate",
            "offset": 0,
            "slot": "662",
            "type": "t_bool",
            "contract": "IsPrivateCollection",
            "src": "contracts\\rarible\\tokens\\contracts\\IsPrivateCollection.sol:7"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "663",
            "type": "t_array(t_uint256)49_storage",
            "contract": "IsPrivateCollection",
            "src": "contracts\\rarible\\tokens\\contracts\\IsPrivateCollection.sol:9"
          },
          {
            "label": "_minters",
            "offset": 0,
            "slot": "712",
            "type": "t_mapping(t_address,t_bool)",
            "contract": "MinterAccessControl",
            "src": "contracts\\rarible\\tokens\\contracts\\access\\MinterAccessControl.sol:8"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "713",
            "type": "t_array(t_uint256)50_storage",
            "contract": "MinterAccessControl",
            "src": "contracts\\rarible\\tokens\\contracts\\access\\MinterAccessControl.sol:43"
          },
          {
            "label": "_paused",
            "offset": 0,
            "slot": "763",
            "type": "t_bool",
            "contract": "PausableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\security\\PausableUpgradeable.sol:29"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "764",
            "type": "t_array(t_uint256)49_storage",
            "contract": "PausableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\security\\PausableUpgradeable.sol:116"
          },
          {
            "label": "baseExtension",
            "offset": 0,
            "slot": "813",
            "type": "t_string_storage",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:20"
          },
          {
            "label": "cost",
            "offset": 0,
            "slot": "814",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:23"
          },
          {
            "label": "maxSupply",
            "offset": 0,
            "slot": "815",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:26"
          },
          {
            "label": "maxMintAmount",
            "offset": 0,
            "slot": "816",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:29"
          }
        ],
        "types": {
          "t_address": {
            "label": "address",
            "numberOfBytes": "20"
          },
          "t_address_payable": {
            "label": "address payable",
            "numberOfBytes": "20"
          },
          "t_array(t_struct(Part)2622_storage)dyn_storage": {
            "label": "struct LibPart.Part[]",
            "numberOfBytes": "32"
          },
          "t_array(t_uint256)47_storage": {
            "label": "uint256[47]",
            "numberOfBytes": "1504"
          },
          "t_array(t_uint256)49_storage": {
            "label": "uint256[49]",
            "numberOfBytes": "1568"
          },
          "t_array(t_uint256)50_storage": {
            "label": "uint256[50]",
            "numberOfBytes": "1600"
          },
          "t_bool": {
            "label": "bool",
            "numberOfBytes": "1"
          },
          "t_bytes32": {
            "label": "bytes32",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_bool)": {
            "label": "mapping(address => bool)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_mapping(t_address,t_bool))": {
            "label": "mapping(address => mapping(address => bool))",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_uint256)": {
            "label": "mapping(address => uint256)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_array(t_struct(Part)2622_storage)dyn_storage)": {
            "label": "mapping(uint256 => struct LibPart.Part[])",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": {
            "label": "mapping(uint256 => mapping(address => uint256))",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_string_storage)": {
            "label": "mapping(uint256 => string)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_uint256)": {
            "label": "mapping(uint256 => uint256)",
            "numberOfBytes": "32"
          },
          "t_string_storage": {
            "label": "string",
            "numberOfBytes": "32"
          },
          "t_struct(Part)2622_storage": {
            "label": "struct LibPart.Part",
            "members": [
              {
                "label": "account",
                "type": "t_address_payable",
                "offset": 0,
                "slot": "0"
              },
              {
                "label": "value",
                "type": "t_uint96",
                "offset": 20,
                "slot": "0"
              }
            ],
            "numberOfBytes": "32"
          },
          "t_uint256": {
            "label": "uint256",
            "numberOfBytes": "32"
          },
          "t_uint8": {
            "label": "uint8",
            "numberOfBytes": "1"
          },
          "t_uint96": {
            "label": "uint96",
            "numberOfBytes": "12"
          }
        }
      }
    },
    "34e9a3447f480c47edefb7bffc36cafbb139ddca18087d8501b1e202af061fb4": {
      "address": "0xd2502d0142aAF2fF8f6fFfDAdC1B0A7517B525d3",
      "txHash": "0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42",
      "layout": {
        "storage": [
          {
            "label": "_initialized",
            "offset": 0,
            "slot": "0",
            "type": "t_uint8",
            "contract": "Initializable",
            "src": "@openzeppelin\\contracts-upgradeable\\proxy\\utils\\Initializable.sol:62",
            "retypedFrom": "bool"
          },
          {
            "label": "_initializing",
            "offset": 1,
            "slot": "0",
            "type": "t_bool",
            "contract": "Initializable",
            "src": "@openzeppelin\\contracts-upgradeable\\proxy\\utils\\Initializable.sol:67"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "1",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ContextUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\ContextUpgradeable.sol:36"
          },
          {
            "label": "_owner",
            "offset": 0,
            "slot": "51",
            "type": "t_address",
            "contract": "OwnableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\access\\OwnableUpgradeable.sol:22"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "52",
            "type": "t_array(t_uint256)49_storage",
            "contract": "OwnableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\access\\OwnableUpgradeable.sol:94"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "101",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC165Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\introspection\\ERC165Upgradeable.sol:41"
          },
          {
            "label": "_balances",
            "offset": 0,
            "slot": "151",
            "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:27"
          },
          {
            "label": "_operatorApprovals",
            "offset": 0,
            "slot": "152",
            "type": "t_mapping(t_address,t_mapping(t_address,t_bool))",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:30"
          },
          {
            "label": "_uri",
            "offset": 0,
            "slot": "153",
            "type": "t_string_storage",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:33"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "154",
            "type": "t_array(t_uint256)47_storage",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:426"
          },
          {
            "label": "defaultApprovals",
            "offset": 0,
            "slot": "201",
            "type": "t_mapping(t_address,t_bool)",
            "contract": "ERC1155DefaultApproval",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155DefaultApproval.sol:8"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "202",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155DefaultApproval",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155DefaultApproval.sol:20"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "252",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155BurnableUpgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BurnableUpgradeable.sol:41"
          },
          {
            "label": "_tokenURIs",
            "offset": 0,
            "slot": "302",
            "type": "t_mapping(t_uint256,t_string_storage)",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:14"
          },
          {
            "label": "_baseURI",
            "offset": 0,
            "slot": "303",
            "type": "t_string_storage",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:17"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "304",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:69"
          },
          {
            "label": "_HASHED_NAME",
            "offset": 0,
            "slot": "354",
            "type": "t_bytes32",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:32"
          },
          {
            "label": "_HASHED_VERSION",
            "offset": 0,
            "slot": "355",
            "type": "t_bytes32",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:33"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "356",
            "type": "t_array(t_uint256)50_storage",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:120"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "406",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1271Validator",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1271\\ERC1271Validator.sol:41"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "456",
            "type": "t_array(t_uint256)50_storage",
            "contract": "Mint1155Validator",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\Mint1155Validator.sol:16"
          },
          {
            "label": "royalties",
            "offset": 0,
            "slot": "506",
            "type": "t_mapping(t_uint256,t_array(t_struct(Part)2624_storage)dyn_storage)",
            "contract": "AbstractRoyalties",
            "src": "contracts\\rarible\\royalties\\contracts\\impl\\AbstractRoyalties.sol:9"
          },
          {
            "label": "creators",
            "offset": 0,
            "slot": "507",
            "type": "t_mapping(t_uint256,t_array(t_struct(Part)2624_storage)dyn_storage)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:22"
          },
          {
            "label": "supply",
            "offset": 0,
            "slot": "508",
            "type": "t_mapping(t_uint256,t_uint256)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:23"
          },
          {
            "label": "minted",
            "offset": 0,
            "slot": "509",
            "type": "t_mapping(t_uint256,t_uint256)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:24"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "510",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:157"
          },
          {
            "label": "contractURI",
            "offset": 0,
            "slot": "560",
            "type": "t_string_storage",
            "contract": "HasContractURI",
            "src": "contracts\\rarible\\tokens\\contracts\\HasContractURI.sol:9"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "561",
            "type": "t_array(t_uint256)49_storage",
            "contract": "HasContractURI",
            "src": "contracts\\rarible\\tokens\\contracts\\HasContractURI.sol:33"
          },
          {
            "label": "name",
            "offset": 0,
            "slot": "610",
            "type": "t_string_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:12"
          },
          {
            "label": "symbol",
            "offset": 0,
            "slot": "611",
            "type": "t_string_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:13"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "612",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:88"
          },
          {
            "label": "isPrivate",
            "offset": 0,
            "slot": "662",
            "type": "t_bool",
            "contract": "IsPrivateCollection",
            "src": "contracts\\rarible\\tokens\\contracts\\IsPrivateCollection.sol:7"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "663",
            "type": "t_array(t_uint256)49_storage",
            "contract": "IsPrivateCollection",
            "src": "contracts\\rarible\\tokens\\contracts\\IsPrivateCollection.sol:9"
          },
          {
            "label": "_minters",
            "offset": 0,
            "slot": "712",
            "type": "t_mapping(t_address,t_bool)",
            "contract": "MinterAccessControl",
            "src": "contracts\\rarible\\tokens\\contracts\\access\\MinterAccessControl.sol:8"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "713",
            "type": "t_array(t_uint256)50_storage",
            "contract": "MinterAccessControl",
            "src": "contracts\\rarible\\tokens\\contracts\\access\\MinterAccessControl.sol:43"
          },
          {
            "label": "_paused",
            "offset": 0,
            "slot": "763",
            "type": "t_bool",
            "contract": "PausableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\security\\PausableUpgradeable.sol:29"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "764",
            "type": "t_array(t_uint256)49_storage",
            "contract": "PausableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\security\\PausableUpgradeable.sol:116"
          },
          {
            "label": "baseExtension",
            "offset": 0,
            "slot": "813",
            "type": "t_string_storage",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:20"
          },
          {
            "label": "cost",
            "offset": 0,
            "slot": "814",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:23"
          },
          {
            "label": "maxSupply",
            "offset": 0,
            "slot": "815",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:26"
          },
          {
            "label": "maxMintAmount",
            "offset": 0,
            "slot": "816",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:29"
          }
        ],
        "types": {
          "t_address": {
            "label": "address",
            "numberOfBytes": "20"
          },
          "t_address_payable": {
            "label": "address payable",
            "numberOfBytes": "20"
          },
          "t_array(t_struct(Part)2624_storage)dyn_storage": {
            "label": "struct LibPart.Part[]",
            "numberOfBytes": "32"
          },
          "t_array(t_uint256)47_storage": {
            "label": "uint256[47]",
            "numberOfBytes": "1504"
          },
          "t_array(t_uint256)49_storage": {
            "label": "uint256[49]",
            "numberOfBytes": "1568"
          },
          "t_array(t_uint256)50_storage": {
            "label": "uint256[50]",
            "numberOfBytes": "1600"
          },
          "t_bool": {
            "label": "bool",
            "numberOfBytes": "1"
          },
          "t_bytes32": {
            "label": "bytes32",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_bool)": {
            "label": "mapping(address => bool)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_mapping(t_address,t_bool))": {
            "label": "mapping(address => mapping(address => bool))",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_uint256)": {
            "label": "mapping(address => uint256)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_array(t_struct(Part)2624_storage)dyn_storage)": {
            "label": "mapping(uint256 => struct LibPart.Part[])",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": {
            "label": "mapping(uint256 => mapping(address => uint256))",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_string_storage)": {
            "label": "mapping(uint256 => string)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_uint256)": {
            "label": "mapping(uint256 => uint256)",
            "numberOfBytes": "32"
          },
          "t_string_storage": {
            "label": "string",
            "numberOfBytes": "32"
          },
          "t_struct(Part)2624_storage": {
            "label": "struct LibPart.Part",
            "members": [
              {
                "label": "account",
                "type": "t_address_payable",
                "offset": 0,
                "slot": "0"
              },
              {
                "label": "value",
                "type": "t_uint96",
                "offset": 20,
                "slot": "0"
              }
            ],
            "numberOfBytes": "32"
          },
          "t_uint256": {
            "label": "uint256",
            "numberOfBytes": "32"
          },
          "t_uint8": {
            "label": "uint8",
            "numberOfBytes": "1"
          },
          "t_uint96": {
            "label": "uint96",
            "numberOfBytes": "12"
          }
        }
      }
    }
  }
}

This is my hardhat.config.js:

import dotenv from "dotenv";
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
import "@openzeppelin/hardhat-upgrades";

import "./scripts/deploy";
import "./scripts/mint";

dotenv.config();
const { ALCHEMY_KEY, ACCOUNT_PRIVATE_KEY, POLYGON_PRIVATE_KEY, ETHERSCAN_API_KEY, POLYGONSCAN_API_KEY } =
  process.env;

const config: HardhatUserConfig = {
  solidity: {
    version: "0.8.9",
    settings: {
      optimizer: {
        enabled: true,
        // runs: 1000,
        // enabled: false,
        runs: 200,
      },
    }
  },
  defaultNetwork: process.env.NETWORK || "hardhat",
  networks: {
    hardhat: {
      allowUnlimitedContractSize: true,
      gas: 'auto'
    },
    rinkeby: {
      url: `https://eth-rinkeby.alchemyapi.io/v2/${ALCHEMY_KEY}`,
      accounts: [`0x${ACCOUNT_PRIVATE_KEY}`],
    },
    ethereum: {
      chainId: 1,
      url: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_KEY}`,
      accounts: [`0x${ACCOUNT_PRIVATE_KEY}`],
    },
    maticmum: {
      url: `https://polygon-mumbai.g.alchemy.com/v2/${ALCHEMY_KEY}`,
      accounts: [`0x${ACCOUNT_PRIVATE_KEY}`],
      allowUnlimitedContractSize: true,
      gas: 'auto'
    },
    matic: {
      url: `https://polygon-mainnet.g.alchemy.com/v2/${ALCHEMY_KEY}`,
      accounts: [`0x${ACCOUNT_PRIVATE_KEY}`],
      gas: 'auto',
    }
  },
  etherscan: {
    apiKey: POLYGONSCAN_API_KEY,
  }
};

export default config;

I replied with additional information but my post is under review by admins.

Thanks for the additional information. It looks like the address 0xd2502d0142aAF2fF8f6fFfDAdC1B0A7517B525d3 was registered in the network file but the deployment never occurred, so it keeps waiting.

Could you try the following:

  1. Make a backup of your network file.
  2. Replace the contents of your network file with the below (which removes entries associated with 0xd2502d0142aAF2fF8f6fFfDAdC1B0A7517B525d3 since there is no contract at that address):
{
  "manifestVersion": "3.2",
  "admin": {
    "address": "0xd00E318B08f6C1F4C54892A2763E85BcA4601FC2",
    "txHash": "0xccb24d59059e0a567d967259849b09657d5fd67e37b9af60626ddf94eef51fe9"
  },
  "proxies": [
    {
      "address": "0x1A596591B4c9CD4BFA9CCc4bA6e008B591385a7F",
      "txHash": "0x1beebe0c52ec9c9ad877f119252819164774348c4ee823791f813f1db44ee459",
      "kind": "transparent"
    },
    {
      "address": "0xb7ec5739Aa6F7Bc98d97bC022d44f4Bae6B4BfEe",
      "txHash": "0x7ab151e7938add045b1b31637ea6ef2bc6702fb9c5fc7a505ec2395bee4cbee4",
      "kind": "transparent"
    },
    {
      "address": "0xcDE68E56ee53Dd9e845E4f4Be8429a58EC40c5c9",
      "txHash": "0xdefb50412c4c2676eb7b38bfd06485ddefda36b3f06ae84ddd954e1798292e64",
      "kind": "transparent"
    },
    {
      "address": "0x76900f50e52F2a21f1a71a4fEa88077BccD03A7a",
      "txHash": "0x6e8f6820c4698d290b9c8cd2f40d7831431d86cc93726fb110047a3f4129b5e0",
      "kind": "transparent"
    },
    {
      "address": "0x3CF0B19362e6B9D0a8325c625d88107Fd309a5b2",
      "txHash": "0x663fdf741a2b6f49c0d6f38ccf367a8f3a17e4e5d3090af04cd1521c5b1b955d",
      "kind": "transparent"
    },
    {
      "address": "0x9708d4e985b3d32c26742ee4eb9b348c0D7da362",
      "txHash": "0x2c056d6d8a1e40f525d4ff1c10bac8c245f9e45434b8a1737767f12c1736e866",
      "kind": "transparent"
    },
    {
      "address": "0x6eFb6833C93b664194A3670E185899325bB798b3",
      "txHash": "0x189aba3336f29e61206672dc48cfcc88e63265a9117784678b66a9ded15d656d",
      "kind": "transparent"
    },
    {
      "address": "0xA4e07F551617F1C90036F36A93e1C9F7bdeCfa54",
      "txHash": "0xb2181bd82dd88f9a12926caaa86eb8a27bd685d098e048b8bf60846608ef7728",
      "kind": "transparent"
    },
    {
      "address": "0x7067b759Db2D704586c2C9BfB0aC216b144D0612",
      "txHash": "0x3514dba6bdbe85e35310af76adaed1093da7f28dbffce558d87b3b296da33470",
      "kind": "transparent"
    },
    {
      "address": "0x30e837185751beDD61b3FCa75e6806f1DA7A07B0",
      "txHash": "0x4c389b179b3ecd1c3686abaa272b1c4f613a2b0a9869d7cc693a28e781783e8b",
      "kind": "transparent"
    }
  ],
  "impls": {
    "784f3097a373a5fb10b1ff404423f504ab902e8c9438a48bc53116810fbfcc7e": {
      "address": "0x252a4fF4E8d3192bd93F79215bc7aB5BB3cc351a",
      "txHash": "0x2a4436ad778b4ce8490addcb1c00703dd64fb97885cccd07476e2f9ed568a471",
      "layout": {
        "storage": [
          {
            "label": "_initialized",
            "offset": 0,
            "slot": "0",
            "type": "t_uint8",
            "contract": "Initializable",
            "src": "@openzeppelin\\contracts-upgradeable\\proxy\\utils\\Initializable.sol:62",
            "retypedFrom": "bool"
          },
          {
            "label": "_initializing",
            "offset": 1,
            "slot": "0",
            "type": "t_bool",
            "contract": "Initializable",
            "src": "@openzeppelin\\contracts-upgradeable\\proxy\\utils\\Initializable.sol:67"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "1",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ContextUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\ContextUpgradeable.sol:36"
          },
          {
            "label": "_owner",
            "offset": 0,
            "slot": "51",
            "type": "t_address",
            "contract": "OwnableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\access\\OwnableUpgradeable.sol:22"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "52",
            "type": "t_array(t_uint256)49_storage",
            "contract": "OwnableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\access\\OwnableUpgradeable.sol:94"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "101",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC165Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\introspection\\ERC165Upgradeable.sol:41"
          },
          {
            "label": "_balances",
            "offset": 0,
            "slot": "151",
            "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:27"
          },
          {
            "label": "_operatorApprovals",
            "offset": 0,
            "slot": "152",
            "type": "t_mapping(t_address,t_mapping(t_address,t_bool))",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:30"
          },
          {
            "label": "_uri",
            "offset": 0,
            "slot": "153",
            "type": "t_string_storage",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:33"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "154",
            "type": "t_array(t_uint256)47_storage",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:426"
          },
          {
            "label": "defaultApprovals",
            "offset": 0,
            "slot": "201",
            "type": "t_mapping(t_address,t_bool)",
            "contract": "ERC1155DefaultApproval",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155DefaultApproval.sol:8"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "202",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155DefaultApproval",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155DefaultApproval.sol:20"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "252",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155BurnableUpgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BurnableUpgradeable.sol:41"
          },
          {
            "label": "_tokenURIs",
            "offset": 0,
            "slot": "302",
            "type": "t_mapping(t_uint256,t_string_storage)",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:14"
          },
          {
            "label": "_baseURI",
            "offset": 0,
            "slot": "303",
            "type": "t_string_storage",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:17"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "304",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:69"
          },
          {
            "label": "_HASHED_NAME",
            "offset": 0,
            "slot": "354",
            "type": "t_bytes32",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:32"
          },
          {
            "label": "_HASHED_VERSION",
            "offset": 0,
            "slot": "355",
            "type": "t_bytes32",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:33"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "356",
            "type": "t_array(t_uint256)50_storage",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:120"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "406",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1271Validator",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1271\\ERC1271Validator.sol:41"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "456",
            "type": "t_array(t_uint256)50_storage",
            "contract": "Mint1155Validator",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\Mint1155Validator.sol:16"
          },
          {
            "label": "royalties",
            "offset": 0,
            "slot": "506",
            "type": "t_mapping(t_uint256,t_array(t_struct(Part)2622_storage)dyn_storage)",
            "contract": "AbstractRoyalties",
            "src": "contracts\\rarible\\royalties\\contracts\\impl\\AbstractRoyalties.sol:9"
          },
          {
            "label": "creators",
            "offset": 0,
            "slot": "507",
            "type": "t_mapping(t_uint256,t_array(t_struct(Part)2622_storage)dyn_storage)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:22"
          },
          {
            "label": "supply",
            "offset": 0,
            "slot": "508",
            "type": "t_mapping(t_uint256,t_uint256)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:23"
          },
          {
            "label": "minted",
            "offset": 0,
            "slot": "509",
            "type": "t_mapping(t_uint256,t_uint256)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:24"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "510",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:157"
          },
          {
            "label": "contractURI",
            "offset": 0,
            "slot": "560",
            "type": "t_string_storage",
            "contract": "HasContractURI",
            "src": "contracts\\rarible\\tokens\\contracts\\HasContractURI.sol:9"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "561",
            "type": "t_array(t_uint256)49_storage",
            "contract": "HasContractURI",
            "src": "contracts\\rarible\\tokens\\contracts\\HasContractURI.sol:33"
          },
          {
            "label": "name",
            "offset": 0,
            "slot": "610",
            "type": "t_string_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:12"
          },
          {
            "label": "symbol",
            "offset": 0,
            "slot": "611",
            "type": "t_string_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:13"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "612",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:88"
          },
          {
            "label": "isPrivate",
            "offset": 0,
            "slot": "662",
            "type": "t_bool",
            "contract": "IsPrivateCollection",
            "src": "contracts\\rarible\\tokens\\contracts\\IsPrivateCollection.sol:7"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "663",
            "type": "t_array(t_uint256)49_storage",
            "contract": "IsPrivateCollection",
            "src": "contracts\\rarible\\tokens\\contracts\\IsPrivateCollection.sol:9"
          },
          {
            "label": "_minters",
            "offset": 0,
            "slot": "712",
            "type": "t_mapping(t_address,t_bool)",
            "contract": "MinterAccessControl",
            "src": "contracts\\rarible\\tokens\\contracts\\access\\MinterAccessControl.sol:8"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "713",
            "type": "t_array(t_uint256)50_storage",
            "contract": "MinterAccessControl",
            "src": "contracts\\rarible\\tokens\\contracts\\access\\MinterAccessControl.sol:43"
          },
          {
            "label": "_paused",
            "offset": 0,
            "slot": "763",
            "type": "t_bool",
            "contract": "PausableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\security\\PausableUpgradeable.sol:29"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "764",
            "type": "t_array(t_uint256)49_storage",
            "contract": "PausableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\security\\PausableUpgradeable.sol:116"
          },
          {
            "label": "baseExtension",
            "offset": 0,
            "slot": "813",
            "type": "t_string_storage",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:20"
          },
          {
            "label": "cost",
            "offset": 0,
            "slot": "814",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:23"
          },
          {
            "label": "maxSupply",
            "offset": 0,
            "slot": "815",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:26"
          },
          {
            "label": "maxMintAmount",
            "offset": 0,
            "slot": "816",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:29"
          }
        ],
        "types": {
          "t_address": {
            "label": "address",
            "numberOfBytes": "20"
          },
          "t_address_payable": {
            "label": "address payable",
            "numberOfBytes": "20"
          },
          "t_array(t_struct(Part)2622_storage)dyn_storage": {
            "label": "struct LibPart.Part[]",
            "numberOfBytes": "32"
          },
          "t_array(t_uint256)47_storage": {
            "label": "uint256[47]",
            "numberOfBytes": "1504"
          },
          "t_array(t_uint256)49_storage": {
            "label": "uint256[49]",
            "numberOfBytes": "1568"
          },
          "t_array(t_uint256)50_storage": {
            "label": "uint256[50]",
            "numberOfBytes": "1600"
          },
          "t_bool": {
            "label": "bool",
            "numberOfBytes": "1"
          },
          "t_bytes32": {
            "label": "bytes32",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_bool)": {
            "label": "mapping(address => bool)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_mapping(t_address,t_bool))": {
            "label": "mapping(address => mapping(address => bool))",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_uint256)": {
            "label": "mapping(address => uint256)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_array(t_struct(Part)2622_storage)dyn_storage)": {
            "label": "mapping(uint256 => struct LibPart.Part[])",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": {
            "label": "mapping(uint256 => mapping(address => uint256))",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_string_storage)": {
            "label": "mapping(uint256 => string)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_uint256)": {
            "label": "mapping(uint256 => uint256)",
            "numberOfBytes": "32"
          },
          "t_string_storage": {
            "label": "string",
            "numberOfBytes": "32"
          },
          "t_struct(Part)2622_storage": {
            "label": "struct LibPart.Part",
            "members": [
              {
                "label": "account",
                "type": "t_address_payable",
                "offset": 0,
                "slot": "0"
              },
              {
                "label": "value",
                "type": "t_uint96",
                "offset": 20,
                "slot": "0"
              }
            ],
            "numberOfBytes": "32"
          },
          "t_uint256": {
            "label": "uint256",
            "numberOfBytes": "32"
          },
          "t_uint8": {
            "label": "uint8",
            "numberOfBytes": "1"
          },
          "t_uint96": {
            "label": "uint96",
            "numberOfBytes": "12"
          }
        }
      }
    }
  }
}
  1. Try running the deployment again (with DEBUG enabled as before).
  2. If it still fails, can you provide the latest debug logs and network file contents?

It failed again, these are the logs:

$ yarn deploy
yarn run v1.22.5
$ npx hardhat deploy
Network: matic
Deploying contracts with account: 0x54b41be33df43aB526733eeC707FB9aED92F6d68 with proxy 0xd47e14DD9b98411754f722B4c4074e14752Ada7C
Account balance:  19150921816272168078
Deploying contract
  @openzeppelin:upgrades:core fetching deployment of implementation 34e9a3447f480c47edefb7bffc36cafbb139ddca18087d8501b1e202af061fb4 +0ms
  @openzeppelin:upgrades:core initiated deployment transaction hash: 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 merge: undefined +3s
  @openzeppelin:upgrades:core polling timeout 60000 polling interval 5000 +3ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +1ms
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +139ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +3s
  @openzeppelin:upgrades:core verifying deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +5s
  @openzeppelin:upgrades:core verifying deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +1s
  @openzeppelin:upgrades:core verifying deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +206ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +434ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +162ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +629ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +143ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +5s
  @openzeppelin:upgrades:core waiting for deployment tx mined 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 +139ms
An unexpected error occurred:

Error: Timed out waiting for implementation contract deployment to address 0xf34a9db220AF51B496c46d03d90ecBe37ff6b33c with transaction 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208

Run the function again to continue waiting for the transaction confirmation. If the problem persists, adjust the polling parameters with the timeout and pollingInterval options.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

This time it renamed the network file from unknown-137.json to polygon.json, which it never did before. These are the contents of that file, it added a new implementation record:

{
  "manifestVersion": "3.2",
  "admin": {
    "address": "0xd00E318B08f6C1F4C54892A2763E85BcA4601FC2",
    "txHash": "0xccb24d59059e0a567d967259849b09657d5fd67e37b9af60626ddf94eef51fe9"
  },
  "proxies": [
    {
      "address": "0x1A596591B4c9CD4BFA9CCc4bA6e008B591385a7F",
      "txHash": "0x1beebe0c52ec9c9ad877f119252819164774348c4ee823791f813f1db44ee459",
      "kind": "transparent"
    },
    {
      "address": "0xb7ec5739Aa6F7Bc98d97bC022d44f4Bae6B4BfEe",
      "txHash": "0x7ab151e7938add045b1b31637ea6ef2bc6702fb9c5fc7a505ec2395bee4cbee4",
      "kind": "transparent"
    },
    {
      "address": "0xcDE68E56ee53Dd9e845E4f4Be8429a58EC40c5c9",
      "txHash": "0xdefb50412c4c2676eb7b38bfd06485ddefda36b3f06ae84ddd954e1798292e64",
      "kind": "transparent"
    },
    {
      "address": "0x76900f50e52F2a21f1a71a4fEa88077BccD03A7a",
      "txHash": "0x6e8f6820c4698d290b9c8cd2f40d7831431d86cc93726fb110047a3f4129b5e0",
      "kind": "transparent"
    },
    {
      "address": "0x3CF0B19362e6B9D0a8325c625d88107Fd309a5b2",
      "txHash": "0x663fdf741a2b6f49c0d6f38ccf367a8f3a17e4e5d3090af04cd1521c5b1b955d",
      "kind": "transparent"
    },
    {
      "address": "0x9708d4e985b3d32c26742ee4eb9b348c0D7da362",
      "txHash": "0x2c056d6d8a1e40f525d4ff1c10bac8c245f9e45434b8a1737767f12c1736e866",
      "kind": "transparent"
    },
    {
      "address": "0x6eFb6833C93b664194A3670E185899325bB798b3",
      "txHash": "0x189aba3336f29e61206672dc48cfcc88e63265a9117784678b66a9ded15d656d",
      "kind": "transparent"
    },
    {
      "address": "0xA4e07F551617F1C90036F36A93e1C9F7bdeCfa54",
      "txHash": "0xb2181bd82dd88f9a12926caaa86eb8a27bd685d098e048b8bf60846608ef7728",
      "kind": "transparent"
    },
    {
      "address": "0x7067b759Db2D704586c2C9BfB0aC216b144D0612",
      "txHash": "0x3514dba6bdbe85e35310af76adaed1093da7f28dbffce558d87b3b296da33470",
      "kind": "transparent"
    },
    {
      "address": "0x30e837185751beDD61b3FCa75e6806f1DA7A07B0",
      "txHash": "0x4c389b179b3ecd1c3686abaa272b1c4f613a2b0a9869d7cc693a28e781783e8b",
      "kind": "transparent"
    }
  ],
  "impls": {
    "784f3097a373a5fb10b1ff404423f504ab902e8c9438a48bc53116810fbfcc7e": {
      "address": "0x252a4fF4E8d3192bd93F79215bc7aB5BB3cc351a",
      "txHash": "0x2a4436ad778b4ce8490addcb1c00703dd64fb97885cccd07476e2f9ed568a471",
      "layout": {
        "storage": [
          {
            "label": "_initialized",
            "offset": 0,
            "slot": "0",
            "type": "t_uint8",
            "contract": "Initializable",
            "src": "@openzeppelin\\contracts-upgradeable\\proxy\\utils\\Initializable.sol:62",
            "retypedFrom": "bool"
          },
          {
            "label": "_initializing",
            "offset": 1,
            "slot": "0",
            "type": "t_bool",
            "contract": "Initializable",
            "src": "@openzeppelin\\contracts-upgradeable\\proxy\\utils\\Initializable.sol:67"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "1",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ContextUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\ContextUpgradeable.sol:36"
          },
          {
            "label": "_owner",
            "offset": 0,
            "slot": "51",
            "type": "t_address",
            "contract": "OwnableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\access\\OwnableUpgradeable.sol:22"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "52",
            "type": "t_array(t_uint256)49_storage",
            "contract": "OwnableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\access\\OwnableUpgradeable.sol:94"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "101",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC165Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\introspection\\ERC165Upgradeable.sol:41"
          },
          {
            "label": "_balances",
            "offset": 0,
            "slot": "151",
            "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:27"
          },
          {
            "label": "_operatorApprovals",
            "offset": 0,
            "slot": "152",
            "type": "t_mapping(t_address,t_mapping(t_address,t_bool))",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:30"
          },
          {
            "label": "_uri",
            "offset": 0,
            "slot": "153",
            "type": "t_string_storage",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:33"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "154",
            "type": "t_array(t_uint256)47_storage",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:426"
          },
          {
            "label": "defaultApprovals",
            "offset": 0,
            "slot": "201",
            "type": "t_mapping(t_address,t_bool)",
            "contract": "ERC1155DefaultApproval",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155DefaultApproval.sol:8"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "202",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155DefaultApproval",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155DefaultApproval.sol:20"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "252",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155BurnableUpgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BurnableUpgradeable.sol:41"
          },
          {
            "label": "_tokenURIs",
            "offset": 0,
            "slot": "302",
            "type": "t_mapping(t_uint256,t_string_storage)",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:14"
          },
          {
            "label": "_baseURI",
            "offset": 0,
            "slot": "303",
            "type": "t_string_storage",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:17"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "304",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:69"
          },
          {
            "label": "_HASHED_NAME",
            "offset": 0,
            "slot": "354",
            "type": "t_bytes32",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:32"
          },
          {
            "label": "_HASHED_VERSION",
            "offset": 0,
            "slot": "355",
            "type": "t_bytes32",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:33"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "356",
            "type": "t_array(t_uint256)50_storage",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:120"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "406",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1271Validator",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1271\\ERC1271Validator.sol:41"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "456",
            "type": "t_array(t_uint256)50_storage",
            "contract": "Mint1155Validator",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\Mint1155Validator.sol:16"
          },
          {
            "label": "royalties",
            "offset": 0,
            "slot": "506",
            "type": "t_mapping(t_uint256,t_array(t_struct(Part)2622_storage)dyn_storage)",
            "contract": "AbstractRoyalties",
            "src": "contracts\\rarible\\royalties\\contracts\\impl\\AbstractRoyalties.sol:9"
          },
          {
            "label": "creators",
            "offset": 0,
            "slot": "507",
            "type": "t_mapping(t_uint256,t_array(t_struct(Part)2622_storage)dyn_storage)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:22"
          },
          {
            "label": "supply",
            "offset": 0,
            "slot": "508",
            "type": "t_mapping(t_uint256,t_uint256)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:23"
          },
          {
            "label": "minted",
            "offset": 0,
            "slot": "509",
            "type": "t_mapping(t_uint256,t_uint256)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:24"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "510",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:157"
          },
          {
            "label": "contractURI",
            "offset": 0,
            "slot": "560",
            "type": "t_string_storage",
            "contract": "HasContractURI",
            "src": "contracts\\rarible\\tokens\\contracts\\HasContractURI.sol:9"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "561",
            "type": "t_array(t_uint256)49_storage",
            "contract": "HasContractURI",
            "src": "contracts\\rarible\\tokens\\contracts\\HasContractURI.sol:33"
          },
          {
            "label": "name",
            "offset": 0,
            "slot": "610",
            "type": "t_string_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:12"
          },
          {
            "label": "symbol",
            "offset": 0,
            "slot": "611",
            "type": "t_string_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:13"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "612",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:88"
          },
          {
            "label": "isPrivate",
            "offset": 0,
            "slot": "662",
            "type": "t_bool",
            "contract": "IsPrivateCollection",
            "src": "contracts\\rarible\\tokens\\contracts\\IsPrivateCollection.sol:7"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "663",
            "type": "t_array(t_uint256)49_storage",
            "contract": "IsPrivateCollection",
            "src": "contracts\\rarible\\tokens\\contracts\\IsPrivateCollection.sol:9"
          },
          {
            "label": "_minters",
            "offset": 0,
            "slot": "712",
            "type": "t_mapping(t_address,t_bool)",
            "contract": "MinterAccessControl",
            "src": "contracts\\rarible\\tokens\\contracts\\access\\MinterAccessControl.sol:8"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "713",
            "type": "t_array(t_uint256)50_storage",
            "contract": "MinterAccessControl",
            "src": "contracts\\rarible\\tokens\\contracts\\access\\MinterAccessControl.sol:43"
          },
          {
            "label": "_paused",
            "offset": 0,
            "slot": "763",
            "type": "t_bool",
            "contract": "PausableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\security\\PausableUpgradeable.sol:29"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "764",
            "type": "t_array(t_uint256)49_storage",
            "contract": "PausableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\security\\PausableUpgradeable.sol:116"
          },
          {
            "label": "baseExtension",
            "offset": 0,
            "slot": "813",
            "type": "t_string_storage",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:20"
          },
          {
            "label": "cost",
            "offset": 0,
            "slot": "814",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:23"
          },
          {
            "label": "maxSupply",
            "offset": 0,
            "slot": "815",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:26"
          },
          {
            "label": "maxMintAmount",
            "offset": 0,
            "slot": "816",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:29"
          }
        ],
        "types": {
          "t_address": {
            "label": "address",
            "numberOfBytes": "20"
          },
          "t_address_payable": {
            "label": "address payable",
            "numberOfBytes": "20"
          },
          "t_array(t_struct(Part)2622_storage)dyn_storage": {
            "label": "struct LibPart.Part[]",
            "numberOfBytes": "32"
          },
          "t_array(t_uint256)47_storage": {
            "label": "uint256[47]",
            "numberOfBytes": "1504"
          },
          "t_array(t_uint256)49_storage": {
            "label": "uint256[49]",
            "numberOfBytes": "1568"
          },
          "t_array(t_uint256)50_storage": {
            "label": "uint256[50]",
            "numberOfBytes": "1600"
          },
          "t_bool": {
            "label": "bool",
            "numberOfBytes": "1"
          },
          "t_bytes32": {
            "label": "bytes32",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_bool)": {
            "label": "mapping(address => bool)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_mapping(t_address,t_bool))": {
            "label": "mapping(address => mapping(address => bool))",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_uint256)": {
            "label": "mapping(address => uint256)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_array(t_struct(Part)2622_storage)dyn_storage)": {
            "label": "mapping(uint256 => struct LibPart.Part[])",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": {
            "label": "mapping(uint256 => mapping(address => uint256))",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_string_storage)": {
            "label": "mapping(uint256 => string)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_uint256)": {
            "label": "mapping(uint256 => uint256)",
            "numberOfBytes": "32"
          },
          "t_string_storage": {
            "label": "string",
            "numberOfBytes": "32"
          },
          "t_struct(Part)2622_storage": {
            "label": "struct LibPart.Part",
            "members": [
              {
                "label": "account",
                "type": "t_address_payable",
                "offset": 0,
                "slot": "0"
              },
              {
                "label": "value",
                "type": "t_uint96",
                "offset": 20,
                "slot": "0"
              }
            ],
            "numberOfBytes": "32"
          },
          "t_uint256": {
            "label": "uint256",
            "numberOfBytes": "32"
          },
          "t_uint8": {
            "label": "uint8",
            "numberOfBytes": "1"
          },
          "t_uint96": {
            "label": "uint96",
            "numberOfBytes": "12"
          }
        }
      }
    },
    "34e9a3447f480c47edefb7bffc36cafbb139ddca18087d8501b1e202af061fb4": {
      "address": "0xf34a9db220AF51B496c46d03d90ecBe37ff6b33c",
      "txHash": "0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208",
      "layout": {
        "solcVersion": "0.8.9",
        "storage": [
          {
            "label": "_initialized",
            "offset": 0,
            "slot": "0",
            "type": "t_uint8",
            "contract": "Initializable",
            "src": "@openzeppelin\\contracts-upgradeable\\proxy\\utils\\Initializable.sol:62",
            "retypedFrom": "bool"
          },
          {
            "label": "_initializing",
            "offset": 1,
            "slot": "0",
            "type": "t_bool",
            "contract": "Initializable",
            "src": "@openzeppelin\\contracts-upgradeable\\proxy\\utils\\Initializable.sol:67"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "1",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ContextUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\ContextUpgradeable.sol:36"
          },
          {
            "label": "_owner",
            "offset": 0,
            "slot": "51",
            "type": "t_address",
            "contract": "OwnableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\access\\OwnableUpgradeable.sol:22"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "52",
            "type": "t_array(t_uint256)49_storage",
            "contract": "OwnableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\access\\OwnableUpgradeable.sol:94"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "101",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC165Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\introspection\\ERC165Upgradeable.sol:41"
          },
          {
            "label": "_balances",
            "offset": 0,
            "slot": "151",
            "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:27"
          },
          {
            "label": "_operatorApprovals",
            "offset": 0,
            "slot": "152",
            "type": "t_mapping(t_address,t_mapping(t_address,t_bool))",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:30"
          },
          {
            "label": "_uri",
            "offset": 0,
            "slot": "153",
            "type": "t_string_storage",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:33"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "154",
            "type": "t_array(t_uint256)47_storage",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:426"
          },
          {
            "label": "defaultApprovals",
            "offset": 0,
            "slot": "201",
            "type": "t_mapping(t_address,t_bool)",
            "contract": "ERC1155DefaultApproval",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155DefaultApproval.sol:8"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "202",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155DefaultApproval",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155DefaultApproval.sol:20"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "252",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155BurnableUpgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BurnableUpgradeable.sol:41"
          },
          {
            "label": "_tokenURIs",
            "offset": 0,
            "slot": "302",
            "type": "t_mapping(t_uint256,t_string_storage)",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:14"
          },
          {
            "label": "_baseURI",
            "offset": 0,
            "slot": "303",
            "type": "t_string_storage",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:17"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "304",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:69"
          },
          {
            "label": "_HASHED_NAME",
            "offset": 0,
            "slot": "354",
            "type": "t_bytes32",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:32"
          },
          {
            "label": "_HASHED_VERSION",
            "offset": 0,
            "slot": "355",
            "type": "t_bytes32",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:33"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "356",
            "type": "t_array(t_uint256)50_storage",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:120"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "406",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1271Validator",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1271\\ERC1271Validator.sol:41"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "456",
            "type": "t_array(t_uint256)50_storage",
            "contract": "Mint1155Validator",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\Mint1155Validator.sol:16"
          },
          {
            "label": "royalties",
            "offset": 0,
            "slot": "506",
            "type": "t_mapping(t_uint256,t_array(t_struct(Part)2624_storage)dyn_storage)",
            "contract": "AbstractRoyalties",
            "src": "contracts\\rarible\\royalties\\contracts\\impl\\AbstractRoyalties.sol:9"
          },
          {
            "label": "creators",
            "offset": 0,
            "slot": "507",
            "type": "t_mapping(t_uint256,t_array(t_struct(Part)2624_storage)dyn_storage)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:22"
          },
          {
            "label": "supply",
            "offset": 0,
            "slot": "508",
            "type": "t_mapping(t_uint256,t_uint256)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:23"
          },
          {
            "label": "minted",
            "offset": 0,
            "slot": "509",
            "type": "t_mapping(t_uint256,t_uint256)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:24"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "510",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:157"
          },
          {
            "label": "contractURI",
            "offset": 0,
            "slot": "560",
            "type": "t_string_storage",
            "contract": "HasContractURI",
            "src": "contracts\\rarible\\tokens\\contracts\\HasContractURI.sol:9"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "561",
            "type": "t_array(t_uint256)49_storage",
            "contract": "HasContractURI",
            "src": "contracts\\rarible\\tokens\\contracts\\HasContractURI.sol:33"
          },
          {
            "label": "name",
            "offset": 0,
            "slot": "610",
            "type": "t_string_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:12"
          },
          {
            "label": "symbol",
            "offset": 0,
            "slot": "611",
            "type": "t_string_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:13"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "612",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:88"
          },
          {
            "label": "isPrivate",
            "offset": 0,
            "slot": "662",
            "type": "t_bool",
            "contract": "IsPrivateCollection",
            "src": "contracts\\rarible\\tokens\\contracts\\IsPrivateCollection.sol:7"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "663",
            "type": "t_array(t_uint256)49_storage",
            "contract": "IsPrivateCollection",
            "src": "contracts\\rarible\\tokens\\contracts\\IsPrivateCollection.sol:9"
          },
          {
            "label": "_minters",
            "offset": 0,
            "slot": "712",
            "type": "t_mapping(t_address,t_bool)",
            "contract": "MinterAccessControl",
            "src": "contracts\\rarible\\tokens\\contracts\\access\\MinterAccessControl.sol:8"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "713",
            "type": "t_array(t_uint256)50_storage",
            "contract": "MinterAccessControl",
            "src": "contracts\\rarible\\tokens\\contracts\\access\\MinterAccessControl.sol:43"
          },
          {
            "label": "_paused",
            "offset": 0,
            "slot": "763",
            "type": "t_bool",
            "contract": "PausableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\security\\PausableUpgradeable.sol:29"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "764",
            "type": "t_array(t_uint256)49_storage",
            "contract": "PausableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\security\\PausableUpgradeable.sol:116"
          },
          {
            "label": "baseExtension",
            "offset": 0,
            "slot": "813",
            "type": "t_string_storage",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:20"
          },
          {
            "label": "cost",
            "offset": 0,
            "slot": "814",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:23"
          },
          {
            "label": "maxSupply",
            "offset": 0,
            "slot": "815",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:26"
          },
          {
            "label": "maxMintAmount",
            "offset": 0,
            "slot": "816",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:29"
          }
        ],
        "types": {
          "t_address": {
            "label": "address",
            "numberOfBytes": "20"
          },
          "t_address_payable": {
            "label": "address payable",
            "numberOfBytes": "20"
          },
          "t_array(t_struct(Part)2624_storage)dyn_storage": {
            "label": "struct LibPart.Part[]",
            "numberOfBytes": "32"
          },
          "t_array(t_uint256)47_storage": {
            "label": "uint256[47]",
            "numberOfBytes": "1504"
          },
          "t_array(t_uint256)49_storage": {
            "label": "uint256[49]",
            "numberOfBytes": "1568"
          },
          "t_array(t_uint256)50_storage": {
            "label": "uint256[50]",
            "numberOfBytes": "1600"
          },
          "t_bool": {
            "label": "bool",
            "numberOfBytes": "1"
          },
          "t_bytes32": {
            "label": "bytes32",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_bool)": {
            "label": "mapping(address => bool)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_mapping(t_address,t_bool))": {
            "label": "mapping(address => mapping(address => bool))",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_uint256)": {
            "label": "mapping(address => uint256)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_array(t_struct(Part)2624_storage)dyn_storage)": {
            "label": "mapping(uint256 => struct LibPart.Part[])",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": {
            "label": "mapping(uint256 => mapping(address => uint256))",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_string_storage)": {
            "label": "mapping(uint256 => string)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_uint256)": {
            "label": "mapping(uint256 => uint256)",
            "numberOfBytes": "32"
          },
          "t_string_storage": {
            "label": "string",
            "numberOfBytes": "32"
          },
          "t_struct(Part)2624_storage": {
            "label": "struct LibPart.Part",
            "members": [
              {
                "label": "account",
                "type": "t_address_payable",
                "offset": 0,
                "slot": "0"
              },
              {
                "label": "value",
                "type": "t_uint96",
                "offset": 20,
                "slot": "0"
              }
            ],
            "numberOfBytes": "32"
          },
          "t_uint256": {
            "label": "uint256",
            "numberOfBytes": "32"
          },
          "t_uint8": {
            "label": "uint8",
            "numberOfBytes": "1"
          },
          "t_uint96": {
            "label": "uint96",
            "numberOfBytes": "12"
          }
        }
      }
    }
  }
}

This time it renamed the network file from unknown-137.json to polygon.json

That is expected since the polygon network name was recently added in the plugin so it migrates the file to the new name.


Overall, it looks like your deployer address 0x54b41be33df43ab526733eec707fb9aed92f6d68 has a number of stuck transactions, which is preventing new transactions from going through.

The transaction hashes 0x48d8c38241943804dc347bc3535bdceade8352bae1b82722f38250b0fd615a42 (from earlier) and 0x10b0dbb2be35eebf4397112251c2284980d2a4a64a61c6c78c4aa2d89ed48208 (from the latest run) are not found on polygonscan, but they show as pending on another block explorer here and here. That shows the nonces as 19 and 20, while the most recent successful transaction from address 0x54b41be33df43aB526733eeC707FB9aED92F6d68 had nonce 10. So all of the later transactions are blocked until transaction at nonce 11 goes through.

You can either wait for the earlier transactions to go through (which may take a long time), or do the following to invalidate all of the stuck transactions and try again:

  1. Submit a new 0 MATIC transaction at nonce 11 following these steps (use 11 as the nonce).
  2. Ensure you use a proper gas price for current network conditions in your script.
  3. Replace contents of polygon.json with the following (like before, in which the entries associated with the non-deployed transaction are removed):
{
  "manifestVersion": "3.2",
  "admin": {
    "address": "0xd00E318B08f6C1F4C54892A2763E85BcA4601FC2",
    "txHash": "0xccb24d59059e0a567d967259849b09657d5fd67e37b9af60626ddf94eef51fe9"
  },
  "proxies": [
    {
      "address": "0x1A596591B4c9CD4BFA9CCc4bA6e008B591385a7F",
      "txHash": "0x1beebe0c52ec9c9ad877f119252819164774348c4ee823791f813f1db44ee459",
      "kind": "transparent"
    },
    {
      "address": "0xb7ec5739Aa6F7Bc98d97bC022d44f4Bae6B4BfEe",
      "txHash": "0x7ab151e7938add045b1b31637ea6ef2bc6702fb9c5fc7a505ec2395bee4cbee4",
      "kind": "transparent"
    },
    {
      "address": "0xcDE68E56ee53Dd9e845E4f4Be8429a58EC40c5c9",
      "txHash": "0xdefb50412c4c2676eb7b38bfd06485ddefda36b3f06ae84ddd954e1798292e64",
      "kind": "transparent"
    },
    {
      "address": "0x76900f50e52F2a21f1a71a4fEa88077BccD03A7a",
      "txHash": "0x6e8f6820c4698d290b9c8cd2f40d7831431d86cc93726fb110047a3f4129b5e0",
      "kind": "transparent"
    },
    {
      "address": "0x3CF0B19362e6B9D0a8325c625d88107Fd309a5b2",
      "txHash": "0x663fdf741a2b6f49c0d6f38ccf367a8f3a17e4e5d3090af04cd1521c5b1b955d",
      "kind": "transparent"
    },
    {
      "address": "0x9708d4e985b3d32c26742ee4eb9b348c0D7da362",
      "txHash": "0x2c056d6d8a1e40f525d4ff1c10bac8c245f9e45434b8a1737767f12c1736e866",
      "kind": "transparent"
    },
    {
      "address": "0x6eFb6833C93b664194A3670E185899325bB798b3",
      "txHash": "0x189aba3336f29e61206672dc48cfcc88e63265a9117784678b66a9ded15d656d",
      "kind": "transparent"
    },
    {
      "address": "0xA4e07F551617F1C90036F36A93e1C9F7bdeCfa54",
      "txHash": "0xb2181bd82dd88f9a12926caaa86eb8a27bd685d098e048b8bf60846608ef7728",
      "kind": "transparent"
    },
    {
      "address": "0x7067b759Db2D704586c2C9BfB0aC216b144D0612",
      "txHash": "0x3514dba6bdbe85e35310af76adaed1093da7f28dbffce558d87b3b296da33470",
      "kind": "transparent"
    },
    {
      "address": "0x30e837185751beDD61b3FCa75e6806f1DA7A07B0",
      "txHash": "0x4c389b179b3ecd1c3686abaa272b1c4f613a2b0a9869d7cc693a28e781783e8b",
      "kind": "transparent"
    }
  ],
  "impls": {
    "784f3097a373a5fb10b1ff404423f504ab902e8c9438a48bc53116810fbfcc7e": {
      "address": "0x252a4fF4E8d3192bd93F79215bc7aB5BB3cc351a",
      "txHash": "0x2a4436ad778b4ce8490addcb1c00703dd64fb97885cccd07476e2f9ed568a471",
      "layout": {
        "storage": [
          {
            "label": "_initialized",
            "offset": 0,
            "slot": "0",
            "type": "t_uint8",
            "contract": "Initializable",
            "src": "@openzeppelin\\contracts-upgradeable\\proxy\\utils\\Initializable.sol:62",
            "retypedFrom": "bool"
          },
          {
            "label": "_initializing",
            "offset": 1,
            "slot": "0",
            "type": "t_bool",
            "contract": "Initializable",
            "src": "@openzeppelin\\contracts-upgradeable\\proxy\\utils\\Initializable.sol:67"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "1",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ContextUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\ContextUpgradeable.sol:36"
          },
          {
            "label": "_owner",
            "offset": 0,
            "slot": "51",
            "type": "t_address",
            "contract": "OwnableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\access\\OwnableUpgradeable.sol:22"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "52",
            "type": "t_array(t_uint256)49_storage",
            "contract": "OwnableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\access\\OwnableUpgradeable.sol:94"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "101",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC165Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\introspection\\ERC165Upgradeable.sol:41"
          },
          {
            "label": "_balances",
            "offset": 0,
            "slot": "151",
            "type": "t_mapping(t_uint256,t_mapping(t_address,t_uint256))",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:27"
          },
          {
            "label": "_operatorApprovals",
            "offset": 0,
            "slot": "152",
            "type": "t_mapping(t_address,t_mapping(t_address,t_bool))",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:30"
          },
          {
            "label": "_uri",
            "offset": 0,
            "slot": "153",
            "type": "t_string_storage",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:33"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "154",
            "type": "t_array(t_uint256)47_storage",
            "contract": "ERC1155Upgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Upgradeable.sol:426"
          },
          {
            "label": "defaultApprovals",
            "offset": 0,
            "slot": "201",
            "type": "t_mapping(t_address,t_bool)",
            "contract": "ERC1155DefaultApproval",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155DefaultApproval.sol:8"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "202",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155DefaultApproval",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155DefaultApproval.sol:20"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "252",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155BurnableUpgradeable",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BurnableUpgradeable.sol:41"
          },
          {
            "label": "_tokenURIs",
            "offset": 0,
            "slot": "302",
            "type": "t_mapping(t_uint256,t_string_storage)",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:14"
          },
          {
            "label": "_baseURI",
            "offset": 0,
            "slot": "303",
            "type": "t_string_storage",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:17"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "304",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155BaseURI",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155BaseURI.sol:69"
          },
          {
            "label": "_HASHED_NAME",
            "offset": 0,
            "slot": "354",
            "type": "t_bytes32",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:32"
          },
          {
            "label": "_HASHED_VERSION",
            "offset": 0,
            "slot": "355",
            "type": "t_bytes32",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:33"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "356",
            "type": "t_array(t_uint256)50_storage",
            "contract": "EIP712Upgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\utils\\cryptography\\draft-EIP712Upgradeable.sol:120"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "406",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1271Validator",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1271\\ERC1271Validator.sol:41"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "456",
            "type": "t_array(t_uint256)50_storage",
            "contract": "Mint1155Validator",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\Mint1155Validator.sol:16"
          },
          {
            "label": "royalties",
            "offset": 0,
            "slot": "506",
            "type": "t_mapping(t_uint256,t_array(t_struct(Part)2622_storage)dyn_storage)",
            "contract": "AbstractRoyalties",
            "src": "contracts\\rarible\\royalties\\contracts\\impl\\AbstractRoyalties.sol:9"
          },
          {
            "label": "creators",
            "offset": 0,
            "slot": "507",
            "type": "t_mapping(t_uint256,t_array(t_struct(Part)2622_storage)dyn_storage)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:22"
          },
          {
            "label": "supply",
            "offset": 0,
            "slot": "508",
            "type": "t_mapping(t_uint256,t_uint256)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:23"
          },
          {
            "label": "minted",
            "offset": 0,
            "slot": "509",
            "type": "t_mapping(t_uint256,t_uint256)",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:24"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "510",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155Lazy",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Lazy.sol:157"
          },
          {
            "label": "contractURI",
            "offset": 0,
            "slot": "560",
            "type": "t_string_storage",
            "contract": "HasContractURI",
            "src": "contracts\\rarible\\tokens\\contracts\\HasContractURI.sol:9"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "561",
            "type": "t_array(t_uint256)49_storage",
            "contract": "HasContractURI",
            "src": "contracts\\rarible\\tokens\\contracts\\HasContractURI.sol:33"
          },
          {
            "label": "name",
            "offset": 0,
            "slot": "610",
            "type": "t_string_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:12"
          },
          {
            "label": "symbol",
            "offset": 0,
            "slot": "611",
            "type": "t_string_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:13"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "612",
            "type": "t_array(t_uint256)50_storage",
            "contract": "ERC1155Base",
            "src": "contracts\\rarible\\tokens\\contracts\\erc-1155\\ERC1155Base.sol:88"
          },
          {
            "label": "isPrivate",
            "offset": 0,
            "slot": "662",
            "type": "t_bool",
            "contract": "IsPrivateCollection",
            "src": "contracts\\rarible\\tokens\\contracts\\IsPrivateCollection.sol:7"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "663",
            "type": "t_array(t_uint256)49_storage",
            "contract": "IsPrivateCollection",
            "src": "contracts\\rarible\\tokens\\contracts\\IsPrivateCollection.sol:9"
          },
          {
            "label": "_minters",
            "offset": 0,
            "slot": "712",
            "type": "t_mapping(t_address,t_bool)",
            "contract": "MinterAccessControl",
            "src": "contracts\\rarible\\tokens\\contracts\\access\\MinterAccessControl.sol:8"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "713",
            "type": "t_array(t_uint256)50_storage",
            "contract": "MinterAccessControl",
            "src": "contracts\\rarible\\tokens\\contracts\\access\\MinterAccessControl.sol:43"
          },
          {
            "label": "_paused",
            "offset": 0,
            "slot": "763",
            "type": "t_bool",
            "contract": "PausableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\security\\PausableUpgradeable.sol:29"
          },
          {
            "label": "__gap",
            "offset": 0,
            "slot": "764",
            "type": "t_array(t_uint256)49_storage",
            "contract": "PausableUpgradeable",
            "src": "@openzeppelin\\contracts-upgradeable\\security\\PausableUpgradeable.sol:116"
          },
          {
            "label": "baseExtension",
            "offset": 0,
            "slot": "813",
            "type": "t_string_storage",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:20"
          },
          {
            "label": "cost",
            "offset": 0,
            "slot": "814",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:23"
          },
          {
            "label": "maxSupply",
            "offset": 0,
            "slot": "815",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:26"
          },
          {
            "label": "maxMintAmount",
            "offset": 0,
            "slot": "816",
            "type": "t_uint256",
            "contract": "VizualizeNft",
            "src": "contracts\\VizualizeNft.sol:29"
          }
        ],
        "types": {
          "t_address": {
            "label": "address",
            "numberOfBytes": "20"
          },
          "t_address_payable": {
            "label": "address payable",
            "numberOfBytes": "20"
          },
          "t_array(t_struct(Part)2622_storage)dyn_storage": {
            "label": "struct LibPart.Part[]",
            "numberOfBytes": "32"
          },
          "t_array(t_uint256)47_storage": {
            "label": "uint256[47]",
            "numberOfBytes": "1504"
          },
          "t_array(t_uint256)49_storage": {
            "label": "uint256[49]",
            "numberOfBytes": "1568"
          },
          "t_array(t_uint256)50_storage": {
            "label": "uint256[50]",
            "numberOfBytes": "1600"
          },
          "t_bool": {
            "label": "bool",
            "numberOfBytes": "1"
          },
          "t_bytes32": {
            "label": "bytes32",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_bool)": {
            "label": "mapping(address => bool)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_mapping(t_address,t_bool))": {
            "label": "mapping(address => mapping(address => bool))",
            "numberOfBytes": "32"
          },
          "t_mapping(t_address,t_uint256)": {
            "label": "mapping(address => uint256)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_array(t_struct(Part)2622_storage)dyn_storage)": {
            "label": "mapping(uint256 => struct LibPart.Part[])",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_mapping(t_address,t_uint256))": {
            "label": "mapping(uint256 => mapping(address => uint256))",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_string_storage)": {
            "label": "mapping(uint256 => string)",
            "numberOfBytes": "32"
          },
          "t_mapping(t_uint256,t_uint256)": {
            "label": "mapping(uint256 => uint256)",
            "numberOfBytes": "32"
          },
          "t_string_storage": {
            "label": "string",
            "numberOfBytes": "32"
          },
          "t_struct(Part)2622_storage": {
            "label": "struct LibPart.Part",
            "members": [
              {
                "label": "account",
                "type": "t_address_payable",
                "offset": 0,
                "slot": "0"
              },
              {
                "label": "value",
                "type": "t_uint96",
                "offset": 20,
                "slot": "0"
              }
            ],
            "numberOfBytes": "32"
          },
          "t_uint256": {
            "label": "uint256",
            "numberOfBytes": "32"
          },
          "t_uint8": {
            "label": "uint8",
            "numberOfBytes": "1"
          },
          "t_uint96": {
            "label": "uint96",
            "numberOfBytes": "12"
          }
        }
      }
    }
  }
}
  1. Run the deployment again.
1 Like

Thank you, that worked!

1 Like

How did you find the stuck transactions btw? Since they're not in the explorer, did you just look at the network file or is there some other way?

I looked for the hashes of the expected transactions on this block explorer https://www.oklink.com/en/polygon and compared their nonces with the most recent transaction from your address. I couldn't find the actual stuck transactions, but the non-sequential nonces implies that your wallet had tried to submit some other transactions which did not go through yet.

2 Likes

Awesome. It's strange that polygonscan doesn't show pending transactions.

Thanks for the help and the explanation. Greatly appreciated!

1 Like

Eric , thanks for this hint. Stupid polygonscan doesnt show stuck tx.