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

The code hash is not known #304

Closed
GopherJ opened this issue Jun 7, 2023 · 18 comments
Closed

The code hash is not known #304

GopherJ opened this issue Jun 7, 2023 · 18 comments

Comments

@GopherJ
Copy link

GopherJ commented Jun 7, 2023

trying to deploy https://app.para.space to zksync (goerli), I work on this PR: parallel-finance/paraspace-core#393. Although most of the contracts work, I do get some strange error like:

The code hash is not known

while calling PoolAddressProvider#updatePoolImpl: https://github.com/para-space/paraspace-core/blob/c0931e1a35d6ba4c6c978ee14fca2e42cab6be86/contracts/protocol/configuration/PoolAddressesProvider.sol#L105-L113

    await waitForTx(
      await addressesProvider.updatePoolImpl(
        [
          {
            implAddress: poolParameters.address,
            action: 0,
            functionSelectors: poolParametersSelectors,
          },
        ],
        ZERO_ADDRESS,
        "0x",
        GLOBAL_OVERRIDES
      )
    );
@GopherJ
Copy link
Author

GopherJ commented Jun 7, 2023

I can find PoolAddressProvider on zksync era explorer: https://goerli.explorer.zksync.io/address/0x0291BFc54EE9048D97Ea88be1230751865121fE1, it's deployed so I dont know why this error is raised

@GopherJ
Copy link
Author

GopherJ commented Jun 7, 2023

Full error:

<ref *1> Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (error={"reason":"execution reverted: The code hash is not known","code":"UNPREDICTABLE_GAS_LIMIT","method":"estimateGas","transaction":{"from":"0x018281853eCC543Aa251732e8FDaa7323247eBeB","maxPriorityFeePerGas":{"type":"BigNumber","hex":"0x59682f00"},"maxFeePerGas":{"type":"BigNumber","hex":"0x77359400"},"to":"0x0291BFc54EE9048D97Ea88be1230751865121fE1","data":"0xf3af858a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000009b9947007427c489c5598dcc1848b0f2d43d47b400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000001163c9b86000000000000000000000000000000000000000000000000000000000f5cca44200000000000000000000000000000000000000000000000000000000bf92857c00000000000000000000000000000000000000000000000000000000ce40b01200000000000000000000000000000000000000000000000000000000ac6abd4e000000000000000000000000000000000000000000000000000000009cd19996000000000000000000000000000000000000000000000000000000007b2fa0ae0000000000000000000000000000000000000000000000000000000013fb377100000000000000000000000000000000000000000000000000000000562f59ec00000000000000000000000000000000000000000000000000000000ffaf1eef00000000000000000000000000000000000000000000000000000000b6f468b8000000000000000000000000000000000000000000000000000000006a5c269000000000000000000000000000000000000000000000000000000000f51e435b00000000000000000000000000000000000000000000000000000000e81a19f2000000000000000000000000000000000000000000000000000000001d2118f900000000000000000000000000000000000000000000000000000000623396af000000000000000000000000000000000000000000000000000000005a41954f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","type":2,"accessList":null},"error":{"reason":"processing response error","code":"SERVER_ERROR","body":"{\"jsonrpc\":\"2.0\",\"error\":{\"code\":3,\"message\":\"execution reverted: The code hash is not known\",\"data\":\"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a54686520636f64652068617368206973206e6f74206b6e6f776e000000000000\"},\"id\":57}\n","error":{"code":3,"data":"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a54686520636f64652068617368206973206e6f74206b6e6f776e000000000000"},"requestBody":"{\"method\":\"eth_estimateGas\",\"params\":[{\"type\":\"0x2\",\"maxFeePerGas\":\"0x77359400\",\"maxPriorityFeePerGas\":\"0x59682f00\",\"from\":\"0x018281853ecc543aa251732e8fdaa7323247ebeb\",\"to\":\"0x0291bfc54ee9048d97ea88be1230751865121fe1\",\"data\":\"0xf3af858a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000009b9947007427c489c5598dcc1848b0f2d43d47b400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000001163c9b86000000000000000000000000000000000000000000000000000000000f5cca44200000000000000000000000000000000000000000000000000000000bf92857c00000000000000000000000000000000000000000000000000000000ce40b01200000000000000000000000000000000000000000000000000000000ac6abd4e000000000000000000000000000000000000000000000000000000009cd19996000000000000000000000000000000000000000000000000000000007b2fa0ae0000000000000000000000000000000000000000000000000000000013fb377100000000000000000000000000000000000000000000000000000000562f59ec00000000000000000000000000000000000000000000000000000000ffaf1eef00000000000000000000000000000000000000000000000000000000b6f468b8000000000000000000000000000000000000000000000000000000006a5c269000000000000000000000000000000000000000000000000000000000f51e435b00000000000000000000000000000000000000000000000000000000e81a19f2000000000000000000000000000000000000000000000000000000001d2118f900000000000000000000000000000000000000000000000000000000623396af000000000000000000000000000000000000000000000000000000005a41954f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\"}],\"id\":57,\"jsonrpc\":\"2.0\"}","requestMethod":"POST","url":"https://zksync2-testnet.zksync.dev"}}, tx={"data":"0xf3af858a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000009b9947007427c489c5598dcc1848b0f2d43d47b400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000001163c9b86000000000000000000000000000000000000000000000000000000000f5cca44200000000000000000000000000000000000000000000000000000000bf92857c00000000000000000000000000000000000000000000000000000000ce40b01200000000000000000000000000000000000000000000000000000000ac6abd4e000000000000000000000000000000000000000000000000000000009cd19996000000000000000000000000000000000000000000000000000000007b2fa0ae0000000000000000000000000000000000000000000000000000000013fb377100000000000000000000000000000000000000000000000000000000562f59ec00000000000000000000000000000000000000000000000000000000ffaf1eef00000000000000000000000000000000000000000000000000000000b6f468b8000000000000000000000000000000000000000000000000000000006a5c269000000000000000000000000000000000000000000000000000000000f51e435b00000000000000000000000000000000000000000000000000000000e81a19f2000000000000000000000000000000000000000000000000000000001d2118f900000000000000000000000000000000000000000000000000000000623396af000000000000000000000000000000000000000000000000000000005a41954f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","to":{},"maxFeePerGas":{"type":"BigNumber","hex":"0x77359400"},"maxPriorityFeePerGas":{"type":"BigNumber","hex":"0x59682f00"},"from":"0x018281853eCC543Aa251732e8FDaa7323247eBeB","type":2,"nonce":{},"gasLimit":{},"chainId":{}}, code=UNPREDICTABLE_GAS_LIMIT, version=abstract-signer/5.7.0)
    at Logger.makeError (/home/cj/Projects/paraspace-core/node_modules/@ethersproject/logger/src.ts/index.ts:269:28)
    at Logger.throwError (/home/cj/Projects/paraspace-core/node_modules/@ethersproject/logger/src.ts/index.ts:281:20)
    at /home/cj/Projects/paraspace-core/node_modules/@ethersproject/abstract-signer/src.ts/index.ts:301:31
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Promise.all (index 7) {
  reason: 'cannot estimate gas; transaction may fail or may require manual gas limit',
  code: 'UNPREDICTABLE_GAS_LIMIT',
  error: 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: The code hash is not known", method="estimateGas", transaction={"from":"0x018281853eCC543Aa251732e8FDaa7323247eBeB","maxPriorityFeePerGas":{"type":"BigNumber","hex":"0x59682f00"},"maxFeePerGas":{"type":"BigNumber","hex":"0x77359400"},"to":"0x0291BFc54EE9048D97Ea88be1230751865121fE1","data":"0xf3af858a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000009b9947007427c489c5598dcc1848b0f2d43d47b400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000001163c9b86000000000000000000000000000000000000000000000000000000000f5cca44200000000000000000000000000000000000000000000000000000000bf92857c00000000000000000000000000000000000000000000000000000000ce40b01200000000000000000000000000000000000000000000000000000000ac6abd4e000000000000000000000000000000000000000000000000000000009cd19996000000000000000000000000000000000000000000000000000000007b2fa0ae0000000000000000000000000000000000000000000000000000000013fb377100000000000000000000000000000000000000000000000000000000562f59ec00000000000000000000000000000000000000000000000000000000ffaf1eef00000000000000000000000000000000000000000000000000000000b6f468b8000000000000000000000000000000000000000000000000000000006a5c269000000000000000000000000000000000000000000000000000000000f51e435b00000000000000000000000000000000000000000000000000000000e81a19f2000000000000000000000000000000000000000000000000000000001d2118f900000000000000000000000000000000000000000000000000000000623396af000000000000000000000000000000000000000000000000000000005a41954f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","type":2,"accessList":null}, error={"reason":"processing response error","code":"SERVER_ERROR","body":"{\"jsonrpc\":\"2.0\",\"error\":{\"code\":3,\"message\":\"execution reverted: The code hash is not known\",\"data\":\"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a54686520636f64652068617368206973206e6f74206b6e6f776e000000000000\"},\"id\":57}\n","error":{"code":3,"data":"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a54686520636f64652068617368206973206e6f74206b6e6f776e000000000000"},"requestBody":"{\"method\":\"eth_estimateGas\",\"params\":[{\"type\":\"0x2\",\"maxFeePerGas\":\"0x77359400\",\"maxPriorityFeePerGas\":\"0x59682f00\",\"from\":\"0x018281853ecc543aa251732e8fdaa7323247ebeb\",\"to\":\"0x0291bfc54ee9048d97ea88be1230751865121fe1\",\"data\":\"0xf3af858a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000009b9947007427c489c5598dcc1848b0f2d43d47b400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000001163c9b86000000000000000000000000000000000000000000000000000000000f5cca44200000000000000000000000000000000000000000000000000000000bf92857c00000000000000000000000000000000000000000000000000000000ce40b01200000000000000000000000000000000000000000000000000000000ac6abd4e000000000000000000000000000000000000000000000000000000009cd19996000000000000000000000000000000000000000000000000000000007b2fa0ae0000000000000000000000000000000000000000000000000000000013fb377100000000000000000000000000000000000000000000000000000000562f59ec00000000000000000000000000000000000000000000000000000000ffaf1eef00000000000000000000000000000000000000000000000000000000b6f468b8000000000000000000000000000000000000000000000000000000006a5c269000000000000000000000000000000000000000000000000000000000f51e435b00000000000000000000000000000000000000000000000000000000e81a19f2000000000000000000000000000000000000000000000000000000001d2118f900000000000000000000000000000000000000000000000000000000623396af000000000000000000000000000000000000000000000000000000005a41954f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\"}],\"id\":57,\"jsonrpc\":\"2.0\"}","requestMethod":"POST","url":"https://zksync2-testnet.zksync.dev"}, code=UNPREDICTABLE_GAS_LIMIT, version=providers/5.7.2)
      at Logger.makeError (/home/cj/Projects/paraspace-core/node_modules/@ethersproject/logger/src.ts/index.ts:269:28)
      at Logger.throwError (/home/cj/Projects/paraspace-core/node_modules/@ethersproject/logger/src.ts/index.ts:281:20)
      at checkError (/home/cj/Projects/paraspace-core/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:78:20)
      at Provider.<anonymous> (/home/cj/Projects/paraspace-core/node_modules/@ethersproject/providers/src.ts/json-rpc-provider.ts:642:20)
      at step (/home/cj/Projects/paraspace-core/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:48:23)
      at Object.throw (/home/cj/Projects/paraspace-core/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:29:53)
      at rejected (/home/cj/Projects/paraspace-core/node_modules/@ethersproject/providers/lib/json-rpc-provider.js:21:65)
      at processTicksAndRejections (node:internal/process/task_queues:95:5) {
    reason: 'execution reverted: The code hash is not known',
    code: 'UNPREDICTABLE_GAS_LIMIT',
    method: 'estimateGas',
    transaction: {
      from: '0x018281853eCC543Aa251732e8FDaa7323247eBeB',
      maxPriorityFeePerGas: BigNumber { value: "1500000000" },
      maxFeePerGas: BigNumber { value: "2000000000" },
      to: '0x0291BFc54EE9048D97Ea88be1230751865121fE1',
      data: '0xf3af858a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000009b9947007427c489c5598dcc1848b0f2d43d47b400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000001163c9b86000000000000000000000000000000000000000000000000000000000f5cca44200000000000000000000000000000000000000000000000000000000bf92857c00000000000000000000000000000000000000000000000000000000ce40b01200000000000000000000000000000000000000000000000000000000ac6abd4e000000000000000000000000000000000000000000000000000000009cd19996000000000000000000000000000000000000000000000000000000007b2fa0ae0000000000000000000000000000000000000000000000000000000013fb377100000000000000000000000000000000000000000000000000000000562f59ec00000000000000000000000000000000000000000000000000000000ffaf1eef00000000000000000000000000000000000000000000000000000000b6f468b8000000000000000000000000000000000000000000000000000000006a5c269000000000000000000000000000000000000000000000000000000000f51e435b00000000000000000000000000000000000000000000000000000000e81a19f2000000000000000000000000000000000000000000000000000000001d2118f900000000000000000000000000000000000000000000000000000000623396af000000000000000000000000000000000000000000000000000000005a41954f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
      type: 2,
      accessList: null
    },
    error: Error: processing response error (body="{\"jsonrpc\":\"2.0\",\"error\":{\"code\":3,\"message\":\"execution reverted: The code hash is not known\",\"data\":\"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a54686520636f64652068617368206973206e6f74206b6e6f776e000000000000\"},\"id\":57}\n", error={"code":3,"data":"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a54686520636f64652068617368206973206e6f74206b6e6f776e000000000000"}, requestBody="{\"method\":\"eth_estimateGas\",\"params\":[{\"type\":\"0x2\",\"maxFeePerGas\":\"0x77359400\",\"maxPriorityFeePerGas\":\"0x59682f00\",\"from\":\"0x018281853ecc543aa251732e8fdaa7323247ebeb\",\"to\":\"0x0291bfc54ee9048d97ea88be1230751865121fe1\",\"data\":\"0xf3af858a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000009b9947007427c489c5598dcc1848b0f2d43d47b400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000001163c9b86000000000000000000000000000000000000000000000000000000000f5cca44200000000000000000000000000000000000000000000000000000000bf92857c00000000000000000000000000000000000000000000000000000000ce40b01200000000000000000000000000000000000000000000000000000000ac6abd4e000000000000000000000000000000000000000000000000000000009cd19996000000000000000000000000000000000000000000000000000000007b2fa0ae0000000000000000000000000000000000000000000000000000000013fb377100000000000000000000000000000000000000000000000000000000562f59ec00000000000000000000000000000000000000000000000000000000ffaf1eef00000000000000000000000000000000000000000000000000000000b6f468b8000000000000000000000000000000000000000000000000000000006a5c269000000000000000000000000000000000000000000000000000000000f51e435b00000000000000000000000000000000000000000000000000000000e81a19f2000000000000000000000000000000000000000000000000000000001d2118f900000000000000000000000000000000000000000000000000000000623396af000000000000000000000000000000000000000000000000000000005a41954f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000\"}],\"id\":57,\"jsonrpc\":\"2.0\"}", requestMethod="POST", url="https://zksync2-testnet.zksync.dev", code=SERVER_ERROR, version=web/5.7.1)
        at Logger.makeError (/home/cj/Projects/paraspace-core/node_modules/@ethersproject/logger/src.ts/index.ts:269:28)
        at Logger.throwError (/home/cj/Projects/paraspace-core/node_modules/@ethersproject/logger/src.ts/index.ts:281:20)
        at /home/cj/Projects/paraspace-core/node_modules/@ethersproject/web/src.ts/index.ts:341:28
        at step (/home/cj/Projects/paraspace-core/node_modules/@ethersproject/web/lib/index.js:33:23)
        at Object.next (/home/cj/Projects/paraspace-core/node_modules/@ethersproject/web/lib/index.js:14:53)
        at fulfilled (/home/cj/Projects/paraspace-core/node_modules/@ethersproject/web/lib/index.js:5:58)
        at processTicksAndRejections (node:internal/process/task_queues:95:5) {
      reason: 'processing response error',
      code: 'SERVER_ERROR',
      body: '{"jsonrpc":"2.0","error":{"code":3,"message":"execution reverted: The code hash is not known","data":"0x08c379a00000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001a54686520636f64652068617368206973206e6f74206b6e6f776e000000000000"},"id":57}\n',
      error: [Error],
      requestBody: '{"method":"eth_estimateGas","params":[{"type":"0x2","maxFeePerGas":"0x77359400","maxPriorityFeePerGas":"0x59682f00","from":"0x018281853ecc543aa251732e8fdaa7323247ebeb","to":"0x0291bfc54ee9048d97ea88be1230751865121fe1","data":"0xf3af858a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000009b9947007427c489c5598dcc1848b0f2d43d47b400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000001163c9b86000000000000000000000000000000000000000000000000000000000f5cca44200000000000000000000000000000000000000000000000000000000bf92857c00000000000000000000000000000000000000000000000000000000ce40b01200000000000000000000000000000000000000000000000000000000ac6abd4e000000000000000000000000000000000000000000000000000000009cd19996000000000000000000000000000000000000000000000000000000007b2fa0ae0000000000000000000000000000000000000000000000000000000013fb377100000000000000000000000000000000000000000000000000000000562f59ec00000000000000000000000000000000000000000000000000000000ffaf1eef00000000000000000000000000000000000000000000000000000000b6f468b8000000000000000000000000000000000000000000000000000000006a5c269000000000000000000000000000000000000000000000000000000000f51e435b00000000000000000000000000000000000000000000000000000000e81a19f2000000000000000000000000000000000000000000000000000000001d2118f900000000000000000000000000000000000000000000000000000000623396af000000000000000000000000000000000000000000000000000000005a41954f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"}],"id":57,"jsonrpc":"2.0"}',
      requestMethod: 'POST',
      url: 'https://zksync2-testnet.zksync.dev'
    }
  },
  tx: {
    data: '0xf3af858a000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000340000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000009b9947007427c489c5598dcc1848b0f2d43d47b400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000001163c9b86000000000000000000000000000000000000000000000000000000000f5cca44200000000000000000000000000000000000000000000000000000000bf92857c00000000000000000000000000000000000000000000000000000000ce40b01200000000000000000000000000000000000000000000000000000000ac6abd4e000000000000000000000000000000000000000000000000000000009cd19996000000000000000000000000000000000000000000000000000000007b2fa0ae0000000000000000000000000000000000000000000000000000000013fb377100000000000000000000000000000000000000000000000000000000562f59ec00000000000000000000000000000000000000000000000000000000ffaf1eef00000000000000000000000000000000000000000000000000000000b6f468b8000000000000000000000000000000000000000000000000000000006a5c269000000000000000000000000000000000000000000000000000000000f51e435b00000000000000000000000000000000000000000000000000000000e81a19f2000000000000000000000000000000000000000000000000000000001d2118f900000000000000000000000000000000000000000000000000000000623396af000000000000000000000000000000000000000000000000000000005a41954f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000',
    to: Promise { '0x0291BFc54EE9048D97Ea88be1230751865121fE1' },
    maxFeePerGas: BigNumber { value: "2000000000" },
    maxPriorityFeePerGas: BigNumber { value: "1500000000" },
    from: '0x018281853eCC543Aa251732e8FDaa7323247eBeB',
    type: 2,
    nonce: Promise { 73 },
    gasLimit: Promise { <rejected> [Circular *1] },
    chainId: Promise { 280 }
  }
}

@GopherJ
Copy link
Author

GopherJ commented Jun 7, 2023

My zksolc setting is:

  zksolc: {
    version: "1.3.9",
    compilerSource: "binary",
    settings: {
      libraries: {
        "contracts/protocol/libraries/logic/BorrowLogic.sol": {
          BorrowLogic: "0xaD86359dD586e49cCe0824FA8FF4C2FA5641028E",
        },
        "contracts/protocol/libraries/logic/SupplyLogic.sol": {
          SupplyLogic: "0x446301D447dF65B24819f5227B19Eb6023800726",
        },
        "contracts/protocol/libraries/logic/LiquidationLogic.sol": {
          LiquidationLogic: "0xBC0bD558fc45e958F5A677194FF417df5F974120",
        },
        "contracts/protocol/libraries/logic/AuctionLogic.sol": {
          AuctionLogic: "0xbae95747703e8982Deb130CBE7699d6cb802Cad9",
        },
        "contracts/protocol/libraries/logic/PositionMoverLogic.sol": {
          PositionMoverLogic: "0xbB22F95f1FF15Bc591E4f98119BAdc0863A96d42",
        },
        "contracts/protocol/libraries/logic/PoolLogic.sol": {
          PoolLogic: "0xd00c913eCe632F8f0BB5273217F74111F9601a53",
        },
        "contracts/protocol/libraries/logic/MarketplaceLogic.sol": {
          MarketplaceLogic: "0x37Dd76cF43Fcb437D810A656298718986128084A",
        },
        "contracts/protocol/libraries/logic/FlashClaimLogic.sol": {
          FlashClaimLogic: "0xD8429625d62B6cC191412a95168D950A0A839b9E",
        },
        "contracts/protocol/tokenization/libraries/ApeStakingLogic.sol": {
          ApeStakingLogic: "0xf148Ff9c4D61265b755D21a2296bFF18D658540f",
        },
        "contracts/protocol/tokenization/libraries/MintableERC721Logic.sol": {
          MintableERC721Logic: "0xE76Ac68c75C7eeC0D144D4E6F8b936CCA80C8A84",
        },
        "contracts/protocol/libraries/logic/ConfiguratorLogic.sol": {
          ConfiguratorLogic: "0xB7caE5b8890624AFc0712720aE2830BE99c69B29",
        },
        "contracts/dependencies/blur-exchange/MerkleVerifier.sol": {
          MerkleVerifier: "0x6362FE37Cd3D77f5F4EdEf624aFdAE08C76aa503",
        },
      },
    },
  },

@GopherJ
Copy link
Author

GopherJ commented Jun 9, 2023

hi @ly0va would you be able to help? looking forward to the zksync deployment

@Zhenyazhd
Copy link

Hi! I'm currently struggling with the same error. Maybe you have success, how to fix it?

I just found is that there is a _ensureBytecodeIsKnown function in the contractDeployer.sol (zksync system contracts) that causes "The code hash is not known". But now I can't figure out what this check is for...

@uF4No
Copy link

uF4No commented Jun 13, 2023

Can you confirm the libraries defined in the hardhat config file are deployed to zkSync as well and that the addresses are correct?

@mpopovac-txfusion
Copy link
Contributor

Hey! Based on the error message you are getting, it seems that this issue is not connected to the hardhat plugins. Instead, the execution is reverted from the system contract deployer.
Problem occurs when you try to deploy ParaProxy contract from another contract with the bytecode that the contract deployer is not aware of. Check this example where the bytecode of the contract that will be deployed from another contract is sent to the ethers.constants.AddressZero: https://github.com/matter-labs/era-contracts/blob/main/ethereum/scripts/initialize-weth-bridges.ts#L160. Here, we are calling requestL2Transaction from L1, but you can trigger the transaction directly on L2.

@GopherJ
Copy link
Author

GopherJ commented Jun 13, 2023

Can you confirm the libraries defined in the hardhat config file are deployed to zkSync as well and that the addresses are correct?

I checked they are definitely deployed to zksync, the addresses should be correct

@GopherJ
Copy link
Author

GopherJ commented Jun 14, 2023

@mpopovac-txfusion hi, thanks for the hints and I tried it on my branch, now I get a very different error:
error.log

now the issue is:

the error is quite confusing and I didn't find what does it mean. What I changed from before is adding this new function:

export const recordByteCodeOnL1 = async (
  name: string,
  libraries?: Libraries
) => {
  let artifact: Artifact;
  const signer = (await getFirstSigner()) as zk.Wallet;
  if (DRE.network.zksync) {
    const deployer = new Deployer(DRE, signer as zk.Wallet);
    artifact = await deployer.loadArtifact(name);
  } else {
    artifact = await DRE.artifacts.readArtifact(name);
    if (libraries) {
      artifact.bytecode = linkLibraries(
        artifact,
        normalizeLibraryAddresses(libraries)
      );
    }
  }
  await signer.requestExecute({
    contractAddress: ZERO_ADDRESS,
    calldata: "0x",
    l2GasLimit: GLOBAL_OVERRIDES.gasLimit,
    l2Value: "0",
    factoryDeps: [artifact.bytecode],
  });
};

and call it before call updatePoolImpl, and seems this is a random error, sometimes I get it sometimes no. Now I'm blocked by: https://github.com/para-space/paraspace-core/blob/feat/zksync-era/scripts/deployments/steps/07_poolConfigurator.ts

@mpopovac-txfusion
Copy link
Contributor

Are you sure you are getting a good signer here? Because based on the error it seems that you are missing some methods.

@GopherJ
Copy link
Author

GopherJ commented Jun 25, 2023

hi @mpopovac-txfusion I dont think it's a signer issue here because similar deployment script I can successfully deploy to goerli

The main issue is more:

I cannot get an error message telling me what to do next

The error message is very verbose and containing no information

@mpopovac-txfusion
Copy link
Contributor

The reason I asked for the signer is because requestExecute method of the zk.Wallet calls getPriorityOpResponse on the L2 provider.
Based on the implementation of the getFirstSigner method, you're obtaining Ethers Provider Wrapper instance and specifing its type as zk.Provider. What I would try here is to create a zk provider in similar way you are doing it with L1 provider: new zk.Provider(DRE.network.config.url). Let me know if this help.
Also, maybe you can try to send transaction directly on L2 and without using requestExecute (since it is calling zksync contract on L1).

@GopherJ
Copy link
Author

GopherJ commented Jun 28, 2023

hi @mpopovac-txfusion yesterday I tried your advice, though it's still not working. I'm facing huge issue as the rpc server will not give any error message.

basically I dont know what to fix, and I dont know what I'm doing right or wrong....this is really annoying

would zksync devs be able to sync with me? my tg handle is: https://t.me/alexcj96

@uF4No
Copy link

uF4No commented Jun 28, 2023

@GopherJ please share the error you're getting now and the specific script/line that is failing.

Also, have you tried running this using the local-setup?

@GopherJ
Copy link
Author

GopherJ commented Jun 29, 2023

Hi @uF4No I'll try that, I had some errors with local-setup but I think I need to try it.

The error is quite similar to error.log, the issue is:

since there is no error message, I dont know what to do next

@GopherJ
Copy link
Author

GopherJ commented Jul 14, 2023

@uF4No @mpopovac-txfusion I managed to return back to this topic and made some progress. Now in ParaSpace we can successfully deploy to step 11, if this step succeed then it's mostly done, the rest of deployment step is optional.

The way I debug is to launch local-setup and use traceTransaction rpc to debug:

curl -X POST  -H "Content-Type: application/json"  \
--data '{"jsonrpc":"2.0", "id":2, "method": "debug_traceTransaction", "params": ["0x9a556b3e5d40f00a6004535438d1c3648f21755a84420f5ac9b26ff41c59b123"] }' \
"http://127.0.0.1:3050" > trace.json

Now I'm failing on initReserves call, here the trace:
trace.json.zip

here the js call

The bytecode hash asking is: 0x0100017b8b1fc76f68b173556b3d9ac73280e00cfad452dc1c706a5d29b756da, and constructor args is: 0x000000000000000000000000a6264882726544545c44b40565d7c804760cb88f

but in artifacts-zk there is no bytecode with such hash

@GopherJ
Copy link
Author

GopherJ commented Jul 14, 2023

AddressUpgradeable 0x01000007c029141e44d1423fede3de6150183371259cea8c7d2502ada66daca5
StorageSlotUpgradeable 0x01000007d60d71e03f0f70750ed26f885fdc3854adf74ee05b499b232121bdf7
StringsUpgradeable 0x01000007f37152f7ea902b9ff12fcf35d6f00670e4f3c76671761679ff163da4
EnumerableSetUpgradeable 0x01000007cf2fe6aaaf1c39a1d2c244e27bb1fb65fa0ec2c5e05e8fe83a785aef
AutoCompoundApe 0x010006efda4850de2431bd53d10c234196e90aba8e285cfef2f7533a371a4152
AutoYieldApe 0x01000af5f7d5858b76a0697a00474e9b7d08b99a0396cc489d48700366243f6d
P2PPairStaking 0x01000dafd6ab9baa83285afcae12154ae7820f2022a210d047dc81f7e3324747
BDaoDataTypes 0x010000073f52c27e9f4526ad820be74d1d52e74438572db0a935ea0666da5e60
ConfigTypes 0x01000007ff2edacb098acc31efbb76dac07ca3173b2aa76cb4362ab4654fea5e
BlurExchange 0x010009416906d23f44b33db17d8b9ab867bff20047ac9168198d18d9201bdadd
EIP712 0x010000337767034ad7b7fb2abdac6b247c3dafafbc2dba2d3e9dd42eda3c68e0
ExecutionDelegate 0x010001a30d8eafe7817b69ad9fce73871aad8bbc014447c8fac871c51167bb71
MerkleVerifier 0x0100005b8702e5bf1bbdd3dfd2f1e05ec74e42a6c34740b716d57c4221f2a1ef
PolicyManager 0x010000e5bb0cb9b78479e98a60f50ffea127e5f801207aad912dfa98ab6b32ca
StandardPolicyERC721 0x0100005dd9ee14a6de0abbb0d6377eaecd887a68aad520a8e5820055f0041285
DelegationRegistry 0x010006099e60de37d074a097ea49cbe744d81b67eafed1236adbe7b2b0b2cf54
GPv2SafeERC20 0x010000075a5cf28b06e03344e343aa379c542c5f2e205b1342e44c8e6e72d5ae
CurrencyManager 0x010000e37aa2939d4d32ea18f76b9cb3b88e7213a1812aa60a1ebc1ffc151c6a
ExecutionManager 0x010000e5c387d5c34b21563af1047c14dd7428600d7b3cf2b8131ffc66ffae54
LooksRareExchange 0x010008f5396db1d11d92154ebf3d59ea7d5d943b0a6915ee54a0d194acd57df0
RoyaltyFeeManager 0x010000e9849ff627d90b1bd9902a7aa5e1934f0ac4d6c24db846c61d83baf08b
TransferSelectorNFT 0x010001359e3dcfdeb7443258fcd20f4fea5f9b5d4fb240e9b11c97d599eef132
StrategyAnyItemFromCollectionForFixedPrice 0x0100006ba2ac254c0857cda6bb08d9d18504ddf60a5210ceed65d8323edca517
StrategyAnyItemInASetForFixedPrice 0x010000a97665cbb9d72a8fb78da10e9011b73e93472f6048a36f38ea6e664378
StrategyDutchAuction 0x010000fd08b22198348f4e6ec257be12cd5d5d67042b1eed673a837e4cfd8897
StrategyPrivateSale 0x0100007b3f8c901fcdd2d575dafbe75ef67f21e91f4d0a2f37d41ad4715d8de6
StrategyStandardSaleForFixedPrice 0x0100007d738b1d78aee903131f66fa5635b17d4691aa147242019c476dd421f9
OrderTypes 0x01000007d8d9323c3bef23d4ebe8255d527bc6651c3ba55d25ddcd9dbd71ed70
SignatureChecker 0x010000075238b3d4ed3ce93bd4ac179847fc0964cf9d6c2bbd10f286222d4658
RoyaltyFeeRegistry 0x010000d544bd579351fa0bf766de92922043e47750f30d09f013de0f143e8005
RoyaltyFeeSetter 0x010002ef3a2218fa11f6fe89438ee3282ac47ba3347348d36fe177f15618f047
TransferManagerERC1155 0x01000069110072fc7b667816fed48cf9d338fdf6fbb73726543777e964deaf43
TransferManagerERC721 0x01000067e71c82d46da76c9734883dabd104db25c2a9bbc5f2ddbbfa8e8b63f8
TransferManagerNonCompliantERC721 0x0100006786af77a0ef7d4c73e1fb6895120358fb4d8f568432181f8ea7646374
PRBMath 0x01000007785301d988d5852e3ed01795d6ec30f9c3bac53dbaf4db1490c57a30
PRBMathSD59x18 0x01000007405906bb9f77ab466f7143f96b69b8bd6065706f1fbbf6c29101b121
PRBMathUD60x18 0x010000073739798dd18aad147b950b8e85fa0bd97778d7cf08e04b2aa480637e
SqrtLib 0x01000007820cbbad8a8b9f85d956a06cbe0b8c3cb7d0e780bd83d4153ec164db
Address 0x0100000746e82a4259d476b1c27e5efd2e7c0aef86f40ee9fc25d706afafdc20
Base64 0x01000007fcd0a4ad740858236567d1a413871c304af73b24c3b7e15970b3d486
ECDSA 0x010000071985075c41c2423d073b5e722a47c507dcdad9298308f9e6dc852cf2
ERC1155 0x010002bff7ad74bfaf93a2eb4224c84ed5469fbee2a53dd44161edc8817c5cec
ERC1155Holder 0x0100006984327ea03c8f0502b582ea5d59cf511184fb56a16877c46663f440f6
ERC20 0x01000197dc94418bad57732bb7537cc52023b8ecfe24cc358ba23982c998caab
ERC721 0x010002f3b1c141cc0173d41ccfc46ce73411518712fd7b5e019288250ec4d60d
ERC721Holder 0x01000031155c3ac873fe6293390d7de20c9b832943e98d6f08c28653920788cd
EnumerableSet 0x0100000747a020d355604c6b133919bc1f983a09ca54aebec898d7a233adf3a1
Math 0x01000007fedb71da7336cc84b5744aeb30469cb745c5c555c06237500659da48
MerkleProof 0x010000073a81fabf342076c55af859b11ec11c934a7e58d5556749ee9a6cf7ce
Ownable 0x01000049fe5a28c3e10f04d4651ed9fef4c15bf740844c414d24731220b62f3c
SafeCast 0x01000007cb812c6af90a67ff5c7a746be2f590166c20a7707bb8d66c478b9430
SafeERC20 0x01000007cd840e3acb1e077b116590cd40a54be4f3254c7e70b4790f9fc1d1a2
SafeMath 0x010000074c7af62949614b730fd1eb24a9efc6526a120d237e08765ef4880b41
SignedSafeMath 0x01000007727d0772a37082ddbf33b1a1dde67c19f8a051f71f5dfbe78111f58b
StorageSlot 0x010000076e9d5c711b506fc98ca396d0dccbd4d860705a4884607dbe829b7ccd
Strings 0x01000007f4eecd768d90641e498049aa150e328a611934fb0913e354b57957e3
AddressUpgradeable 0x01000007092f01aec04606ce5485ce664241e91a6edc8381260f5d209f199b87
AdminUpgradeabilityProxy 0x0100015ba129662c96030581cf437d195eb1e89c41ce058b083cb86783f91694
BaseAdminUpgradeabilityProxy 0x0100012568ecaa25f6e51c6bdcc58c451177ab2b5440ec9685e645660fb728a4
BaseUpgradeabilityProxy 0x010000335a72079c9ca10e75e94c05a4d4f2bae0679bd4c671e3adaa9d0122c5
Clones 0x010000076e63cb2f36bd3bbb097e3edf0418c09156ff6bebd9242ae6385514b7
ERC20Upgradeable 0x010001454f4d5413c2ff8f959864fec574b89113875cd74a52460875f1bb813c
InitializableAdminUpgradeabilityProxy 0x0100019510cf1c1c7f765076f029af521cfcffec3e58904527f6fcdc1184b3e6
InitializableUpgradeabilityProxy 0x0100007f3e55a813beb2586d22253447ddcc6d2299851f1732eb7de42894a64e
SafeERC20Upgradeable 0x01000007a4e4491b14f17eba7bfa376b77594aee343fdd222b45bd6918f4bca6
UpgradeabilityProxy 0x0100007beb724a1e72a76e352029454e9c160c713faaffc148fb26bb0c78f65c
MultiSendCallOnly 0x0100003ba1a5ae2b20b07b75c95f908004d47779ca60341f49896b268e9b34f2
Seaport 0x010017f98125e42f3870214122a85fdeec50ddc56922b7b9e0c56804b1f029fa
Conduit 0x010002910397592481873c8c97af7fb16254a1846bee00c0c53f45be0e6d8cc3
ConduitController 0x010002491635430873d6195af15fec76adbbbc80c7a73630a6228448a1bd0cc4
TransferHelper 0x0100019583869197d81ddb99cd6aa2311a468ff21b9d1db2d7dd4d7801c677c8
AmountDeriver 0x01000007174ba841c7bf7b6198d78c79f4283a3c7bd22cadcfa17c6d2bbeba12
Assertions 0x010000dd95d0a0594e7a25022e2e458d6fb5820d11b0b04d4b6b0f71fdb32d8a
BasicOrderFulfiller 0x010000dd18142083031ac2dc6c656cab4f12e32cb78298c8e7fc01d3fa736db4
Consideration 0x010017f918de5ed30b753266538303c39d7affdbb022def37f964935d347bd7d
ConsiderationBase 0x010000dd0f48aae0ce4a19b58aaff2c7d1d8e921f9fca8a72e2aa23f546a475e
CounterManager 0x010000077f43f2513e36b4d891296d9cbd08e6dc5502e0e39636e4e760583f0e
CriteriaResolution 0x010000079b89e7214567bbdfbf2da1d2e2ad078526519bc845a781907493af4a
Executor 0x010000ddf6d580bf242ba543095a9e46235b6ae78f4bab38e200347deef2d3ef
FulfillmentApplier 0x01000007572b29c7c378d83322cd5a57c3e55f0aa4184929c3fb2795a7f4dfe8
GettersAndDerivers 0x010000dd3274d1781e6803383bb083d2604887242880badc4d0a3c2b2f1cccae
LowLevelHelpers 0x010000071319413da65a47b2869947d2bd32ab1ce3ed820bbf6f05fff42290bd
OrderCombiner 0x010000dd14af885845b00b61c45ea81c0b6c886f75414f3812b480daa3066a1c
OrderFulfiller 0x010000dd0f5aad36c99c329fb4e773d6367c3fb2e64c267f102f9ba833c047ab
OrderValidator 0x010000dd3d37952d45d4aaa20ba35bf31f2f73ce04cfcfa8d6a207ae68d656c8
ReentrancyGuard 0x0100000789ced3eb09770cb09612bc0892fc297f0b404aafedf2726212474096
SignatureVerification 0x010000071cf2e253d487b5cdf2ce35f8a282ea0a65b98ed0163af20a73bfd8b4
TokenTransferrer 0x0100000766bd1d3a17a743b0bb47aeccdb1ca3da2f081cef5af2f45b0947587a
Verifiers 0x010000dd31a72296e61b547d87b7581ad6897e2cfd61be9e89984a13aca04a8b
ZoneInteraction 0x010000076fccddf00f34c09664e6645ddc377b0eb53d670354ced345d2cb784f
PausableZone 0x01000301d3eb514d4cb35ea55ef2ecd81fd4c933d4378fd753ebd34f558509c9
PausableZoneController 0x01000393c0a335589b12c33ebb141f769810d25b1add13563b036ec41f6dc67d
StakefishNFTManager 0x010007353ededb1c162c335012b0f5b930a5c63a8dda205bf44acf5934555487
StakefishValidatorFactory 0x010001d9e4be794bc22f95d534ee8372e927fd1bfe430080650f4351f77809d2
StakefishValidatorOperator 0x01000119cb43e5543087116af6c82daf1ca7d4dc488554df433a2e7290ecf4f7
StakefishValidatorWallet 0x0100023facc6934fe86c427ca7c9ca453a7c63613691bcc159c0ee517a034c77
StakefishValidatorV1 0x010006276f4133452a758f66ba30c815dc97c448fb2aa1a5cf5c8cf04b1a86c9
UniswapV3Factory 0x0100011f5b3456bb353a97011b265249dad2cbcc2bfe478ab113e6297f21e54b
UniswapV3Pool 0x01000feffeb14cab04a0e5862a33cdd41898a47f57f6db7e6a2207a8788c7964
UniswapV3PoolDeployer 0x0100001f72654a73ddeceebc41495e1554623d2c81907dc2e84680737c6ef580
BitMath 0x010000070af434408b0da593d55e5bf8be95af6e1016f26ccea246531b085bbc
FixedPoint128 0x010000076ef6f7ec8f2d2f625a56ab3d3b44e8cc4ac5fecd9de5a31a6d88cdb8
FixedPoint96 0x01000007c3f5a260b4d4f70dd42b4bac0475702faeb333e19503e1819a104ee8
FullMath 0x01000007c324102de077c7e773b4f66f853a50a66f5916fc135df0332e444c32
Oracle 0x01000007f0c22ac5c094101b4948d392e222db4d8a8656352e8544c061ff5914
Position 0x010000079f87ed3da3eb193f60c6457cab047ab348109e925dee003b5b8952f7
SafeCast 0x0100000734c7854c5064baa68888c8d5fcfeebddb8b1e66ccecec5c044c99a77
SqrtPriceMath 0x01000007afb180e9939da668d1a826f42940e7633a68e9c8acf9eab87d765185
SwapMath 0x01000007252fc4b724f598407e32fbebb5d2aa935b0918ae942fad036052d066
Tick 0x010000071c47b83f8f6cee590d4e90e88d74279965786f8c92484d234bd20f4d
TickBitmap 0x01000007736ef44a9e498f17ab9b495faaaeeaf225f982ce6064fd5974416bba
TickMath 0x01000007ac04f057f212dbd430196a78a2560813ae159dec98d38f38644f2f01
TransferHelper 0x01000007bfbba3e37a7e7561f3a4b6d6e92d3fe362b18c8e9859eecece051451
UnsafeMath 0x010000078855d7f01c4db71ea9e183776bffedd881812e30660cbd9fdcdf40bf
NonfungiblePositionManager 0x01000e217778233b7a996809620f0b985f4049542d3a2d84a0d7d791c5926bdc
SwapRouter 0x010007098aec2a53e53087819ae8ea12995819176b21b6277efd39dc41ea977f
BytesLib 0x0100000799ea34031c5e1468b341fc5f07d085b1a7d898dcecc729c4a8b9996a
CallbackValidation 0x010000074988943e15ba0908fb9a66221baef0e6d708393bf8e10216227f7da1
ChainId 0x01000007c428f4a637f72c4fbe54fef82b507bb3518dcdd4c56fa37c72858b96
LiquidityAmounts 0x010000077a9a20a65ec5c8adb2ef052965a26e4a19d841c72434bceba3eab77a
Path 0x01000007e703418251d10938e7ad0865fa21b442520995b5e7aa09ad7a2de766
PoolAddress 0x010000077947b4de164c7850ba8e41d727ff817675b32098a06dc5c3fbe31409
PositionKey 0x01000007211818caa26db93032f164e4051dd4949059fb225ef68adfcdddf978
TransferHelper 0x010000077989d7b8e12faca740fb852e226ad9cd97ee520285b4208abe84b67c
WETH9 0x0100013b6506ff8343dcbde3c705900b51a78cedf38cd95e5cbe948d98bdad02
ERC721Delegate 0x010002f548e7118aa449198109a93102ca62709b1f48c6d9e39f979512bde61d
Market 0x01000007427b00c3c0eeda834e6615049e9ed0a1245ad94f243ce7e3f30237fd
X2Y2R1 0x01000aeb384c21faf4031112f944ca4265591127dfed7779abf5e4da362a66dc
ApeCoinStaking 0x01001ae5307841bff1e9f0635a418337d8a7ce0d23d1569c1a95875cf7028fa2
ReservesSetupHelper 0x0100010d70fbc67fc5e3c7bc246ac0a6a4354b84d64677e840ddcf02d652193b
ExecutorWithTimelock 0x0100028fb1df084b3422cc1b1b1cad4e3e83c489622b8f55ca5ee69fd50331dc
CLCETHSynchronicityPriceAdapter 0x010000699046e757618eb06e077365e25e555056aa4285d3d91afe1490f65d20
CLExchangeRateSynchronicityPriceAdapter 0x010000930f1c96caf8a02601ab55fbe6c769d4804018bed31c944abf4ceadc74
CLFixedPriceSynchronicityPriceAdapter 0x010000378281e804c3315e23904820269d7c9d59fe0ecac2470911ca7fbe3baf
CLwstETHSynchronicityPriceAdapter 0x01000187c3b1ab84296561432a4c93e156c0a36080015572b0de60636e4238e3
DefaultTimeLockStrategy 0x01000169b4143cfc2845c09b4b78b71e63db6fb374693de25f6eb7a902583ce4
ERC721OracleWrapper 0x0100012b048d6b9b82b8ddbe604d31d07bf72e4e19b0e22b1ec884ba5e7b71be
HelperContract 0x01000279c1cb78ef836c9622b63c1e7053cefcfba6d468cda293ee1190987ff8
NFTFloorOracle 0x010005370283e4f769de5ce7afd7466654ce477cdaf2fa36850e43767e6eedca
ParaSpaceAirdrop 0x0100024ba6835c0f7e62a698192006ec5d484eeb6dc07a71a0ceaf7fe670b123
ParaSpaceOracle 0x0100031db5d0d371cc0f4adc6684f8381b75ca66e3e5fa2e31cfd496ea86de05
ProtocolDataProvider 0x010006f5dab432b5e94409e0c68a842ef4b37c9e3fe1643a182b4d998855821f
TimeLock 0x010005b9ecb0732e796711c94b473ea4b2e059d2d77060d37cc932ab26738ed2
UniswapV3OracleWrapper 0x01000513a43e01ececc599ccd03590d73167de0141d612e6c8e5f1743f1b501d
UniswapV3TwapOracleWrapper 0x010001990b0f8503b8df06c61122f050d83e65dd35b8c4d421004a25e59a8671
AirdropFlashClaimReceiver 0x010004f3e292933c3a097ba72eec82d4b05a908879d25ef04d555c13534dd5b0
UserFlashclaimRegistry 0x0100008b58e2899b101c793871ac699536ae62e6a886e3c23c0df92d75d1c156
BlurAdapter 0x0100023329d7f3f4c97fc60fc825feb0b8d0cfecfd4dec3d3df3533732339e7b
LooksRareAdapter 0x010001f939e95ca4165d88cbfa5ae3db322be3247ade50bb23bad1a6e9ac14e4
SeaportAdapter 0x010003176095369c8f4f220bbef06ab21de6197303a216634961f418b2d39337
X2Y2Adapter 0x01000241d3813bc336e2b076d23ddceaab470049ea2a70ffc8a45a1796e12d3b
DepositContract 0x010002ab84eed841b2f4e758ea1a6e3e98ce5775385315aac3e31db0604d36df
MockFeePool 0x0100003ba162139fef535d97c9855ab32fd967c01c9bcc1113bdef1084edfc35
MockTestTimeLockStrategy 0x010000370194700d1d3f3b4c9dbeedb09091069428f72a68ed9ca207c9c14ecc
MockedDelegateRegistry 0x0100007f7cb1bb685e39c5cc1f6dccccdd441d9c7f304414be9137f769ee124a
MockLendPool 0x0100010338495c58871fc560dd616644b88987d5d591168e57af7d0098230ecc
MockIncentivesController 0x010000c9ee08f022edd1f117dea4ae3b8ee235cee4af41461cfdbea18f7c8949
MockPeripheryContractV1 0x010000292d1688e61639573908833e55c734541aa7bbd472f331b61791e77913
MockPeripheryContractV2 0x01000033be6968f5653f4da9bec97c7f073db7e1132aa57d023b44777b6814a9
MockReserveConfiguration 0x010001692688996ad09306b8b0bedb4309ece6b1a538fc10888f49ba6678a465
SelfdestructTransfer 0x0100003df9e6c765e4a822ad72efc9a0e55c6b1472c922524f3cf6366348744f
MockAggregator 0x0100007959b446e39488330cc690b7d981d43e2cdd2943a0053637a54e343f92
PriceOracle 0x0100005350a3db7651e5b805aaea19ab597c4796b90f1188362feeedabb0f5ef
SequencerOracle 0x01000083ea64c334033606f6c8216bc0aea1fb75bebb221e57ae842159db9139
HotWalletProxy 0x01000945fb845a336766030cb26355a36701fe3c1258a95bf50a28c74ecb05cd
MockAirdropProject 0x01000263982b07d6eafb4d95e5052548eef7fcffadc34009f5182961a8d3e30a
MockMultiAssetAirdropProject 0x0100029dc28de08104d776a302ac7fcf4f4b95a8c0a3499d21fddb18c7c579db
MockReserveAuctionStrategy 0x01000115e52ceaf0ae235d05746047c1fea358686af2db5e4ae0497388457749
MockReserveInterestRateStrategy 0x0100009f7fe98a88f10ad33f637026ed1e0b80180d7e6bf32dc5a260154251e4
WadRayMathWrapper 0x010000794710de77ecab1bd4862a66d2e1ac7ed354f6a77a2e9b80b6e1ea9f38
AirdropMintableERC721 0x0100041d6776eea51fb8186254d2b389e2f3e5967f1f928d70c34a30f24bbd64
Azuki 0x010007f35493dd5878cad8baf3b85781099ec386d0c93e6c899e6cd3efc5b849
Address 0x010000072aab75a8388a475cd4b39aca7228f199a3e40087a74a4b682ae5681e
BoredApeYachtClub 0x01000817e04c8051d246fe8216aef4134f5bdf8d8a5766e46b739411d05fba97
ERC721 0x010003f92f3e9b2c31c5dd9fe282d2a7c2b8ab065c8a9f4b8aac9bab08fd442c
EnumerableMap 0x010000073ec6a1c46b88d9111621fe9b6b468fd5d195d5af5392d6506ad5175d
EnumerableSet 0x010000071aad2522c78e2bc7144aa3e63c013440b4d4300b74218ae1b20a2675
SafeMath 0x01000007f05b233fcfa35ce6e850add7e01538982bbc335e0e1b79c6993be786
Strings 0x010000075ff0416604027cf550c6c35aba4a61e557907ec5099463dfff360389
BAYCSewerPass 0x010007092212ba04f8aeea728ee3f7a3bf2d3f3c6bd0c5bdbac3f37c956d635e
Operator 0x0100007dc5bffd40af52525b8b577ab5e076b88ae3a5f66491073a6f7c80bbe2
BAYCSewerPassClaim 0x0100032559e916625ab70051c0b130538d3aa27c8ba3fcb1e87c9ba7b15b197f
Operator 0x0100007d87c98ea94bd48f4f3d44c067b81cd71a3eab8ffe3962552f8a3bb3a1
YugaVerify 0x0100003bd055dc41d4649f4ac843af4f04f4377ae2239cabb840cf105441d99e
CloneX 0x01000633a8725d088cc884551990f04046c2037cb605a1c1370485df2744ef3e
Counters 0x01000007811679eef6f73579e9aab0a0e153479c717c34ed8b423b8b0408d09f
ERC721 0x010002f35ff6a5c4700d3ad8b367bf0c7dcf0f3300c5e6ef278640cf1202238b
CryptoPunksMarket 0x010004e543341172173359044327bd024b3a1f94c1d1a3f26aaa98e10e5d4f2c
Address 0x01000007e827830b90519f9f154427e5031b42ed074b79aeb067dd2b15b016d6
Doodles 0x0100066f180d655c6378bae7cb6184b85aaff4d768b1edc250ae56bbe9270221
ERC721 0x010002f3c0d254a053fc65f9130a21614a6edda05750bd1cdb66bb56e2cd40ae
MimeticMetadata 0x0100018d3c7e0963098a6897fa5da8fc74ef01b3d63828d05f42b944e0cac38a
Strings 0x0100000769fc1157ce8bb13225ef326f72011f6ba0cf47e3307b0dd16e0297d0
ERC721 0x010002f3e19e64d1d7db05d45d5f1f2f0d643b7fd4736fe25749b132f7e898d4
Land 0x010006e9df09b0dcd1b9048e9bbbf8d71b0bcfab7b3c18a55bee26cc961deccd
SafeERC20 0x01000007766e1fb275ddeaf01c7cbc3df9ae839aa76a3f2b514d89727203d575
Address 0x01000007c1887b91072a0983d6c6a22e130aa7fde4ae6657889b688b59ae93c8
ERC721 0x010002f380004d3dc78e6c22feed8a787c840a8e97f1cec61bac76ca11240064
MutantApeYachtClub 0x010007ebc29ea0c47e6b6b348650e6e4fa9d8ac2051c6dda39f534fd880a8bcb
Strings 0x01000007655c48f9f1e7812b221760b43eea0fabc993ab45d6d98ccd464bb195
Meebits 0x01000a77d16ff78543a3a50ad5b3f4f51c2012e94eeee6bad8a3c6f021faa766
SafeMath 0x01000007d1d47c1b8a56480b46d91921f1a424f5ab6aae6e6a91d2ef7cd471d3
MintableDelegationERC20 0x010001d13eca12a340dae9416422cf18687d7eb24e7fcf38aa9db8028c37efdb
MintableERC1155 0x01000357ad4e221ef9ee89a7f3463ec61d368fbf4a33a04c915e110dfb19485b
MintableERC20 0x010002790b6f8ced61c0f63d999b3969865c7de104ad91d06d1de2d03f10da44
MintableERC721 0x0100044905e151ea3e327df5a1adba878dcdac48b1fdae6f4f16ba582ba736a2
MintableNonEnumerableERC721 0x010003d13f14abe23817466a6f8827d6e3ede8b32e20a9a7d41483d9bf09c0a8
MockAStETH 0x010002b58b88e1301974cac4e706e12ff5eee4f054461e5375f7f01724ed5af6
MockAToken 0x0100029d48dbfa0cd7f7fe69619a98bdf80204d2bbd48928192565b20e73afcb
MockCToken 0x010002d1b4dc19262bcfade183f99dbe84b5ff4e06b23a7c717f58702a5c1992
MockRETH 0x0100028d1da14b23db9969dd024d4924f46274e8c29d6f302e9627c313248cee
MockTokenFaucet 0x01000605385426f1f6e42545651a5c727da27ec9fdfa629a28912fa80afb35d5
BaseTokenURI 0x010000cde5f89226e094baf672d5ddeb56ef56ed2203964fed57b63569f2ef8e
BitMaps 0x0100000755129c0dc7653b46ee43ffff0ff930d31a4d173de490fea8b43fb636
ERC721A 0x010002972b69a091dbe130fc7eb5171aacf84858ea5483ebac926cb6f898d4d2
ERC721ACommon 0x010003f9aa62e7b9b03cf201b8ee620639d70ab5c180d1a59acbc9a3021165f8
ERC721Redeemer 0x0100000713f12db00b1b226a9f6327dbfb2439495a5bd2840c899f3a7e4b59f4
EnumerableSet 0x0100000763bfd688af6fcbae0fac7ff7d292bc9923dcccf9377169757fe4af28
Math 0x01000007fbb80b7eeaa4f1a78091fee60e584c02c44b2d0ac02d4a84ba3e2708
Monotonic 0x010000070528d207e097f73fe462699be6df0e7b982bd21ef0a533a2d7472869
Moonbirds 0x01000863e8079558ab8a90f2345ddaa1005efa6191a5d32433ea12135e32d7ef
OpenSeaGasFreeListing 0x010000077a4718a8988121fa14f7a6a3e4067a389abfe3d6fce124fb53b9d9b6
OwnableDelegateProxy 0x01000007c9b183ddde206d25dd609aab1d1c89ab8d95203fc6924a75a47ba360
OwnerPausable 0x0100007fc8685b285a48bfaa36ea7751afb8d07cec4ab6712cfd8da1618fb676
ProxyRegistry 0x0100001f3da78ee590356ff6b58a77f87db488549bc439586292f095f52da964
WETH9Mocked 0x010001633beb303c0a133c34d06fc2ad2c6dc18f42aa7d494b123590a5c112cd
UserProxy 0x01000045393a698d7be999cd25a0fca6863ac8f0455980bd21c10691e2195f48
WPunk 0x010005075661ed9195c2a49ba0adbf25cf61472fa51105fafaf9c4a7a5ddb5cc
Address 0x01000007edbf9e33fde77920bd1b410b05a15ba28b19ccb74ebaafeeda3a90ac
ERC721A 0x01000349952216a23b18ab496f03deec5ee07a7381eae7617f5c8b5537843771
Strings 0x0100000799b7821df945a8e79dbf3602c6d75017cdc3db675cde34b52677d8f2
StETHMocked 0x01000143f3d353798c06e1c29e5815b4fc8de0223a9f411410eb3f07a532f287
WstETHMocked 0x0100033d28e676babf91f2caeb1cd126d83bfe126d23a036f81bcc16ccfc6ba5
MockInitializableFromConstructorImple 0x01000055e44639e81773a3157c576a7f0054b9ed538ee8ea2a78f6a532cd03bf
MockInitializableImple 0x010000b3e4ad4f84e0b79f2530c8cd8bcd7a7c57f8514f4cd534b4dc7fa1b516
MockInitializableImpleV2 0x010000b35f7d4c5bb7bfbf0cf6492a78d146f2b97822affb28a4576dc919d78d
MockReentrantInitializableImple 0x0100004f023f30dc75349eaaade338be8fd32fd6527c0b1dccc896d9d00a189e
MockNToken 0x01000a7740b1f14aab24ff2424725a16fbea00e5bf408e674f1227e2fe8fcddd
MockPToken 0x010008f7b58e3a86242711521c0ddc7626624c9a863905db8f1739cf1ad31239
PoolCoreV2 0x01000a9b2d374d454a6b63cdfd209b152ff0ecc1d23810eb8e2d3a79b9ed31dd
MockVariableDebtToken 0x010005f1f57758c5650b0da14fdc44301cee158f065928e39d6522898b4cddd4
ACLManager 0x01000655a87efbd2cc628f96a295eaee5af452967e6c6fed196544af6ecdc029
PoolAddressesProvider 0x0100057df102dccccd7c07eb9ba2b55b33fb9c419f8ee41b08f6970904175812
PoolAddressesProviderRegistry 0x0100013334754e1700205aedbb7d33f503d62fbef0d78d9c24d75713fbe58524
PriceOracleSentinel 0x0100018b3461f1c4a23da4e2af2e5e5a7cf7d8f0c3d1f4cf9f9d04cf3e414fe7
ReserveConfiguration 0x01000013fa7ae2a55e7fc3e064e1ab8c55b8a4288c2a8fc0b2f726ddfdc24eb9
UserConfiguration 0x010000072931f228c7afd8cb2d4ea66db66d358bd42cc2e5e84e9b4b71331cec
Errors 0x0100059bc54f345aadec9e2cc054829b9090356ec8dce2af3baa2a8df5f01e4b
Helpers 0x0100000774842ea780208aba10b353277cf384aa2c3e9af9f53e409abcf2744d
AuctionLogic 0x010004f997e701a8d6c20ae935e8ad4b28c415b9c3449738136e640266ffa34c
BorrowLogic 0x010007bd55fd9c828bc33e2dcd5f97186cc8fa538d83b929ca645167a17247f1
ConfiguratorLogic 0x0100041b628a05151801ac3cc8d2e9a1a6bae0e94638dcea2bfb5cfc3c5a2a68
FlashClaimLogic 0x010004738034e17aab5129832e9c8910f6daaa1c92f623773d543cab238464a4
GenericLogic 0x010000070caa50f2d6bdf3a1a1d0f129867df84c9bfffd637dc1d5cfcf84e9b1
LiquidationLogic 0x01000d4b2cfc81be079ead1138c2696f2b34729844d8974148df3f0d9409d3b3
MarketplaceLogic 0x01000dc5a1a0b3ccf36f64eb1a9dd52cf9249f1ed1f3d6e090cfe5e4d6ce647c
PoolLogic 0x0100053d482021ce59eecfb9b1d30839c3391370228becf6128e5a469de02a61
PositionMoverLogic 0x010001d72629f7afc59c3257f70580defbe934daedbf31ddaa44340102e05825
ReserveLogic 0x010000073ce012d0c8a332068e8af9906ba0252950b2359789a71f9ba9635da4
SupplyLogic 0x010013c7b0ea9e22445cc473d5200f17cf4fabcb31b45ca6b6e0d476990b4d96
ValidationLogic 0x01000021eaf745bc7550afc8057e6f76f7567106a4ac7d8b9d66d038cc9ce068
MathUtils 0x010000073991b860f3ba62738812a6ea0e485e499215df37825db8fb7e34a287
PercentageMath 0x01000007eae53d7fcc20ef2551a1c914679dba4ff9392acef4696f9c3627ebd4
WadRayMath 0x01000007496baf72f77ef8d2072bc7eaab926524290b2a4c30afa094ee8c9e2d
BaseImmutableAdminUpgradeabilityProxy 0x0100013f37cf538e206cde13409f299ff6b699dc2ef6dd49cd5e7f87a1d63793
InitializableImmutableAdminUpgradeabilityProxy 0x0100017b890be2c04c20c8010e2566fcbace4702001f552da76cb6692ab512ff
ParaProxy 0x0100027d4ae90a1aea59673ad460c20dc6aa49b295fcdd745e171d6dee096419
ParaProxyInterfaces 0x010000cbc46ee4605eec1fcdfedb475dab4d4ec23cbc08802ae02b50502b84e9
ParaProxyLib 0x01000007ce70cf9f637577bc4f298b6f0ddd07c694b2a76c764f496ea1642b98
ConfiguratorInputTypes 0x010000076e148494824e0aeb7741d1d19b57bad4dd99143390f6dd8a9858566a
DataTypes 0x01000019ebc4a29181e262a9cc5b9505106991d94874b882d065666e9fd12700
DefaultReserveAuctionStrategy 0x010002ff11f05bcc360e4f178c3466925731602e131d8b53994eab6120eb8a8e
DefaultReserveInterestRateStrategy 0x01000113331a48a49fa091135c5d49c06627aec3c6fd1e31aa821f047e65e2be
PoolApeStaking 0x010012253a65c85abf32bfe0f91f2240b5dace2df40cacb85e58aac2c09a7e43
PoolConfigurator 0x010011e9193f1e304ad607776fdeb2c15cf2b704e42033a1bd629848655cd072
PoolCore 0x01000be3ca9aa356539d1e792ef1a93cfc86e3737dfa73925c6b01ded46087db
PoolMarketplace 0x0100020f262429f56e067fad3a037f27cdd7feda94db1c11029be81e4d0c1920
PoolParameters 0x0100040706bba22771f529c5e9c6383dd25e90ab6ce86cd5d7fccdd27e6f785a
PoolPositionMover 0x01000077f577e620a2a629e11afcb401e3657182e3f7e59daecaad6c40ad0433
PoolStorage 0x01000007f83e410f99d092a49364c7a713cf8f152e6d1faa2b59fe5c8b56ebfa
AStETHDebtToken 0x0100085982900bf3066a763f41e1db02c8b8c1e3fc64eb9b7d4df0434b1f68ef
ATokenDebtToken 0x010007bfe94d4de45e6de1dd00441f9978e231ce749597faa66a296ea68f0cc5
CApeDebtToken 0x010006ab6ed3ef8baa56540d73f8b7276838730452cd3af6f57e4c1a1b80b0c6
DelegationAwarePToken 0x0100096337972acd3c22625bf3a5f0eb2dddfbc2970892a34006c98c903e7f62
NToken 0x01000a79a4b0954990eca33bb493c3e859064686eb1f548fd0086aa3e1860ad0
NTokenBAKC 0x01000d571543c8d0a199ec536d98a88bf77152f0608c8475893583381bd8fc87
NTokenBAYC 0x0100109b93717b16f37093acba849354a77917eb19833d356f5279326ddd0025
NTokenChromieSquiggle 0x01000a97234dda0d3bea531ae61b6f0d42849bd42ecfea7821f13fa64b4d11d8
NTokenMAYC 0x0100109b6d792f962cca731e059ed3a72c46557d9ca85d51da0fb847fc4434b1
NTokenMoonBirds 0x01000b7dbcd4c54347e82a1865b6d3e65fd466b7a84a9b38923b1c63dde8a9ce
NTokenOtherdeed 0x01000ab51e198d17f307742bae993d03b6703ca3ba6e214d839433a05c0242b9
NTokenStakefish 0x01000e03ff1db11bbbda6d36125c5794bf85cd4ebedfb44bb4872cae5503d2c3
NTokenUniswapV3 0x01000c2b584ed9f8411820451796b03017be226101ab202e072cbd077cb071aa
PToken 0x010008f7bb7abc5f6d09db980b4f79c2820a3586ad75e0ad85e584f46a477340
PTokenAStETH 0x01000bfd2cda05620bf3b627699b72d8f1c928dff1fefff2b26a3fa94640d892
PTokenAToken 0x01000b2120a461dfce2980e7ae4bbcd492306f67b28da0f39c1ed9f29c5fddb6
PTokenCApe 0x01000a17130863d4bcde0ed705e1281e59b0c7abbd9aa9ed9e5f294d233d0900
PTokenSApe 0x0100063b4a207d293e66950c6104e6dea320e4c2b5352220961eb79203dc261b
PTokenStETH 0x01000a177d2bddf7ac0128ae9d89577d89c72bc156c1a3053fd33eb44cdbd67f
PYieldToken 0x01000e3120b3d5686d908d61482f3f7afdad83f491bb77dfea4b531fdb5adfb1
RebasingDebtToken 0x01000607bff8968c65acb3ba45bb6cfe8d551e5b540e9abb6286e9a79bf7b966
RebasingPToken 0x010009113d22f79adc96bd7243696b8be493eb054bb714b19a27f1d9d0a4c5d3
StETHDebtToken 0x010006ab9802ca3d02c6328a46b51d7d39257edfc6fd78a5345988e6aa180407
VariableDebtToken 0x010005f1e32555761550e1af6e609f31598a0b5e28f2cbf4bc87c3078936a8be
ApeStakingLogic 0x0100057b82e7135afdffda47e291eb8894764ebdba6671436f232c37dd9ac311
MintableERC721Logic 0x0100083ff8b76dd8426a734f84bdc4ea56e670447de0bbb5a97f6feb2a6bc902
UiIncentiveDataProvider 0x01000759743b5c66c8ddaee2caaa96792891004b19cee8f70f4a5b03635c6d56
UiPoolDataProvider 0x01000e53d2c3f249a1bc6b098a85a579f6ad5a68968129c8f1bc70b56e3db1d4
WETHGateway 0x01000455fc70f05b605e6b756d5d464a9867a90c5e20f66067e9503df568878b
WPunkGateway 0x010005a3b1a5f2c5e8797f8a0f84d616201f01684c28a1e85ec2ee2c840cebf6
WalletBalanceProvider 0x010001adb4d6385421cfcde253de423b8da11689e8aa03ca1caaeed492305b60
RewardsDataTypes 0x0100000773cdca4ce2a80b0fff0a11b6cf11004d98f12611005d2d76274600e6

I looped over all our contracts but didn't find any bytecode with such hash

@GopherJ
Copy link
Author

GopherJ commented Jul 28, 2023

I think this can be closed as long as we put correct factoryDeps

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

No branches or pull requests

4 participants