I'm having trouble to deploy one upgradable contract in goerli
I did it many times in that network and in other ones...
I'm getting always
**TransactionMinedTimeout [Error]: Timed out waiting for transaction 0xb4a4fb5aeafbf4b63ac54e1724027aacd41b008834140560f282702a833653e4**
at waitAndValidateDeployment (/home/dbale/_dev/_git/asset-token-contract/node_modules/@openzeppelin/upgrades-core/src/deployment.ts:70:15)
at fetchOrDeployGeneric (/home/dbale/_dev/_git/asset-token-contract/node_modules/@openzeppelin/upgrades-core/src/impl-store.ts:43:5)
at Object.deployImpl (/home/dbale/_dev/_git/asset-token-contract/node_modules/@openzeppelin/hardhat-upgrades/src/utils/deploy-impl.ts:40:10)
at Proxy.deployProxy (/home/dbale/_dev/_git/asset-token-contract/node_modules/@openzeppelin/hardhat-upgrades/src/deploy-proxy.ts:57:18) {
deployment: {
address: '0x583a9fF8948c2D74E77d97a257a14EA2Aa6Eb20E',
txHash: '0xb4a4fb5aeafbf4b63ac54e1724027aacd41b008834140560f282702a833653e4',
deployTransaction: {
hash: '0xb4a4fb5aeafbf4b63ac54e1724027aacd41b008834140560f282702a833653e4',
type: 2,
accessList: [],
blockHash: null,
blockNumber: null,
transactionIndex: null,
confirmations: 0,
from: '0x4736725fdD5F58C4aca74426042442e71CB97ef1',
.
.
.
}
}
I run it again many times thinking the plugin will resume, but I get the same error always.
This is my deployment script:
const AUTHORIZATION_ASTOKEN = '0x5750400aFDF16DCacf855e460F64b2E6670AeBdd'; // goerli // AssetTokenAuthorization contract
const XTOKENWRAPPER = '0x6124244f5F614C791ccD202E653112Ec4e2064de'; // goerli
async function main(): Promise<void> {
// deploy redemption queue contract
const RedemptionQueueFactory: ContractFactory = await ethers.getContractFactory('RedemptionQueue');
const redemptionQueueContract = (await upgrades.deployProxy(RedemptionQueueFactory, [
AUTHORIZATION_ASTOKEN,
XTOKENWRAPPER,
])) as RedemptionQueue;
await redemptionQueueContract.deployed();
console.log(
`\n\nRedemption Queue contract deployed \ntxHash: ${redemptionQueueContract.deployTransaction.hash} \naddress: ${redemptionQueueContract.address}\n`,
);
}
Can anyone help me to resolve this ? I don't know what to do...
I deleted the goerli.json inside .openzeppelin but i get the same error
The weird thing is I already deployed the same contract in other networks... also in hardhat works fine
Thanks!