-
Notifications
You must be signed in to change notification settings - Fork 20.5k
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
abigen doesn't support linking of contracts and libs #17010
Comments
replacing the DeployExample by the following
solves the issue |
The LinkBytecode is not accurate and should be included in the abigen (I didn't see it yet) |
Got the same issue. Earnestly hope to have this link feature in abigen soon. |
@stevenlcf Here's our solution: |
Awesome! Thanks, @dankins ! |
Hey, @dankins , just a follow-up, the utils you provided solved this problem wonderfully. Yet I think it could be even better: Updates: I created an issue for this improvement request and another bug report for this utils.go in your repo. I also submitted a pull request to fix the issue. |
Fixed with #19718 |
Hi there,
please note that this is an issue tracker reserved for bug reports and feature requests.
For general questions please use the gitter channel or the Ethereum stack exchange at https://ethereum.stackexchange.com.
System information
Geth version:
1.8.11
OS & Version: Linux
Commit hash : (if
develop
)Expected behaviour
If a lib is used in a contract, it should be either a param of the Deploy function (probably the best) or the deploy should take care of the deployment of the lib first.
Actual behaviour
Contract deployment just doesn't work, no error.
Steps to reproduce the behaviour
Add: abi: unmarshalling empty output
The text was updated successfully, but these errors were encountered: