Properly manage transaction nonces #28
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
See
dcbce66796
for hotfix that doesn't really fix the underlying issue with ethers.js' wallet nonce management.can we do a eth_gettransactioncount on boot or regularly, store that number and then manually increment the nonce everytime we've sent a transaction?
something like (pseudo code):
we could maybe use ether.js's
waitForTransaction
to wait until the transaction is mined and then increment the nonce (or do aprovider.getTransactionCount('pending')
again) and then do the next transaction.