InvalidDeployment [Error]: No contract at address 0x9..... (Removed from manifest): Openzeppelin-hardhat-upgrades

I am trying to deploy an upgradeable contract to the Aurora netowork with openzeppelin upgrades plugin, i am able to deploy successfully to the testnet, but i encounter the following error while trying to deploy on mainnet.

InvalidDeployment [Error]: No contract at address 0x9fc99F240198cB5a4D30E55Ea40FF3Bda057f798 (Removed from manifest)
    at waitAndValidateDeployment (/home/prometheus/genadrop/node_modules/@openzeppelin/upgrades-core/src/deployment.ts:160:15)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at fetchOrDeployGeneric (/home/prometheus/genadrop/node_modules/@openzeppelin/upgrades-core/src/impl-store.ts:70:5)
    at deployImpl (/home/prometheus/genadrop/node_modules/@openzeppelin/hardhat-upgrades/src/utils/deploy-impl.ts:96:22)
    at deployProxyImpl (/home/prometheus/genadrop/node_modules/@openzeppelin/hardhat-upgrades/src/utils/deploy-impl.ts:74:10)
    at Proxy.deployProxy (/home/prometheus/genadrop/node_modules/@openzeppelin/hardhat-upgrades/src/deploy-proxy.ts:35:28)
    at main (/home/prometheus/genadrop/scripts/deployMarket.js:9:20)

here is the output when debug is enabled, i.e when i run env DEBUG='@openzeppelin:*' npx hardhat run --network aurora scripts/deployMarket.js :

@openzeppelin:upgrades:core fetching deployment of implementation ea34f6eaf6a3d82c43d939117bee860429a744ad890ff36ef8abecda266210d4 +0ms
  @openzeppelin:upgrades:core initiated deployment transaction hash: 0x41b266cc13fc70214e97904e60d5ae2d9a2fb7bfc2ebfe219ab7dffe0edcb788 merge: undefined +9s
  @openzeppelin:upgrades:core polling timeout 60000 polling interval 5000 +2ms
  @openzeppelin:upgrades:core verifying deployment tx mined 0x41b266cc13fc70214e97904e60d5ae2d9a2fb7bfc2ebfe219ab7dffe0edcb788 +1ms
  @openzeppelin:upgrades:core tx was reverted 0x41b266cc13fc70214e97904e60d5ae2d9a2fb7bfc2ebfe219ab7dffe0edcb788 +241ms
InvalidDeployment [Error]: No contract at address 0xC291846A587cf00a7CC4AF0bc4EEdbC9c3340C36 (Removed from manifest)
    at waitAndValidateDeployment (/home/prometheus/genadrop/node_modules/@openzeppelin/upgrades-core/src/deployment.ts:160:15)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at fetchOrDeployGeneric (/home/prometheus/genadrop/node_modules/@openzeppelin/upgrades-core/src/impl-store.ts:70:5)
    at deployImpl (/home/prometheus/genadrop/node_modules/@openzeppelin/hardhat-upgrades/src/utils/deploy-impl.ts:96:22)
    at deployProxyImpl (/home/prometheus/genadrop/node_modules/@openzeppelin/hardhat-upgrades/src/utils/deploy-impl.ts:74:10)
    at Proxy.deployProxy (/home/prometheus/genadrop/node_modules/@openzeppelin/hardhat-upgrades/src/deploy-proxy.ts:35:28)
    at main (/home/prometheus/genadrop/scripts/deployMarket.js:9:20)

Network file content: name: unknown-1313161554.json

{
"manifestVersion": "3.2",
"proxies": ,
"impls": {}
}

hardhat config file:

> /* hardhat.config.js */
> require("@nomiclabs/hardhat-waffle");
> require("dotenv").config();
> require("@openzeppelin/hardhat-upgrades");
> // require("hardhat-contract-sizer");
> // require("solidity-coverage");
> // require("hardhat-gas-reporter");
> 
> console.log("ololo", process.env.REACT_APP_CeloTest_URL);
> module.exports = {
>   networks: {
>     mumbai: {
>       url: process.env.REACT_APP_MUMBAI_URL,
>       accounts: [process.env.REACT_APP_PRIV_KEY],
>     }
>     AuroraTestnet: {
>       url: process.env.REACT_APP_AuroraTest_URL,
>       accounts: [process.env.REACT_APP_PRIV_KEY],
>     },
>     aurora: {
>       url: process.env.REACT_APP_AURORA_URL,
>       accounts: [process.env.REACT_APP_PRIV_KEY],
>       chainId: 1313161554,
>     },
>     hardhat: {
>       forking: {
>         // Using Alchemy
>         url: "process.env.ALCHEMY",
>       },
>     },
>     // mainnet: {
>     //   chainId: 1,
>     //   url: process.env.PROD_ALCHEMY_KEY,
>     //   accounts: [process.env.PRIVATE_KEY],
>     // },
>   },
>   solidity: {
>     version: "0.8.4",
>     settings: {
>       optimizer: {
>         enabled: true,
>         runs: 200,
>       },
>     },
>   },
>   mocha: {
>     timeout: 70000,
>   },
> };

script content:

> async function main() {
>   const Market = await ethers.getContractFactory("Market");
> 
>     console.log("Deploying proxy ...");
>     
>   
>     const Market = await upgrades.deployProxy(Market, ["HOLA"], { kind: "uups", initializer: "initialize" });
>   
>     console.log("proxy deployed to:", Market.address);
>   }
>   
>   main()
>     .then(() => process.exit(0))
>     .catch(error => {
>       console.error(error);
>       process.exit(1);
>     });

Blockquote

:1234: Code to reproduce


:computer: Environment

The deployment of the implementation contract reverted.

My guess is you do not have enough funds in the account. That deployment shows 2,673,438 gas limit x 0.00000000007 (gas price) = 0.00018714066 ETH. But your account only has 0.00010881333 ETH.

Also note that you would need additional funds for the deployment of the proxy contract itself (which occurs after the implementation is deployed).