-
Notifications
You must be signed in to change notification settings - Fork 20.2k
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
undefined: abi.ConvertType for go file generated from solidity #21644
Comments
It's a breaking change in the API - @MariusVanDerWijden is working on it |
We recently changed the abi generator in order to remove some code. You need to update your geth version to v.1.23 if you want to use the bindings generated by v.1.23. Please let me know if it still fails if you update your version to v.1.23 |
@MariusVanDerWijden Please I upgraded and I still have geth version |
No It doesn't exist yet, sorry. The change we made to abigen is here: #21091 |
@MariusVanDerWijden Okay... Please how do I set to a version and which version would pass without this error message? Sorry for the newbie question |
Easiest is to download the abigen binary from here: https://geth.ethereum.org/downloads/ make sure to select |
Encountered this error today. I'm using abigen 1.10.6-unstable-f05419f0-20210715 and it still produced a go file that contained the *abi.ConvertType syntax. |
Hi there,
Please note that this is an issue tracker reserved for bug reports and feature requests.
When I use the below command
abigen --pkg erc20 --sol gole.sol --out erc20.go
to generate a go file from solidity file. However, I noticed it has a missing typeabi.ConvertType
from one of the goethereum libs. It leads to error message ,undefined: abi.ConvertType
.System information
Geth version:
1.15
OS & Version: Linux/Ubuntu 20
Expected behaviour
Actual behaviour
Steps to reproduce the behaviour
Backtrace
The text was updated successfully, but these errors were encountered: