brave / brave-browser

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

Solana Swap transactions are not listed under token details screen #36881

Open srirambv opened 1 year ago

srirambv commented 1 year ago

Description:

Solana Swap transactions are not listed under token details screen

Steps to Reproduce

  1. Submit a Solana Swap transaction (SOL-USDT)
  2. Open Solana token details page, transaction is not listed
  3. Open Solana account details page, transaction is listed

Actual result:

Solana Swap transactions are not listed under token details screen

Expected result:

TBD

Reproduces how often: [Easily reproduced, Intermittent Issue]

Easy

Brave Version:

Device details:

All

Website problems only:

Additional Information

cc: @jamesmudgett @HEagle18 @StephenHeaps @nuo-xu

StephenHeaps commented 1 year ago

We should be able to detect SOL -> x swaps by checking for a system program instruction, but we can't currently detect which SPL token(s) are in the Solana swap transaction to show in respective SPL token details.

StephenHeaps commented 1 year ago

@yrliou thoughts on above? cc @onyb