Closed 0xTimepunk closed 5 years ago
@j-mars Apologies for the situation you're in. We had to pin to web3 1.0.0-beta.35 because of breaking changes in web3 and we're awaiting a resolution, (which is in the works)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed, but can be re-opened if further comments indicate that the problem persists. Feel free to tag maintainers if there is no reply to further comments.
Calling cacheCall on a contract method that should return a struct gives the following error:
Invalid solidity type: tuple at ABICoder._requireType (index.js:74) at eval (index.js:100)
Digging a bit, seems the issue is related to Web3 and was fixed in the 1.0.0-beta.36 release, as described in https://ethereum.stackexchange.com/questions/36229/invalid-solidity-type-tuple and https://github.com/ethereum/web3.js/issues/1241
Drizzle is using 1.0.0-beta.35.
It would be interesting to update web3 in Drizzle. In the meantime I will have to play a workaround in my solidity code to return parts of the struct.
Thanks