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

Make .get() for onchain values async and non-lazy #1721

Open
mitschabaude opened this issue Jul 3, 2024 · 0 comments
Open

Make .get() for onchain values async and non-lazy #1721

mitschabaude opened this issue Jul 3, 2024 · 0 comments
Labels
breaking Issues that will lead to breaking changes

Comments

@mitschabaude
Copy link
Member

mitschabaude commented Jul 3, 2024

Fetch state / other onchain values directly instead of running the method twice and expecting them to be cached afterwards (which doesn't even work in all cases).

We can still use a cache for performance - but should fall back to direct fetching. And run the method only once!!!

@mitschabaude mitschabaude changed the title Make .get() for onchain-values async and non-lazy Make .get() for onchain values async and non-lazy Jul 3, 2024
@mitschabaude mitschabaude added breaking Issues that will lead to breaking changes bug Something isn't working and removed bug Something isn't working labels Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Issues that will lead to breaking changes
Projects
None yet
Development

No branches or pull requests

1 participant