Open
Description
When deploying L2 such as arbitrum-goerli running deploy fails. When trying to deploy again it will fail saying it has already been initialized.
Error: ERROR processing /Users/code/aave/deploy-v3/deploy/02_market/01b_l2_pool_implementation.ts:
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: Contract instance has already been initialized", method="estimateGas", transaction={"from":"0xfA0e305E0f46AB04f00ae6b5f4560d61a2183E00","to":"0x48424f2779be0f03cDF6F02E17A591A9BF7AF89f","data":"0xc4d66de8000000000000000000000000b1effe2ecd929ef28ebb7897233b26a1a9b42bff","accessList":null}, error={"name":"ProviderError","_stack":"ProviderError: HttpProviderError\n at HttpProvid
``
Commenting out
// const pool = await getPool(poolArtifact.address);
// await waitForTx(await pool.initialize(addressesProviderAddress));
// console.log("Initialized L2Pool Implementation");
will make it work - need to investigate why it fails on the first attempt
Activity