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

Stop assuming wrapped responses from MetaMask provider #854

Merged
merged 3 commits into from Oct 24, 2022

Conversation

FrederikBolding
Copy link
Member

@FrederikBolding FrederikBolding commented Oct 24, 2022

This fixes an issue that breaks the MultiChainProvider. Previously it would assume that the responses from MetaMask would be wrapped in the JSON-RPC wrapper, but that is not the case. This PR stops assuming that the responses are wrapped and treats the return value as a direct return value.

@FrederikBolding FrederikBolding marked this pull request as ready for review October 24, 2022 15:55
@FrederikBolding FrederikBolding requested a review from a team as a code owner October 24, 2022 15:55
@FrederikBolding FrederikBolding merged commit d1ff57c into main Oct 24, 2022
@FrederikBolding FrederikBolding deleted the fb/multichain-provider-fixes branch October 24, 2022 18:29
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

Successfully merging this pull request may close these issues.

None yet

2 participants