Skip to content
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

Remove flashbots logic and UI #1775

Merged
merged 22 commits into from
Dec 10, 2024
Merged

Remove flashbots logic and UI #1775

merged 22 commits into from
Dec 10, 2024

Conversation

jinchung
Copy link
Member

@jinchung jinchung commented Dec 3, 2024

Fixes BX-1704

What changed (plus any additional context for devs)

  • Remove flashbots logic and UI

Screen recordings

  • 2 swaps in quick succession
Screen.Recording.2024-12-08.at.2.25.52.PM.mov

What to test

Please see testing list in Linear ticket (BX-1704 as well as BX-1724)

Copy link

linear bot commented Dec 3, 2024

@jinchung jinchung force-pushed the @jin/remove-flashbots branch from 5a3bf5f to 20cf2f1 Compare December 4, 2024 16:49
@BrodyHughes
Copy link
Member

BrodyHughes commented Dec 4, 2024

QA:

Swaps: ✅

  • mainnet: ✅
  • superchain (OP): ✅
  • L2 (Arb): ✅
  • L3 (Degen / Ape): ✅

Modifying Txns:

  • Speed up a txn: trying to speed up gives the “NONCE HAS ALREADY BEEN USED” popup ❌
  • Cancel a txn: trying to cancel gives the “NONCE HAS ALREADY BEEN USED” popup ❌

Sends: ✅

  • mainnet: ✅
  • superchain (OP): ✅
  • L2 (Arb): ✅
  • L3 (Degen / Ape): ✅

Edge cases:

  • Swaps in quick succession: while swap is pending, follow up with a swap and you get “NONCE HAS ALREADY BEEN USED” ❌
  • Approve + Swap: ✅
  • Send + Swap alternating: while send is pending, follow up with a swap and you get “NONCE HAS ALREADY BEEN USED” ❌

Summary:

Most functions (swap, send, approvals) when done in isolation work fine. When done in quick succession and there are pending transactions, the “Nonce has already been used” popup is often found.

@jinchung jinchung force-pushed the @jin/remove-flashbots branch from 20cf2f1 to 71efd3c Compare December 7, 2024 04:08
@jinchung jinchung force-pushed the @jin/remove-flashbots branch from 71efd3c to 160ac6c Compare December 8, 2024 20:35
@jinchung jinchung marked this pull request as ready for review December 8, 2024 20:36
@jinchung jinchung merged commit 5de12eb into @jin/nonce-mgmt Dec 10, 2024
12 checks passed
@jinchung jinchung deleted the @jin/remove-flashbots branch December 10, 2024 17:46
jinchung added a commit that referenced this pull request Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants