Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.
This repository was archived by the owner on May 24, 2022. It is now read-only.

Unhandled Rejection (Error): Unable to estimate gas, when trying to send transaction with bad connectivity #354

@ltfschoen

Description

@ltfschoen

I was on the "Send Ether" page with a bad internet connection, so the "Bad connectivity" modal kept appearing.
After entering an amount and recipient, then clicking the "Details" button, the page would refresh.
Then I tried entering an amount and recipient and clicked the "Send" button, but it displayed the following in the Fether window.

Unhandled Rejection (Error): Unable to estimate gas

src/paritytech/fether/packages/fether-react/src/Send/TxForm/TxForm.js:56
  53 | field: /to|amount/, // when the value of these fields change...
  54 | updates: {
  55 |   // ...set field "gas"
> 56 |   gas: async (value, allValues) => {
     | ^  57 |     const { parityStore, token } = this.props;
  58 |     let newGasEstimate = null;
  59 | 
View compiled
▶ 5 stack frames were collapsed.

And the following in Dev Tools Console:

screen shot 2019-01-12 at 12 43 37 pm

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions