Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Introduce LegacyEthereumProvider interface #14

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Commits on Jul 14, 2023

  1. Introduce SafeEventEmitterProvider interface

    In some controller tests it's useful to create a fake provider that
    conforms to the same interface as a "real" provider but doesn't actually
    hit the network. To make such a fake provider, however, we must create a
    class that extends SafeEventEmitterProvider. This is unfortunate as it
    introduces the possibility that the network could be hit accidentally if
    not all of the methods in the interface are appropriately overridden.
    
    This commit introduces an interface that allows us to _implement_ the
    same interface without having to extend it.
    mcmire committed Jul 14, 2023
    Configuration menu
    Copy the full SHA
    9adca46 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2023

  1. Configuration menu
    Copy the full SHA
    54745ae View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    10dec2e View commit details
    Browse the repository at this point in the history
  3. Expose JsonRpcProvider

    mcmire committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    ca9c9f4 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. Configuration menu
    Copy the full SHA
    f499310 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6fc1976 View commit details
    Browse the repository at this point in the history
  3. Fix

    mcmire committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    7bb3de7 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Configuration menu
    Copy the full SHA
    2fec9ce View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. Import JsonRpcRequest from @metamask/utils

    Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
    mcmire and legobeat authored Oct 2, 2023
    Configuration menu
    Copy the full SHA
    684dda7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7478f22 View commit details
    Browse the repository at this point in the history
  3. Fix

    mcmire committed Oct 2, 2023
    Configuration menu
    Copy the full SHA
    1d885d9 View commit details
    Browse the repository at this point in the history