We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c1e6f3 commit 00a7d25Copy full SHA for 00a7d25
services/decoder/decoder.ts
@@ -170,7 +170,7 @@ export class GoldRushDecoder {
170
const nativeEvent = this.native_decoder(tx);
171
events.push(nativeEvent);
172
}
173
- const logChunks = chunkify(tx.log_events ?? [], 500);
+ const logChunks = chunkify(tx.log_events ?? [], 100);
174
const decodedEvents: EventType[] = [];
175
for (const logChunk of logChunks) {
176
const decodedChunk = await Promise.all(
@@ -208,7 +208,6 @@ export class GoldRushDecoder {
208
);
209
decodedEvents.concat(decodedChunk.filter(Boolean) as EventType[]);
210
211
- console.log(events.length + decodedEvents.length);
212
return events.concat(decodedEvents);
213
};
214
0 commit comments