Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Issue: Invalid transaction type: 106 after Arbitrum update to Nitro #3606

Closed
AoDev opened this issue Sep 2, 2022 · 4 comments
Closed

Issue: Invalid transaction type: 106 after Arbitrum update to Nitro #3606

AoDev opened this issue Sep 2, 2022 · 4 comments

Comments

@AoDev
Copy link

AoDev commented Sep 2, 2022

Since Arbitrum updated to Nitro, Ganache crashes immediately when trying to run a fork.

  • Ganache version: 7.4.1

  • Command example

ganache --chain.chainId 42161 --chain.vmErrorsOnRPCResponse true --wallet.totalAccounts 10 --fork.url https://arb1.arbitrum.io/rpc --miner.blockGasLimit 120000000 --wallet.mnemonic brownie --server.port 8548 --hardfork istanbul
  • Error
Starting RPC server
Error: Invalid transaction type: 106
    at Function.typeOf (/Users/.../.nvm/versions/node/v16.14.1/lib/node_modules/ganache/dist/node/1.js:2:218734)
    at Function.typeOfRPC (/Users/.../.nvm/versions/node/v16.14.1/lib/node_modules/ganache/dist/node/1.js:2:218960)
    at Function.fromRpc (/Users/.../.nvm/versions/node/v16.14.1/lib/node_modules/ganache/dist/node/1.js:2:217659)
    at /Users/.../.nvm/versions/node/v16.14.1/lib/node_modules/ganache/dist/node/1.js:2:90757
    at Array.forEach (<anonymous>)
    at Function.rawFromJSON (/Users/.../.nvm/versions/node/v16.14.1/lib/node_modules/ganache/dist/node/1.js:2:90586)
    at Fork.initialize (/Users/.../.nvm/versions/node/v16.14.1/lib/node_modules/ganache/dist/node/1.js:2:108341)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Blockchain.initialize (/Users/.../.nvm/versions/node/v16.14.1/lib/node_modules/ganache/dist/node/1.js:2:74896)
    at async EthereumProvider.initialize (/Users/.../.nvm/versions/node/v16.14.1/lib/node_modules/ganache/dist/node/1.js:2:161113)

@AoDev
Copy link
Author

AoDev commented Sep 3, 2022

See this related issue. NomicFoundation/hardhat#2995

Certain EVM blockchain (e.g. Arbitrum Nitro) have non-standard EIP-2718 typed transaction that would prevent hardhat fork from working due to Error HH604: Error running JSON-RPC server: Unknown transaction type 106

@gzeoneth
Copy link

gzeoneth commented Sep 4, 2022

It seems that this is fixed in #3523
wen release?

@AoDev
Copy link
Author

AoDev commented Sep 5, 2022

Looks like it, please create a release with the current changes @davidmurdoch 🙂

@MicaiahReid
Copy link
Contributor

Thanks for the issue @AoDev! We're hoping to have a release for this out this week!

I'm going to close this issue as a duplicate of #3458 for now. Thank you!

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

3 participants