Skip to content

Remove gas estimator from the compiler #13566

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

Open
cameel opened this issue Sep 27, 2022 · 0 comments
Open

Remove gas estimator from the compiler #13566

cameel opened this issue Sep 27, 2022 · 0 comments
Labels
breaking change ⚠️ low effort There is not much implementation work to be done. The task is very easy or tiny. low impact Changes are not very noticeable or potential benefits are limited. selected for development It's on our short-term development
Milestone

Comments

@cameel
Copy link
Member

cameel commented Sep 27, 2022

Gas estimator built into the compiler (solc --gas) has not been actively maintained for some time now and has multiple bugs and missing features.

We don't think it makes sense to put more effort into it so we'll be removing it in the next breaking version. There will be no deprecation warnings because as far as we can tell the estimator is rarely used in practice and there are no major tools that depend on it.

@cameel cameel added breaking change ⚠️ selected for development It's on our short-term development low effort There is not much implementation work to be done. The task is very easy or tiny. low impact Changes are not very noticeable or potential benefits are limited. labels Sep 27, 2022
@ekpyron ekpyron added this to the 0.9.0 milestone Feb 6, 2023
TheSnakeWitcher added a commit to TheSnakeWitcher/hardhat.nvim that referenced this issue Apr 1, 2024
We remove these because in solidity v0.9.0 gas estimator will be removed from
the compiler here ethereum/solidity#13566
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change ⚠️ low effort There is not much implementation work to be done. The task is very easy or tiny. low impact Changes are not very noticeable or potential benefits are limited. selected for development It's on our short-term development
Projects
None yet
Development

No branches or pull requests

2 participants