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

[Contracts] Unable to determine parameter or return types #1533

Open
claytonneal opened this issue Nov 25, 2024 · 0 comments
Open

[Contracts] Unable to determine parameter or return types #1533

claytonneal opened this issue Nov 25, 2024 · 0 comments

Comments

@claytonneal
Copy link
Member

claytonneal commented Nov 25, 2024

When using the VDB contracts the SDK proxy is returning all possible return types and proposes all possible parameter types
This is really confusing to a user/newbie - and means as a developer u have to refer to the ABIs to find out what is the return type and try to cast to that.

Below is a screenshot from VS code:

Image

you can see the type hint VS code is showing is all possible types

Lets see if we can improve that with Viem

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

No branches or pull requests

2 participants