Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
osipov-mit committed Dec 21, 2023
1 parent 05d7b9c commit a5bb09f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/handlers/migrated-nft.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ export async function readMigratedNfts(state: BatchState) {

const batchSize = 5;
for (let i = 0; i < storages.length; i += batchSize) {
console.log(`Reading storage ${i + 1} - ${i + batchSize} of ${storages.length}`);

const [tokens, links] = await Promise.all([
gearReadStateBatchReq(storages.slice(i, i + batchSize), '0x02'),
gearReadStateBatchReq(storages.slice(i, i + batchSize), '0x06'),
Expand Down

0 comments on commit a5bb09f

Please sign in to comment.