Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contract deployment spurious error: UNPREDICTABLE_GAS_LIMIT #308

Open
jcortejoso opened this issue May 25, 2022 · 1 comment
Open

Contract deployment spurious error: UNPREDICTABLE_GAS_LIMIT #308

jcortejoso opened this issue May 25, 2022 · 1 comment

Comments

@jcortejoso
Copy link
Contributor

Describe the bug

Deploying to Mumbai testnet contracts version 2.0.0-rc3 I got the next error deploying TransferNFT721Condition contract (the previous contracts were deployed successfully.

Running the deployment again continued from that point and went through well, so seems like a spurious error.

Account [
  '0x73943d14131268F23b721E668911bCDDEcA9da62',
  '0x1ba74CaB4D011Fda10C26dc2bEDD810328a7fD72',
  '0x837b6AEd4d5fF4EDD356850EAdfE2a834b0e32C6',
  '0x0A0C7E21Efe52287E2f56cE4971c3cEbF5822aF3',
  '0x63D05A97C71f6EC29F2D062e83781806A5EaCe2C',
  '0x10f50eFd8F1Cae76e2f2F9f3A404E40667e7c4c6',
  '0x8AB347642bbE46BF59c185f18cd01F4D3626F54f',
  '0xA97D42F92993ceC67C96Cb944B9A19D99b1d75c0',
  '0xEbACD0f8972883C56b56316e67763196DF7fa9E4',
  '0xF2A177B1DF84D706ff1b5295404e133eEB4D67a7',
  '0x57a4a90E947Ee5524185Af448145FACb83a9CE7C',
  '0x75C2b399B2982bcc2245BADeCDE041197EEE85c6',
  '0x07826A4F5c21861822Ea4874374C81974C09fE98',
  '0xBaE71bcea4622Ee331b3bb36A86c2041832c3fE0',
  '0x1fA2f9996a4497DbD16cc0A4F013CB8546a2695E',
  '0xF79778Fd82c0030D2e8D6573Ed22046aC8136e82',
  '0x84D4bdEd3089a5f738aa13C76B0332036f1cf7FF',
  '0x41452D663dcfdD1612F11fDd10502218Fc237A75',
  '0x7BA51f978852CEF14A5553044A9Afd33a0f590eB',
  '0xc658191DB0b96C7c1d12aFA3440E9583801379ba'
]
Using default accounts
wallet {
  deployer: '0xEbACD0f8972883C56b56316e67763196DF7fa9E4',
  upgrader: '0xEbACD0f8972883C56b56316e67763196DF7fa9E4',
  governor: '0x57a4a90E947Ee5524185Af448145FACb83a9CE7C',
  ownerWallet: '0xEbACD0f8972883C56b56316e67763196DF7fa9E4',
  upgraderWallet: '0xEbACD0f8972883C56b56316e67763196DF7fa9E4',
  governorWallet: '0x57a4a90E947Ee5524185Af448145FACb83a9CE7C',
  contractNetworks: {}
}
Registry library 0xB79B38FF458098c3395f82E934E786F83AeD0F0A
Epoch library 0x659E5a4A663dEfBe79DbeA22719332c83cFBFCC8
NVM Config: [governorAddress] = 0x57a4a90E947Ee5524185Af448145FACb83a9CE7C
NVM Config: [marketplaceFee] = 0
NVM Config: [feeReceiver] = 0x0000000000000000000000000000000000000000
NeverminedConfig: 0x86b5baEB5e36A7Da7Df849eD1208735Aa3fD4e8B
NFTUpgradeable: 0x2f6286A26a701C60F0Aae022DF70093b8774EcDb
NFT721Upgradeable: 0x7735b48B036141A567Dd861b24B438111A768a8E
Warning: Potentially unsafe deployment of DIDRegistry

    You are using the `unsafeAllow.external-library-linking` flag to include external libraries.
    Make sure you have manually checked that the linked libraries are upgrade safe.

DIDRegistry: 0x0b8D1bb48A7b0D42F83307245a50be82DA1d1342
NeverminedToken: 0xD60a6BE7F36884FbD01dF57441068e2427A3090e
Dispenser: 0x15f815D79611A8Ea7d45D71FDa3F3be36e186c4B
Warning: Potentially unsafe deployment of ConditionStoreManager

    You are using the `unsafeAllow.external-library-linking` flag to include external libraries.
    Make sure you have manually checked that the linked libraries are upgrade safe.

ConditionStoreManager: 0x8929Ef8644348597924C7fC82100da5a4da88dff
TemplateStoreManager: 0xcfd3679Cd6010FC0AB86EEd41Aa4AFD92D2cE069
EscrowPaymentCondition: 0x7A2A90bf569ab54f18a21617075210Dc7A195bAD
SignCondition: 0x031ddFdD7C8B93bDdeE819121a74f4c55304D03c
HashLockCondition: 0x152C46167470bA7F52A0BFF6188B70790F07A7D3
ThresholdCondition: 0x8B435147E259808da447476031187133d4B2F38e
WhitelistingCondition: 0x853EC9f9B2a2811400a6Ac5AafA9a66Cb500Ee18
NFT721HolderCondition: 0xA2D78B3B2B98EBdcEF5Ce85CF7bfB4828A33cbF5
NFT721LockCondition: 0xE094e2e4E54FDc3CF6316C0A709a0354eD9143cF
NFT721EscrowPaymentCondition: 0x4da2eAbeB4fF4d38e46beD24f2D858708820f8C5
NFTEscrowPaymentCondition: 0xC487F82dd948B49ab8C18BcE77F4200cc3F7A681
AaveBorrowCondition: 0x6dEA8023Fe0258Cd99a27D1A4080Ccbb101EEE5B
AaveCollateralDepositCondition: 0xce5b685586F8ab03F746929d37f7C4Cb4DEba405
AaveCollateralWithdrawCondition: 0x996A1a3586C902FC032E101cd84F7Cba7C31DB34
AaveRepayCondition: 0x632DFc5e0039A3847FEeF625DA987081DBd16b3E
AgreementStoreManager: 0xe51Bb9006b1DDaCaf90F51328e03eF0AeB3ba331
LockPaymentCondition: 0x3c536a41aBc809688a3Bc43795334a76CD07bc2a
TransferDIDOwnershipCondition: 0x2E4f092a154A6431CbCBfAeDcBc4f50602F40D42
NFTAccessCondition: 0x40B7f7517e451968FE1f86C6618d7bdF62B98324
AccessProofCondition: 0x33226A1228B0093Bd54cbBC89b1Ca5aF0952A396
NFTHolderCondition: 0xF3bC354537a9556F997a72D5f6638979845F2589
NFTLockCondition: 0xb398742086B6Ddbb4906A1cf47C22b63F8D64Fae
TransferNFTCondition: 0xf40E868470B808B88661A95981838De71a35e393
AccessCondition: 0xda508A026fF7DCeC5D08b506E1D06df117f55d47
ComputeExecutionCondition: 0xbcEEA85430F2c3f36c3cF18e736a90a714C1859f
Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="execution reverted: ERC1967: new implementation is not a contract", method="estimateGas", transaction={"from":"0xEbACD0f8972883C56b56316e67763196DF7fa9E4","data":"0x608060405260405162000f4038038062000f408339810160408190526200002691620004d4565b82816200005560017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd62000603565b60008051602062000ef9833981519152146200008157634e487b7160e01b600052600160045260246000fd5b6200008f82826000620000ff565b50620000bf905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610462000603565b60008051602062000ed983398151915214620000eb57634e487b7160e01b600052600160045260246000fd5b620000f68262000170565b5050506200066c565b6200010a83620001cb565b6040516001600160a01b038416907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a26000825111806200014c5750805b156200016b576200016983836200029360201b6200026c1760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200019b620002c2565b604080516001600160a01b03928316815291841660208301520160405180910390a1620001c881620002fb565b50565b620001e1816200038b60201b620002981760201c565b620002495760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806200027260008051602062000ef983398151915260001b6200039560201b620002141760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060620002bb838360405180606001604052806027815260200162000f196027913962000398565b9392505050565b6000620002ec60008051602062000ed983398151915260001b6200039560201b620002141760201c565b546001600160a01b0316905090565b6001600160a01b038116620003625760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b606482015260840162000240565b806200027260008051602062000ed983398151915260001b6200039560201b620002141760201c565b803b15155b919050565b90565b6060620003a5846200038b565b620004025760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840162000240565b600080856001600160a01b0316856040516200041f9190620005b0565b600060405180830381855af49150503d80600081146200045c576040519150601f19603f3d011682016040523d82523d6000602084013e62000461565b606091505b509092509050620004748282866200047e565b9695505050505050565b606083156200048f575081620002bb565b825115620004a05782518084602001fd5b8160405162461bcd60e51b8152600401620002409190620005ce565b80516001600160a01b03811681146200039057600080fd5b600080600060608486031215620004e9578283fd5b620004f484620004bc565b92506200050460208501620004bc565b60408501519092506001600160401b038082111562000521578283fd5b818601915086601f83011262000535578283fd5b8151818111156200054a576200054a62000656565b604051601f8201601f19908116603f0116810190838211818310171562000575576200057562000656565b816040528281528960208487010111156200058e578586fd5b620005a183602083016020880162000627565b80955050505050509250925092565b60008251620005c481846020870162000627565b9190910192915050565b6000602082528251806020840152620005ef81604085016020870162000627565b601f01601f19169190910160400192915050565b6000828210156200062257634e487b7160e01b81526011600452602481fd5b500390565b60005b83811015620006445781810151838201526020016200062a565b83811115620001695750506000910152565b634e487b7160e01b600052604160045260246000fd5b61085d806200067c6000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100855780635c60da1b146100985780638f283970146100c9578063f851a440146100e95761005d565b3661005d5761005b6100fe565b005b61005b6100fe565b34801561007157600080fd5b5061005b6100803660046106ed565b610118565b61005b610093366004610707565b610164565b3480156100a457600080fd5b506100ad6101da565b6040516001600160a01b03909116815260200160405180910390f35b3480156100d557600080fd5b5061005b6100e43660046106ed565b610217565b3480156100f557600080fd5b506100ad610241565b6101066102a2565b610116610111610346565b610355565b565b610120610379565b6001600160a01b0316336001600160a01b0316141561015957610154816040518060200160405280600081525060006103ac565b610161565b6101616100fe565b50565b61016c610379565b6001600160a01b0316336001600160a01b031614156101cd576101c88383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250600192506103ac915050565b6101d5565b6101d56100fe565b505050565b60006101e4610379565b6001600160a01b0316336001600160a01b0316141561020c57610205610346565b9050610214565b6102146100fe565b90565b61021f610379565b6001600160a01b0316336001600160a01b03161415610159576101548161040b565b600061024b610379565b6001600160a01b0316336001600160a01b0316141561020c57610205610379565b606061029183836040518060600160405280602781526020016108016027913961045f565b9392505050565b803b15155b919050565b6102aa610379565b6001600160a01b0316336001600160a01b031614156103415760405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a4015b60405180910390fd5b610116565b600061035061053a565b905090565b3660008037600080366000845af43d6000803e808015610374573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316905090565b6103b583610562565b6040516001600160a01b038416907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a26000825111806103f65750805b156101d557610405838361026c565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f610434610379565b604080516001600160a01b03928316815291841660208301520160405180910390a161016181610611565b606061046a84610298565b6104c55760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610338565b600080856001600160a01b0316856040516104e09190610785565b600060405180830381855af49150503d806000811461051b576040519150601f19603f3d011682016040523d82523d6000602084013e610520565b606091505b509150915061053082828661069d565b9695505050505050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc61039d565b61056b81610298565b6105cd5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610338565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6001600160a01b0381166106765760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b6064820152608401610338565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036105f0565b606083156106ac575081610291565b8251156106bc5782518084602001fd5b8160405162461bcd60e51b815260040161033891906107a1565b80356001600160a01b038116811461029d57600080fd5b6000602082840312156106fe578081fd5b610291826106d6565b60008060006040848603121561071b578182fd5b610724846106d6565b9250602084013567ffffffffffffffff80821115610740578384fd5b818601915086601f830112610753578384fd5b813581811115610761578485fd5b876020828501011115610772578485fd5b6020830194508093505050509250925092565b600082516107978184602087016107d4565b9190910192915050565b60006020825282518060208401526107c08160408501602087016107d4565b601f01601f19169190910160400192915050565b60005b838110156107ef5781810151838201526020016107d7565b83811115610405575050600091015256fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122093f028255035b61df476b13b9dba3c4f06f60e51b9b4caee31680b389aef327f64736f6c63430008020033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65640000000000000000000000001fe0b39fd558b4c50a49b3fc98264438253831860000000000000000000000003892695f6cb68391b366f2ed8c6099c51b117b5f000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a41459457a000000000000000000000000ebacd0f8972883c56b56316e67763196df7fa9e40000000000000000000000008929ef8644348597924c7fc82100da5a4da88dff0000000000000000000000000b8d1bb48a7b0d42f83307245a50be82da1d13420000000000000000000000007735b48b036141a567dd861b24b438111a768a8e0000000000000000000000003c536a41abc809688a3bc43795334a76cd07bc2a00000000000000000000000000000000000000000000000000000000","accessList":null}, error={"name":"ProviderError","code":3,"_isProviderError":true,"data":"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002d455243313936373a206e657720696d706c656d656e746174696f6e206973206e6f74206120636f6e747261637400000000000000000000000000000000000000"}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.6.6)
    at Logger.makeError (/Users/jcortejoso/Projects/nevermined/contracts/node_modules/@ethersproject/logger/src.ts/index.ts:261:28)
    at Logger.throwError (/Users/jcortejoso/Projects/nevermined/contracts/node_modules/@ethersproject/logger/src.ts/index.ts:273:20)
    at checkError (/Users/jcortejoso/Projects/nevermined/contracts/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:78:20)
    at EthersProviderWrapper.<anonymous> (/Users/jcortejoso/Projects/nevermined/contracts/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:603:20)
    at step (/Users/jcortejoso/Projects/nevermined/contracts/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23)
    at Object.throw (/Users/jcortejoso/Projects/nevermined/contracts/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:29:53)
    at rejected (/Users/jcortejoso/Projects/nevermined/contracts/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:21:65)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5) {
  reason: 'execution reverted: ERC1967: new implementation is not a contract',
  code: 'UNPREDICTABLE_GAS_LIMIT',
  method: 'estimateGas',
  transaction: {
    from: '0xEbACD0f8972883C56b56316e67763196DF7fa9E4',
    data: '0x608060405260405162000f4038038062000f408339810160408190526200002691620004d4565b82816200005560017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd62000603565b60008051602062000ef9833981519152146200008157634e487b7160e01b600052600160045260246000fd5b6200008f82826000620000ff565b50620000bf905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610462000603565b60008051602062000ed983398151915214620000eb57634e487b7160e01b600052600160045260246000fd5b620000f68262000170565b5050506200066c565b6200010a83620001cb565b6040516001600160a01b038416907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a26000825111806200014c5750805b156200016b576200016983836200029360201b6200026c1760201c565b505b505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f6200019b620002c2565b604080516001600160a01b03928316815291841660208301520160405180910390a1620001c881620002fb565b50565b620001e1816200038b60201b620002981760201c565b620002495760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084015b60405180910390fd5b806200027260008051602062000ef983398151915260001b6200039560201b620002141760201c565b80546001600160a01b0319166001600160a01b039290921691909117905550565b6060620002bb838360405180606001604052806027815260200162000f196027913962000398565b9392505050565b6000620002ec60008051602062000ed983398151915260001b6200039560201b620002141760201c565b546001600160a01b0316905090565b6001600160a01b038116620003625760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b606482015260840162000240565b806200027260008051602062000ed983398151915260001b6200039560201b620002141760201c565b803b15155b919050565b90565b6060620003a5846200038b565b620004025760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b606482015260840162000240565b600080856001600160a01b0316856040516200041f9190620005b0565b600060405180830381855af49150503d80600081146200045c576040519150601f19603f3d011682016040523d82523d6000602084013e62000461565b606091505b509092509050620004748282866200047e565b9695505050505050565b606083156200048f575081620002bb565b825115620004a05782518084602001fd5b8160405162461bcd60e51b8152600401620002409190620005ce565b80516001600160a01b03811681146200039057600080fd5b600080600060608486031215620004e9578283fd5b620004f484620004bc565b92506200050460208501620004bc565b60408501519092506001600160401b038082111562000521578283fd5b818601915086601f83011262000535578283fd5b8151818111156200054a576200054a62000656565b604051601f8201601f19908116603f0116810190838211818310171562000575576200057562000656565b816040528281528960208487010111156200058e578586fd5b620005a183602083016020880162000627565b80955050505050509250925092565b60008251620005c481846020870162000627565b9190910192915050565b6000602082528251806020840152620005ef81604085016020870162000627565b601f01601f19169190910160400192915050565b6000828210156200062257634e487b7160e01b81526011600452602481fd5b500390565b60005b83811015620006445781810151838201526020016200062a565b83811115620001695750506000910152565b634e487b7160e01b600052604160045260246000fd5b61085d806200067c6000396000f3fe60806040526004361061004e5760003560e01c80633659cfe6146100655780634f1ef286146100855780635c60da1b146100985780638f283970146100c9578063f851a440146100e95761005d565b3661005d5761005b6100fe565b005b61005b6100fe565b34801561007157600080fd5b5061005b6100803660046106ed565b610118565b61005b610093366004610707565b610164565b3480156100a457600080fd5b506100ad6101da565b6040516001600160a01b03909116815260200160405180910390f35b3480156100d557600080fd5b5061005b6100e43660046106ed565b610217565b3480156100f557600080fd5b506100ad610241565b6101066102a2565b610116610111610346565b610355565b565b610120610379565b6001600160a01b0316336001600160a01b0316141561015957610154816040518060200160405280600081525060006103ac565b610161565b6101616100fe565b50565b61016c610379565b6001600160a01b0316336001600160a01b031614156101cd576101c88383838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250600192506103ac915050565b6101d5565b6101d56100fe565b505050565b60006101e4610379565b6001600160a01b0316336001600160a01b0316141561020c57610205610346565b9050610214565b6102146100fe565b90565b61021f610379565b6001600160a01b0316336001600160a01b03161415610159576101548161040b565b600061024b610379565b6001600160a01b0316336001600160a01b0316141561020c57610205610379565b606061029183836040518060600160405280602781526020016108016027913961045f565b9392505050565b803b15155b919050565b6102aa610379565b6001600160a01b0316336001600160a01b031614156103415760405162461bcd60e51b815260206004820152604260248201527f5472616e73706172656e745570677261646561626c6550726f78793a2061646d60448201527f696e2063616e6e6f742066616c6c6261636b20746f2070726f78792074617267606482015261195d60f21b608482015260a4015b60405180910390fd5b610116565b600061035061053a565b905090565b3660008037600080366000845af43d6000803e808015610374573d6000f35b3d6000fd5b60007fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035b546001600160a01b0316905090565b6103b583610562565b6040516001600160a01b038416907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a26000825111806103f65750805b156101d557610405838361026c565b50505050565b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f610434610379565b604080516001600160a01b03928316815291841660208301520160405180910390a161016181610611565b606061046a84610298565b6104c55760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b6064820152608401610338565b600080856001600160a01b0316856040516104e09190610785565b600060405180830381855af49150503d806000811461051b576040519150601f19603f3d011682016040523d82523d6000602084013e610520565b606091505b509150915061053082828661069d565b9695505050505050565b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc61039d565b61056b81610298565b6105cd5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b6064820152608401610338565b807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5b80546001600160a01b0319166001600160a01b039290921691909117905550565b6001600160a01b0381166106765760405162461bcd60e51b815260206004820152602660248201527f455243313936373a206e65772061646d696e20697320746865207a65726f206160448201526564647265737360d01b6064820152608401610338565b807fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036105f0565b606083156106ac575081610291565b8251156106bc5782518084602001fd5b8160405162461bcd60e51b815260040161033891906107a1565b80356001600160a01b038116811461029d57600080fd5b6000602082840312156106fe578081fd5b610291826106d6565b60008060006040848603121561071b578182fd5b610724846106d6565b9250602084013567ffffffffffffffff80821115610740578384fd5b818601915086601f830112610753578384fd5b813581811115610761578485fd5b876020828501011115610772578485fd5b6020830194508093505050509250925092565b600082516107978184602087016107d4565b9190910192915050565b60006020825282518060208401526107c08160408501602087016107d4565b601f01601f19169190910160400192915050565b60005b838110156107ef5781810151838201526020016107d7565b83811115610405575050600091015256fe416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a264697066735822122093f028255035b61df476b13b9dba3c4f06f60e51b9b4caee31680b389aef327f64736f6c63430008020033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c65640000000000000000000000001fe0b39fd558b4c50a49b3fc98264438253831860000000000000000000000003892695f6cb68391b366f2ed8c6099c51b117b5f000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a41459457a000000000000000000000000ebacd0f8972883c56b56316e67763196df7fa9e40000000000000000000000008929ef8644348597924c7fc82100da5a4da88dff0000000000000000000000000b8d1bb48a7b0d42f83307245a50be82da1d13420000000000000000000000007735b48b036141a567dd861b24b438111a768a8e0000000000000000000000003c536a41abc809688a3bc43795334a76cd07bc2a00000000000000000000000000000000000000000000000000000000',
    accessList: null
  },
  error: ProviderError: execution reverted: ERC1967: new implementation is not a contract
      at HttpProvider.request (/Users/jcortejoso/Projects/nevermined/contracts/node_modules/hardhat/src/internal/core/providers/http.ts:78:19)
      at HDWalletProvider.request (/Users/jcortejoso/Projects/nevermined/contracts/node_modules/hardhat/src/internal/core/providers/accounts.ts:188:34)
      at runMicrotasks (<anonymous>)
      at processTicksAndRejections (internal/process/task_queues.js:95:5)
      at EthersProviderWrapper.send (/Users/jcortejoso/Projects/nevermined/contracts/node_modules/@nomiclabs/hardhat-ethers/src/internal/ethers-provider-wrapper.ts:13:20)
}

To Reproduce

Happens randomly when deploying to testnets. My impression is that it can happen easier in Mumbai than Alfajores.

Expected behavior

No error.

@mrsmkl
Copy link
Contributor

mrsmkl commented May 25, 2022

Looks like something failed when deploying the proxy. There isn't much we can do since the OZ library handles this. Running the deploy script again should retry deploying the failed contract...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants