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: upsert account on new tx #8031

Merged
merged 3 commits into from
Oct 29, 2024
Merged

fix: upsert account on new tx #8031

merged 3 commits into from
Oct 29, 2024

Conversation

kaladinlight
Copy link
Contributor

Description

Upsert account on new tx detected via websockets. Regression from #7822. Currently we don't update portfolio when transactions are detected after broadcast requiring the user to refresh the app to get accurate balance updates.

Issue (if applicable)

closes #8008

Risk

High Risk PRs Require 2 approvals

Low

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

Testing

  • Ensure balance updates after interacting with the blockchain

Engineering

☝️

Operations

  • 🏁 My feature is behind a flag and doesn't require operations testing (yet)

☝️

Screenshots (if applicable)

@kaladinlight kaladinlight requested a review from a team as a code owner October 29, 2024 22:14
@NeOMakinG NeOMakinG self-requested a review October 29, 2024 22:36
Copy link
Collaborator

@NeOMakinG NeOMakinG left a comment

Choose a reason for hiding this comment

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

Arb

https://jam.dev/c/25ba2d76-9709-4093-866e-57c2fcaf13c3

Solana is failing

https://jam.dev/c/225b0b2a-8c96-457e-94b6-2a534d1a9a3f
But I think it's expected, do we have a known issue about Solana's websockets?

THORChain/COSMOS

https://jam.dev/c/6a941739-6363-48c0-b65a-2da8b136f573

Most websockets seems like working as usually, as the issue was on web side, but solana's websocket did fail, unrelated to this PR

@kaladinlight kaladinlight enabled auto-merge (squash) October 29, 2024 22:53
@kaladinlight kaladinlight merged commit 6236f1c into develop Oct 29, 2024
3 checks passed
@kaladinlight kaladinlight deleted the upsert-account-new-tx branch October 29, 2024 22:58
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 not updating after trades are performed
2 participants