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

Mina.fetchEvents() contains imparity between Network and LocalBlockchain #1863

Open
rpanic opened this issue Oct 11, 2024 · 0 comments
Open

Comments

@rpanic
Copy link
Contributor

rpanic commented Oct 11, 2024

When using Mina.fetchEvents(), the returned object contains the events (.events.data)

  • For Remote networks as string[]
  • For LocalBlockchain, as Field[], typed as a string[]

The reason for this is that the events are not typed at all in the LocalBlockchain implementation, and then casted incorrectly.

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