core
core copied to clipboard
Adapt to EIP-1193 provider changes
After SafeEventEmitterProvider is updated to support EIP-1193, we should adapt to the changes:
- Calling
sendAsyncwill be deprecated; we should userequestinstead.- Here is where we are doing this in the
corerepo:-
FakeProvider -
NetworkControllertests
-
- Additionally, there are places where we expect the provider that NetworkController returns to have a
sendAsyncmethod, and similarly, we should change this torequestand update the method signature appropriately:-
SelectedNetworkControllertests -
createAutoManagedNetworkClienttests
-
- Here is where we are doing this in the
- Note that there are places in
corewhere we are callingsendAsynconeth-query. We don't need to worry about those in this ticket; they are being addressed in a different ticket.
Any chance to have that coming?
@MakiBM We are working on this now :)