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

fix: handling rn sdk read-only calls #187

Merged
merged 2 commits into from
Sep 11, 2024
Merged

fix: handling rn sdk read-only calls #187

merged 2 commits into from
Sep 11, 2024

Conversation

elefantel
Copy link
Contributor

@elefantel elefantel commented Sep 10, 2024

This PR improves handling of read only API calls via Infura coming from the RN SDK. Because the requests from RN are sent as Data, they are converted to JSON on the iOS SDK and sent to wallet in that manner and sanitised on the wallet. However, for the read-only RPCs via Infura, these are sent via Network and not sanitised accordingly and resulted in a crash.

Addresses issue reported in Testing Integration Issue with Aarna Builder

@elefantel elefantel requested a review from a team as a code owner September 10, 2024 16:31
@elefantel elefantel self-assigned this Sep 10, 2024
Copy link

sonarcloud bot commented Sep 10, 2024

@elefantel elefantel merged commit 0399a53 into main Sep 11, 2024
2 checks passed
@elefantel elefantel deleted the handle-rn-read-only branch September 11, 2024 08:49
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