We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64b5f6c commit 7f24474Copy full SHA for 7f24474
packages/fasset-indexer-core/src/scripts/add-evm-transaction-metadata.ts
@@ -29,12 +29,14 @@ async function updateTransactions(context: Context) {
29
tx.type = metadata.type
30
await em.persistAndFlush(tx)
31
}
32
+
33
+ return txs.length == TX_LIMIT
34
35
36
async function main() {
37
const config = new ConfigLoader()
38
const context = await Context.create(config)
- await updateTransactions(context)
39
+ while (await updateTransactions(context)) {}
40
await context.orm.close()
41
42
0 commit comments