argotorg / argotorg/solidity

Remove gas estimator from the compiler

Open
#13,566 1 comment 0 reactions 0 assignees View on GitHub
breaking change :warning: low effort low impact selected for development
Dominant language
C++
Stars
25.7k
Forks
6.2k
Avg merge
2d 19h
Merged PRs (30d)
29

Description

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.~

This needs a deprecation warning.

Contributor guide

Open the contributing guide

Research direction

The issue names the solc --gas compiler option but no files or tests. Start by locating the option's implementation and the project's existing deprecation-warning coverage; done means the requested warning is emitted for this option and the change is covered by appropriate tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
compilers
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.