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

Mixed responses for concurrent provider queries #226

Open
DeMonkeyCoder opened this issue Nov 6, 2024 · 0 comments
Open

Mixed responses for concurrent provider queries #226

DeMonkeyCoder opened this issue Nov 6, 2024 · 0 comments

Comments

@DeMonkeyCoder
Copy link
Contributor

For example, if you call "mina_networkId" right after calling "mina_accounts" without awaiting the promises, the response for "mina_networkId" is sent for the "mina_accounts" query as well.

I added this test button to the test-zkaptp to showcase the bug:
https://github.com/DeMonkeyCoder/mina-js/blob/d32c5c01b42d7db123b356d6405377b10d3194ad/apps/docs/src/components/test-zkapp.tsx#L192

image

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