You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should bump @metamask/eth-json-rpc-provider to rely on the new changes.
At that point, calling sendAsync will be deprecated; we should use request instead.
There are only a couple places in the implementation where we are using sendAsync.
However, there are ~20 references in the tests. In particular, the tests make use of a provider whose sendAsync method is mocked. We need to update the helper code to mock request instead.
The text was updated successfully, but these errors were encountered:
After
SafeEventEmitterProvider
is updated to support EIP-1193 and a new version of@metamask/eth-json-rpc-provider
is released, we should adapt to the changes:@metamask/eth-json-rpc-provider
to rely on the new changes.sendAsync
will be deprecated; we should userequest
instead.sendAsync
.sendAsync
method is mocked. We need to update the helper code to mockrequest
instead.The text was updated successfully, but these errors were encountered: