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

balances: fetch twice tx confirm #5551

Merged
merged 1 commit into from Mar 26, 2024
Merged

Conversation

skylarbarrera
Copy link
Contributor

Fixes APP-1274

What changed (plus any additional context for devs)

Screen recordings / screenshots

What to test

Copy link

linear bot commented Mar 25, 2024

@benisgold
Copy link
Member

benisgold commented Mar 25, 2024

I wonder if we could use the timestamp of the most recent query update to conditionally do this fetch? Otherwise it seems like we might end up with redundant fetches but idk

@walmat
Copy link
Contributor

walmat commented Mar 26, 2024

I actually think we should refetch on interval here until the change has been detected.

@skylarbarrera
Copy link
Contributor Author

@benisgold there's not really a good way to confirm that the balances have been updated properly , this is p inexpensive so nbd imo

@walmat i see what you're saying but 👆

we should be able to check onchain balances and update that way for txs like swaps where we know what assets are coming in and out

this is more of a patch for the time being to ensure data is updated as quick as possible

@skylarbarrera skylarbarrera merged commit fe4d9c1 into develop Mar 26, 2024
6 checks passed
@skylarbarrera skylarbarrera deleted the @skylar/double-fetch branch March 26, 2024 17:47
BrodyHughes added a commit that referenced this pull request Apr 2, 2024
* 'develop' of github.com:rainbow-me/rainbow:
  Bump Rudderstack version to v1.12.1 (#5556)
  txs: detail sheet updates (#5535)
  browser: requests background color (#5562)
  fix: hide favs on non mainnet assets (#5565)
  balances: fetch twice tx confirm (#5551)
  [CHORE]: Remove Apollo client in favor of `@/graphql` (#5555)
  browser: favorites state + menu (#5553)
  init browser state (#5552)
  Dapp Browser: Search UI (#5542)
  Dapp Browser + provider (#5543)
  NFT offers/mints gas estimation improvements (#5448)
  State dump modifications (#5382)
  fix crash (#5544)
  [SWAPS V2]: Adjust asset types + utils to match BX (#5538)
This was referenced Apr 2, 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.

None yet

3 participants