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
When generating sources for a contract which has return or input values which are arrays of a struct, the following error is thrown.
Execution default-cli of goal org.web3j:web3j-maven-plugin:4.6.5:generate-sources failed: Unsupported type encountered: tuple
Below is a sample contract which causes the error above.
// SPDX-License-Identifier: MIT pragma solidity ^0.7.0; pragma experimental ABIEncoderV2; interface MyContract { struct MyData { address account; uint256 balance; } function myFunction(address account) external view returns (MyData[] memory data); }
The text was updated successfully, but these errors were encountered:
Looks like this is directly related to hyperledger-web3j/web3j#935
Sorry, something went wrong.
Have you solved the problem
No branches or pull requests
When generating sources for a contract which has return or input values which are arrays of a struct, the following error is thrown.
Execution default-cli of goal org.web3j:web3j-maven-plugin:4.6.5:generate-sources failed: Unsupported type encountered: tuple
Below is a sample contract which causes the error above.
The text was updated successfully, but these errors were encountered: