brave / brave-browser

Brave browser for Android, iOS, Linux, macOS, Windows.
https://brave.com
Mozilla Public License 2.0
17.94k stars 2.35k forks source link

Solana swaps have very high rate of being dropped #42434

Closed onyb closed 4 hours ago

onyb commented 14 hours ago

Description

The priority fee we use for Solana swaps, which is computed by Jupiter API, is not sufficient to land them with a high success rate. Bump it up based on the updated docs: https://station.jup.ag/docs/apis/landing-transactions#an-example-of-how-jupiter-estimates-priority-fees

Steps to reproduce

Perform a Solana swap and approve it.

Actual result

Transaction ends up being dropped almost all the time.

Expected result

Transaction should be successfully confirmed.

Reproduces how often

Easily reproduced

Desktop Brave version (brave://version info)

1.73.x

Android device

N/A

Channel information

Reproducibility

Miscellaneous information

No response