I had to write the unit test in a different way because we don't have a way to control the maximal nesting depth at runtime. (At least not yet in this repo.) If needed, the new test could be easily generalized to all kinds of data structures.
I deactivated merge commits in this repo so I'll probably "squash-and-rebase" everything when closing the PR.
Import fix from @igor-aptos: https://github.com/aptos-labs/bcs/pull/2
I had to write the unit test in a different way because we don't have a way to control the maximal nesting depth at runtime. (At least not yet in this repo.) If needed, the new test could be easily generalized to all kinds of data structures.
I deactivated merge commits in this repo so I'll probably "squash-and-rebase" everything when closing the PR.