Skip to content

Adapt to EIP-1193 provider changes #4100

@mcmire

Description

@mcmire

After SafeEventEmitterProvider is updated to support EIP-1193, we should adapt to the changes:

  • Calling sendAsync will be deprecated; we should use request instead.
    • Here is where we are doing this in the core repo:
      • FakeProvider
      • NetworkController tests
    • Additionally, there are places where we expect the provider that NetworkController returns to have a sendAsync method, and similarly, we should change this to request and update the method signature appropriately:
      • SelectedNetworkController tests
      • createAutoManagedNetworkClient tests
  • Note that there are places in core where we are calling sendAsync on eth-query. We don't need to worry about those in this ticket; they are being addressed in a different ticket.

Metadata

Metadata

Assignees

Labels

team-wallet-frameworkDeprecated: Please use `team-core-platform` instead.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions