Skip to content

Mixed responses for concurrent provider queries #226

@DeMonkeyCoder

Description

@DeMonkeyCoder

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions