Array types must be wrapped in a TypeReference #1725
874341642
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Abi:
"outputs": [{
"components": [ {
"internalType": "uint256[]",
"name": "blocks",
"type": "uint256[]"
}],
"internalType": "struct Mining.PlayerWork",
"name": "",
"type": "tuple"
}]
Java
public class PlayerWork extends DynamicStruct {
public PlayerWork(DynamicArray blocks) {
super(blocks);
}
}
Error info
Array types must be wrapped in a TypeReference
Beta Was this translation helpful? Give feedback.
All reactions