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

fix: global search leaking Tx history #5881

Merged
merged 2 commits into from
Dec 19, 2023
Merged

Conversation

gomesalexandre
Copy link
Contributor

@gomesalexandre gomesalexandre commented Dec 18, 2023

Description

Two birds one stone:

  • ensures we only select wallet Tx history
  • ensures we honor the order of txIds instead of relying on unordered txs , making the results sane and ordered

Pull Request Type

  • 🐛 Bug fix (Non-breaking Change: Fixes an issue)
  • 🛠️ Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
  • 💅 New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #4589

Risk

None?

Testing

  • Global search Txs do not leak cross-wallets
  • Global search Txs are properly ordered, including when searching i.e latest come first. No search input means most recent transactions displayed, similar to the Activity tab.

Engineering

  • ☝🏽

Operations

  • ☝🏽

Screenshots (if applicable)

Three wallets connected: Two MM ones, and an empty native one

  • MM wallet 1
Screenshot 2023-12-18 at 17 41 51 Screenshot 2023-12-18 at 17 42 38
  • Native empty wallet
Screenshot 2023-12-18 at 17 44 07 Screenshot 2023-12-18 at 17 44 15 Screenshot 2023-12-18 at 17 44 15
  • MM wallet 2
Screenshot 2023-12-18 at 17 44 46 Screenshot 2023-12-18 at 17 45 09

Copy link
Contributor Author

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@gomesalexandre gomesalexandre marked this pull request as ready for review December 18, 2023 16:51
@gomesalexandre gomesalexandre requested a review from a team as a code owner December 18, 2023 16:51
@0xApotheosis 0xApotheosis self-assigned this Dec 19, 2023
Copy link
Contributor

@0xApotheosis 0xApotheosis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test criteria passed ✅

🩸 🐦🩸 🐦🩸 🪨

@0xApotheosis 0xApotheosis merged commit c22736b into develop Dec 19, 2023
3 checks passed
@0xApotheosis 0xApotheosis deleted the fix_leak_tx_history branch December 19, 2023 05:37
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.

TX History leaks between different wallets through Global Search
2 participants