Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Releases prior to 7.0 has been removed from this file to declutter search result

- codegen: Fixed loading ABIs from the project with no ABI datasources configured.
- project: Fixed `make image` command and default workdir.
- substrate.node: Fixed Substrate Node Event Index.

## [8.3.3] - 2025-04-29

Expand Down
2 changes: 2 additions & 0 deletions src/dipdup/indexes/substrate_events/fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ async def _log_loop() -> None:
with suppress(asyncio.TimeoutError):
while True:
header, events = await asyncio.wait_for(queues['events'].get(), timeout=1)
for index in range(len(events)):
events[index]['index'] = index
yield tuple(SubstrateEventData.from_node(event, header) for event in events)

tasks[-1].cancel()
Loading