-
Notifications
You must be signed in to change notification settings - Fork 20.2k
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
Be able to use shanghai compiled contracts on a PoA testnet that is not from --dev #28032
Comments
the related ticket is here: #27365 however, I am not able to use |
If you are trying to use Shanghai features on a private testnet, enable the Shanghai fork in your genesis configuration. |
I added |
The field you want is |
Thank you! I apologize for my noob-id-ity. |
@antazoey Hi, I also have same the issue. Did you upgrade to Shanghai`? I had a private network with POA consensus (use Clique). I want to upgrade Shanghai for my network, but after investigating, it doesn't support it. I received the error when run network.
My genesis config
|
this is what we are doing: https://github.com/ApeWorX/ape/blob/main/src/ape_geth/provider.py#L99-L122 this is the version of geth we are using: https://github.com/ApeWorX/ape/blob/main/.github/workflows/test.yaml#L89 |
@antazoey How many nodes have you run for your private network? Have all of them been upgraded to Shanghai? |
Hi, when I enabled |
Rationale
Why should this feature exist?
Because we have features that rely on it.
What are the use-cases?
Having a test provider with excellent transaction tracing support such debug_traceTransaction that is built from the same package as actual nodes. We have been providing this as an option and the best thing it has helped us over the years is testing all tooling related to traces.
As PUSH0 / shanghai came about, things aren't working on our PoA testnets without using older versions of EVM to compile, which can be a pain.
Implementation
Do you have ideas regarding the implementation of this feature?
I just need it to "work" more than I need it to be chain-accurate, I really have no idea.
Are you willing to implement this feature?
I don't know how capable I would be otherwise yes, though I am also not sure how much time I will be able to find. If it really came down to it, then yes I would try, unless it really is impossible.
The text was updated successfully, but these errors were encountered: