Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Add MetaMask/Infura workaround for pending transactions #265

Merged
merged 2 commits into from
Jul 22, 2019

Commits on Jul 22, 2019

  1. Update chain defaults

    * Add `HARDFORKS` defaults constant
    * Add `NETWORK_NAMES` defaults constant
    * Add tentative support for more chains for `getChainDefinition`
    * Rename `NETWORK_IDS` defaults constant to `CHAIN_IDS`
    * Use hardfork and network name constants `getChainDefinition`
    JamesLefrere committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    f1f8ee0 View commit details
    Browse the repository at this point in the history
  2. Add MetaMask/Infura workaround

    * Add `await-transaction-mined` dependency
    * Define a method to get a pending MetaMask transaction and if necessary (given e.g. an Infura provider), wait for the transaction to be confirmed before getting it (otherwise, the provider will return null)
    JamesLefrere committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    8ee06c8 View commit details
    Browse the repository at this point in the history