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

Update snapRPC types and fix snapRequest #525

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Conversation

rygine
Copy link
Collaborator

@rygine rygine commented Jan 24, 2024

in this PR:

  • fixed snapRPC return type
  • asserted return type of snapRPC in SnapKeystore to fix type error
  • fixed response check in snapRequest

asserting the return type of snapRPC in SnapKeystore is not ideal, but this way we get accurate return types when calling snapRPC locally. the return type of SnapKeystore is unaffected by this change as it's also asserted.

@rygine rygine requested a review from a team January 24, 2024 00:35
@rygine rygine merged commit 1f10148 into main Jan 24, 2024
7 checks passed
@rygine rygine deleted the rygine/fix-snap-helpers-type branch January 24, 2024 00:52
Copy link
Contributor

🎉 This PR is included in version 11.3.7 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants