I am not able to deploy a proxy contract on a EVM compatible network

error:+++++++ ProviderError: Internal error
at HttpProvider.request (/workspaces/contracts/node_modules/hardhat/src/internal/core/providers/http.ts:90:21)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async HardhatEthersProvider.estimateGas (/workspaces/contracts/node_modules/@nomicfoundation/hardhat-ethers/src/internal/hardhat-ethers-provider.ts:246:27)
at async /workspaces/contracts/node_modules/@nomicfoundation/hardhat-ethers/src/signers.ts:235:35
at async Promise.all (index 0)
at async HardhatEthersSigner._sendUncheckedTransaction (/workspaces/contracts/node_modules/@nomicfoundation/hardhat-ethers/src/signers.ts:256:7)
at async HardhatEthersSigner.sendTransaction (/workspaces/contracts/node_modules/@nomicfoundation/hardhat-ethers/src/signers.ts:125:18)
at async ContractFactory.deploy (/workspaces/contracts/node_modules/ethers/src.ts/contract/factory.ts:111:24)
at async ethersDeploy (/workspaces/contracts/node_modules/@openzeppelin/hardhat-upgrades/src/utils/deploy.ts:32:28)
at async deploy (/workspaces/contracts/node_modules/@openzeppelin/hardhat-upgrades/src/utils/deploy.ts:24:12)
TypeError: Cannot destructure property 'state' of '(intermediate value)' as it is undefined.
at main (/workspaces/contracts/scripts/deployState.ts:9:11)

1 Like