Skip to content

Conversation

@willemneal
Copy link
Contributor

@willemneal willemneal commented Sep 10, 2024

Initial minimal failing example. Looking into it, the fix is that we need to change the way the help generates types and their examples. Currently it assumes that types aren't self referential, hence when generating the enum cases it keeps recursing.

So one solution is to create a types table and perhaps use a stack instead. Either way this is a bigger change than I had initially hoped.

@willemneal willemneal linked an issue Sep 10, 2024 that may be closed by this pull request
@willemneal willemneal changed the title fix: fail to generate help for recursive custom types fix: generate help for recursive custom types Sep 10, 2024
@sagpatil sagpatil requested a review from fnando January 14, 2025 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog (Not Ready)

Development

Successfully merging this pull request may close these issues.

Stack overflow error when interacting with testnet contract

1 participant