Skip to content

Cannot parse type strings for tuples containing static arrays of tuples #12

@jasonpaulos

Description

@jasonpaulos

Problem

Currently this repo fails to parse types like this: (bool,bool,(string,uint64)[3]).

It appears that having a static array of tuples ((string,uint64)[3]) inside of a tuple causes an unexpected failure to parse.

I've done some investigation and I believe the bug is in the parseTupleContent function.

Potential Solutions

After some investigation, it appears that the JS and Python SDKs are not affected by this bug, so perhaps we can look at their implementations to see how they handle this case.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions