You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 27, 2019. It is now read-only.
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)
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
The text was updated successfully, but these errors were encountered:
0xTimepunk
changed the title
Calling cacheCall on a contract method which returns a struct
Calling cacheCall on a contract method which returns a struct gives an error - Web3 related
Jun 4, 2019
@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
The text was updated successfully, but these errors were encountered: