Skip to content

Conversation

@holiman
Copy link
Contributor

@holiman holiman commented May 23, 2022

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.

if c.GlobalString(pkgFlag.Name) == "" {
utils.Fatalf("No destination package specified (--pkg)")
}
if c.GlobalString(abiFlag.Name) == "" {
Copy link
Member

Choose a reason for hiding this comment

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

json can also be a source of abigen, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh well spotted!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

bleh, that brings back solidity.go and ParseCombinedJSON ...

"strings"

"github.com/ethereum/go-ethereum/accounts/abi"
"errors"
Copy link
Member

Choose a reason for hiding this comment

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

goimports

@holiman
Copy link
Contributor Author

holiman commented May 23, 2022

I'll reopen this at a later point..

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