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

Support for double nested arrays for return values #147

Open
slundqui opened this issue Oct 29, 2024 · 0 comments
Open

Support for double nested arrays for return values #147

slundqui opened this issue Oct 29, 2024 · 0 comments

Comments

@slundqui
Copy link
Contributor

Currently, pypechain function call() that returns a double nested array in Solidity (e.g., uint256[][]) returns a NotImplementedError('Multiple return values of type list[...] is not supported.') error. Ideally, we would support this output, or at minimum support falling back to returning the output without typing if this fails.

The use case for this is calling IRestakeManager.calculateTVLs() function in the IRenzo.sol contracts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant