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

Detect byzantium/constantinople/petersburg and warn about compiler version #20

Open
bmcd opened this issue Nov 13, 2019 · 0 comments
Open
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@bmcd
Copy link
Contributor

bmcd commented Nov 13, 2019

We can pull this from an admin_nodeinfo call I think.

If the admin api isn't exposed though, maybe we can do something hacky where we use estimateGas calls with opcodes that only work in the different versions.

Once we have the version, look at the compilation results and warn if they are connected to a node that is behind the compiler evmVersion.

@bmcd bmcd added enhancement New feature or request good first issue Good for newcomers labels Nov 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant