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

Cannot parse a contract function from Abi with args & multivalue #142

Closed
dan-merlea opened this issue Mar 5, 2022 · 2 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@dan-merlea
Copy link

Error: cannot parse type expression: variadic<multi<array32,u32,array64>>. internal json: {"variadic": {"multi": {"array32": {"u8": {} }: {},"u32": {},"array64": {"u8": {} }}}}.
at TypeExpressionParser.doParse (node_modules/@elrondnetwork/erdjs/src/smartcontracts/typesystem/typeExpressionParser.ts:25:19)

@andreibancioiu andreibancioiu self-assigned this Mar 6, 2022
@andreibancioiu
Copy link
Contributor

Indeed 🙏

This ABI type expression isn't currently supported by erdjs's typesystem. A fix is planned, though not yet in progress.

Other examples of not-yet-supported expressions:
https://github.com/ElrondNetwork/elrond-sdk-erdjs/blob/main/src/smartcontracts/typesystem/typeExpressionParser.spec.ts#L105

@andreibancioiu andreibancioiu added the bug Something isn't working label Mar 14, 2022
@popenta
Copy link
Contributor

popenta commented Aug 23, 2023

The issue was solved. An unit test was added in this PR to ensure the issue is no longer persistent.

@popenta popenta closed this as completed Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants