-
Notifications
You must be signed in to change notification settings - Fork 317
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…ger and archives and fix test_archive_indexing (#398) Get and query all the blocks from the ICP ledger and archives in the `icp_get_blocks` and `icp_query_blocks` helper functions: Try to retrieve all the blocks from the ledger, and if there are archives, retrieve all the blocks from them also, up to the maximum blocks per response at a time. Previously, only one call to retrieve blocks to the ledger and archives was made, so if any of them contained more blocks than could fit into a response, not all were retrieved. Also fix the ICP `test_archive_indexing` test that broke.
- Loading branch information
1 parent
eb77549
commit 364fe4f
Showing
2 changed files
with
88 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters