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.
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
parseTupleContentfunction.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.