Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Confirmation patch #657

Open
wants to merge 3 commits into
base: 0.2.5-beta.18
Choose a base branch
from
Open

Confirmation patch #657

wants to merge 3 commits into from

Conversation

jakekidd
Copy link
Contributor

@jakekidd jakekidd commented Jun 11, 2021

The Problem

Nonce has expired, but sometimes takes longer than 45 sec to confirm. Results in a UI/UX issue - the tx eventually goes through, but our store/application state does not reflect it.

The Solution

Sledgehammer fix for issue where nonce expired, and we re-check for confirmation. Wait for an extended period when nonce has expired.

Also added some good juicy logs in there (and removed a redundant "Tx submitted." log)

@jakekidd
Copy link
Contributor Author

Can't repro the issues/failures in the CI for this. The only additional functionality I added was the additional argument for the waitForConfirmation. Any insight welcome

@sanchaymittal
Copy link
Contributor

Can't repro the issues/failures in the CI for this. The only additional functionality I added was the additional argument for the waitForConfirmation. Any insight welcome

Just wanted to let you know, waitForConfirmation didn't work at the frontEnd. I had to add tx.wait() to make things work.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants