We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The generated code does not contain the struct that is defined in static array
Solidity
struct Player { address addr; uint256 timeLeft; } struct Config{ uint64 index; Player[2] players; }
Generated warpper
public static class Config extends StaticStruct { public BigInteger index; public List<Player> players; }
I can not find the Class of Player . But it successfully generates when I modity the static array to dynamic, like this:
struct Config{ uint64 index; Player[] players; }
web3j version: 4.11.1
The text was updated successfully, but these errors were encountered:
NickSneo
Successfully merging a pull request may close this issue.
The generated code does not contain the struct that is defined in static array
Solidity
Generated warpper
I can not find the Class of Player .
But it successfully generates when I modity the static array to dynamic, like this:
The text was updated successfully, but these errors were encountered: