You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve nonce management logic for private mempool handling (#6277)
* Add support for default private mempool timeout of 2 minutes
* fix: rename chainsPrivateMempoolTimout
* Use existing timestamp to update tx timestamp for new pending txns or updating pending txns
* Update nonce management logic
* Wrap latest and pending tx count calls in Promise.all
* Add support for batched provider
* Use batched provider in nonce manager logic
* Update getNextNonce forloop exit
* Fix: handle when localNonce not set yet
* Remove nonce logic for flashbots from pending txn watcher
* Remove flashbots toggle from swap review panel
* Remove flashbots from swap-provider
* Remove flashbots logic from swap gas panel
* Remove flashbots from swap settings and meteorology
* Remove flashbots enabled from redux and global settings
* Remove flashbots from speedup and cancel sheet and redux gas
* Remove flashbots from explain sheet
* Remove flashbots from raps
* Remove getFlashbotsProvider
* Remove flashbots from remote config defaults
* Remove flashbots from txns parser
* Remove flashbots row from swap settings panel
* Remove flashbots from animated swap styles
* Remove supported flashbots chain ids list
* Remove flashbots in analytics and experimental config
* Remove flashbots from GasSpeedButton and FeesPanel
* Remove flashbots min tip constant
* Remove en_US flashbots copy
* Adding new txn to behave similar to updating txns in order to handle new txns that are using a gapped nonce
* Fix addPendingTxn to ensure pending txns are ordered by nonce
* Simplify updateTransaction which matches addNewTransaction
* Support pendingTransactions function for returning txns in recent first order
* Cleanup sort function
* Fix: setNonce only when nonce is greater than currentNonce now that addNewtx and updateTxn have been consolidated and a gapped nonce can be picked up
* Set up HARDHAT_RPC_URL constant
* Fix: array sort sorts in place
* Remove flashbots from latest changes for navigateToSwaps
* Add a comment for getNextNonce logic
* Remove unnecessary updating of nonces from pending txn watcher as it clobbers over data during for loop
* Fix: off by one error when comparing local nonce with pending txn count
* Remove flashbots reference
0 commit comments