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

Forked network not compatible with Arbitrum Nitro upgrade #3138

Closed
rellfy opened this issue Sep 6, 2022 · 2 comments
Closed

Forked network not compatible with Arbitrum Nitro upgrade #3138

rellfy opened this issue Sep 6, 2022 · 2 comments
Assignees

Comments

@rellfy
Copy link
Contributor

rellfy commented Sep 6, 2022

If forking an Arbitrum Nitro network (like Arbitrum One, after block 23_000_000 as an overshoot approximate -- I don't know the exact upgrade block number) then hardhat throws the following error:

InternalError: Unknown transaction type 106
    at ForkBlockchain._processRemoteBlock (project_path/node_modules/hardhat/src/internal/hardhat-network/provider/fork/ForkBlockchain.ts:298:15)
    at ForkBlockchain._getBlockByNumber (project_path/node_modules/hardhat/src/internal/hardhat-network/provider/fork/ForkBlockchain.ts:242:17)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async ForkBlockchain.getBlock (project_path/node_modules/hardhat/src/internal/hardhat-network/provider/fork/ForkBlockchain.ts:66:13)
    at async ForkBlockchain.getLatestBlock (project_path/node_modules/hardhat/src/internal/hardhat-network/provider/BlockchainBase.ts:61:19)
    at async Function.create (project_path/node_modules/hardhat/src/internal/hardhat-network/provider/node.ts:196:31)
    at async HardhatNetworkProvider._init (project_path/node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:251:28)
    at async HardhatNetworkProvider._send (project_path/node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:192:5)
    at async HardhatNetworkProvider.request (project_path/node_modules/hardhat/src/internal/hardhat-network/provider/provider.ts:118:18)
error Command failed with exit code 1.

Steps to reproduce:

  1. Fork Arbitrum One, RPC https://arb1.arbitrum.io/rpc @ block 23_000_000
  2. Make an ETH call
@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2022

This issue is also being tracked on Linear.

We use Linear to manage our development process, but we keep the conversations on Github.

LINEAR-ID: b6bd94cf-f700-4be2-933f-ca5f2ce79dbd

@rellfy
Copy link
Contributor Author

rellfy commented Sep 6, 2022

Duplicate of #2995

@rellfy rellfy closed this as completed Sep 6, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants