-
Notifications
You must be signed in to change notification settings - Fork 20.9k
abigen doesn't support imports #2806
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
Labels
Comments
+1 |
I already have the code changes for this, will submit shortly. |
fjl
added a commit
to fjl/go-ethereum
that referenced
this issue
Aug 17, 2016
Support for legacy version 0.9.x is gone. The compiler version is no longer cached. Compilation results (and the version) are read directly from stdout using the --combined-json flag. As a workaround for ethereum/solidity#651, source code is written to a temporary file before compilation. Integration of solc in package ethapi and cmd/abigen is now much simpler because the compiler wrapper is no longer passed around as a pointer. Fixes ethereum#2806, accidentally
Fix released in 1.5.0. |
sduchesneau
pushed a commit
to streamingfast/go-ethereum
that referenced
this issue
Feb 10, 2025
upstream: merge geth date 1213
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because abigen invokes the solidity compiler by passing a string, the compiler has no path to work with for imports. It'd be really useful if it supported imports relative to the directory of the root contract being compiled.
The text was updated successfully, but these errors were encountered: