Skip to content

Conversation

@mkazlauskas
Copy link
Member

@mkazlauskas mkazlauskas commented Jan 22, 2025

Context

  1. BlockfrostChainHistoryProvider used to incorrectly slice all-address transactions array
  2. We have recently updated BaseWallet to operate with partial tx history. AssetsTracker is fetching AssetInfo only for assets found in tx history. Therefore it wouldn't fetch asset info for assets currently in balance.

Proposed Solution

  1. This commit changes the behavior to apply the limit per address in order to not miss any transactions. The more addresses you have, the higher the limit. e555950
  2. Fetch asset info for tokens in balance e49a4ea

Important Changes Introduced

vetalcore
vetalcore previously approved these changes Jan 22, 2025
vetalcore
vetalcore previously approved these changes Jan 22, 2025
…of transactions

BlockfrostChainHistoryProvider used to incorrectly slice all-address transactions array.
This commit changes the behavior to apply the limit per address in order to not miss
any transactions. The more addresses you have, the higher the limit.
@mkazlauskas mkazlauskas force-pushed the fix/blockfrost-chain-history-slice branch from 2b9d915 to e555950 Compare January 22, 2025 15:03
@mkazlauskas mkazlauskas changed the title fix: blockfrost chain history transactions limit per address fixes: blockfrost chain history transactions limit per address & balance token info Jan 22, 2025
We have recently updated BaseWallet to operate with partial tx history.
AssetsTracker is fetching AssetInfo only for assets found in tx history.
Therefore it wouldn't fetch asset info for assets currently in balance.
@mkazlauskas mkazlauskas force-pushed the fix/blockfrost-chain-history-slice branch from e49a4ea to b3c871f Compare January 22, 2025 17:11
Copy link
Contributor

@przemyslaw-wlodek przemyslaw-wlodek left a comment

Choose a reason for hiding this comment

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

:shipit:

@rhyslbw rhyslbw merged commit 63b0095 into master Jan 22, 2025
5 of 6 checks passed
@rhyslbw rhyslbw deleted the fix/blockfrost-chain-history-slice branch January 22, 2025 18:05
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.

5 participants