Skip to content
New issue

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

Feature request / bug: Struct[] return type support #23

Open
coinop-logan opened this issue May 6, 2021 · 0 comments
Open

Feature request / bug: Struct[] return type support #23

coinop-logan opened this issue May 6, 2021 · 0 comments

Comments

@coinop-logan
Copy link

Seeing that one of the test or example files had pragma experimental ABIEncoderV2, I wrote this "Scripts" contract which returns a dynamic-sized array of the StoredMessageData from the SmokeSignal contract. The Scripts contract results in this ABI.

Unfortunately, elm-ethereum-generator fails to build an Elm binding from this, with the message Error in $[0].outputs[0].type: unrecognized JSON ABI Solidity type: "tuple[]"

I'm not sure if this is a bug report or a feature request, considering this is part of that "experimental encoding" mentioned above, and it's not clear whether that's supposed to be supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant