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

Ganache forking applies _historic mainnet_ hardfork rules to unknown chains. #2561

Open
davidmurdoch opened this issue Mar 8, 2022 · 2 comments

Comments

@davidmurdoch
Copy link
Member

It should probably default to the latest known mainnet hardfork for all blocks.

I am able to fork it and use it to deploy my own contracts to it, but while attempting to hit a contract on arbitrum (not in my truffle project), I’m getting Error: VM Exception while processing transaction: invalid opcode.

/cc @kevinweaver

@kevinweaver
Copy link

Thanks for creating this @davidmurdoch! Please ping me if you or @MicaiahReid end up working on this so I can see how this works.

@fainashalts
Copy link

Might want to add a chain history file that may include a genesis file to tell Ganache what to apply to the fork. This may also be addressed in Ganache plugins, but would be nice to be able to do it from Ganache proper.

There is an older issue related this, see: #1042

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Status: Backlog
Development

No branches or pull requests

4 participants