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

chore: add verifier assets for codexdisttestnetwork #89

Merged
merged 2 commits into from
Feb 26, 2024

Conversation

AuHau
Copy link
Member

@AuHau AuHau commented Feb 23, 2024

This temporary fixes the non-functional distributed tests, which were failing on the non-existing PUSH0 opcode. This opcode was introduced in the Shangai upgrade.

I originally tried to upgrade the Geth setup in dist. tests to support the Shangai upgrade, but with having --miner functionality Geth refused to enable it. It turned out that as it is Post-Merge upgrade it would require more complicated setup (ethereum/go-ethereum#28449 https://dev.to/q9/how-to-merge-an-ethereum-network-right-from-the-genesis-block-3454).

So instead I decided to lower the Solidity's compile EVM target to pre-Shangai upgrade as a temporary measure as first version of the testnet will run against our PoA network. When we will deploy to some existing testnet with Shangai support we should revisit this, although then we will also need a solution for dist tests. Maybe the Geth's --dev mode could be then the answer? Not sure.

EDIT: Ben was able to create Geth node image with Shangai upgrade, so the reverting part of the compiled target is not necessary. Only thing left for having the contracts successfully deployed on Dist. test is the missing verifier assets for that network. I have added them and they are for now identical to hardhat network.

@AuHau AuHau changed the title fix: downgrade targeted evm version chore: add verifier assets for codexdisttestnetwork Feb 24, 2024
@markspanbroek markspanbroek merged commit 965529d into master Feb 26, 2024
4 checks passed
@markspanbroek markspanbroek deleted the fix/dist-tests branch February 26, 2024 09:26
@markspanbroek
Copy link
Member

Thanks for looking into this Adam!

@markspanbroek markspanbroek mentioned this pull request Feb 28, 2024
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

Successfully merging this pull request may close these issues.

2 participants