-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nonce management #1771
Nonce management #1771
Conversation
637518c
to
d8e9f8b
Compare
f6c6ef0
to
45463ee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code looks good.
I fired off several transactions. Some initiated in bx, some via dapp requests, and purposely sent transactions in bx while local nonce was out of sync with public nonce. Nice work!
…ate in parser used from addNewTx and updateTx
…ddNewtx and updateTxn have been consolidated and a gapped nonce can be picked up
…clobbers over data during for loop
5de12eb
to
05d4f05
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QA DONE!
Swaps:
- mainnet: ✅
- ERC20 > Eth: ✅
- Wrap: ✅
Modifying Txns: ✅
- Speed up a txn: ✅
- Cancel a txn: ✅
Sends: ✅
- mainnet: ✅
Edge cases:
- Swaps in quick succession that both need approves: (had insufficient gas to test this flow. Will try to catch it on release regression. Jin said she is comfortable merging.)
- Approve + Swap: ✅
- Send + Swap alternating: ✅
Fixes BX-1724
Fixes BX-1720
Related to: https://github.com/rainbow-me/rainbow/pull/6277/files
What changed (plus any additional context for devs)
Screen recordings / screenshots
TODO
What to test
Mix of private mempool and public mempool transactions