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

common/compiler, cmd/abigen: remove solc/vyper compiler integration #24936

Merged
merged 1 commit into from
May 24, 2022

Conversation

holiman
Copy link
Contributor

@holiman holiman commented May 23, 2022

Replaces #24935


This PR removes the integration with external compilers (solc, vyper).
The vyper-support in go-ethereum is flaky at best, considering that the vyper compiler itself has been a moving target in the latest years, so I don't believe that our integration works.
The solc compiler might "work", but would probably need some updates (#24925) in order to be more useful.

An alternative path, which this PR does, is remove the support, making it so that we only consume the ABI artefacts, which the compiler spits out. This makes geth more of a component in the pipeline rather than an orchestrator of the pipeline, and lessens the maintenance surface.R

Copy link
Member

@karalabe karalabe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM

@karalabe karalabe added this to the 1.10.18 milestone May 24, 2022
@karalabe karalabe merged commit 94c8de0 into ethereum:master May 24, 2022
@jeffprestes
Copy link
Contributor

jeffprestes commented May 25, 2022

It makes no sense to remove it. Having it along with abigen makes easier for Go Developers that are starting to work with Ethereum to handle the Smart Contracts. Please revert it.

@danielmbirochi
Copy link

danielmbirochi commented May 25, 2022

Why not just show up some alerts about those integration usage? Many Go Developers uses the compilers integration specially solc integration in their pipelines, it helps Go community to adopt the language for handling Smart Contracts. Please revert it.

@alexjavabraz
Copy link

This is a very useful feature please review this decision as many pipelines currently rely on this feature. Pls revert it.

@karalabe
Copy link
Member

@jeffprestes @danielmbirochi @alexjavabraz But isn't it fairly simple to issue a compile command before the abigen command and have it work again? I do understand that it's "one more command", but is that really that much? Could you give us some example of before and after usage so we might better understand what we've missed?

sidhujag pushed a commit to syscoin/go-ethereum that referenced this pull request May 31, 2022
common/compiler, cmd/abigen: remove solc/vyper compiler integration
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.

6 participants