Skip to content

Conversation

@sergiupopescu199
Copy link
Contributor

@sergiupopescu199 sergiupopescu199 commented Sep 12, 2025

Description of change

This PR is the first iteration attempt to provide streaming support for the iota-indexer as a library componente. Currently it supports streaming of StoredEvents and StoredTransactions. It also supports filters.

Links to any relevant issues

fixes #8315

How the change has been tested

created a separated binary which used the iota-indexer as a library, used testnet network as source of checkpoints for synchronization, subscribed to incoming events, applied different filter to assert that they were respected.

  • Basic tests (linting, compilation, formatting, unit/integration tests)
  • Patch-specific tests (correctness, functionality coverage)

Infrastructure QA (only required for crates that are maintained by @iotaledger/infrastructure)

  • Synchronization of the indexer from genesis for a network including migration objects.
  • Restart of indexer synchronization locally without resetting the database.
  • Restart of indexer synchronization on a production-like database.
  • Deployment of services using Docker.
  • Verification of API backward compatibility.

Release Notes

  • Indexer: Add streaming support for events and transactions.

@sergiupopescu199 sergiupopescu199 requested a review from a team as a code owner September 12, 2025 14:19
@vercel
Copy link

vercel bot commented Sep 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

6 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
apps-backend Ignored Ignored Preview Sep 29, 2025 7:25am
apps-ui-kit Ignored Ignored Preview Comment Sep 29, 2025 7:25am
iota-evm-bridge Ignored Ignored Preview Sep 29, 2025 7:25am
iota-multisig-toolkit Ignored Ignored Preview Sep 29, 2025 7:25am
rebased-explorer Ignored Ignored Preview Sep 29, 2025 7:25am
wallet-dashboard Ignored Ignored Preview Sep 29, 2025 7:25am

@iota-ci iota-ci added infrastructure Issues related to the Infrastructure Team sc-platform Issues related to the Smart Contract Platform group. labels Sep 12, 2025
@sergiupopescu199 sergiupopescu199 changed the base branch from develop to sc-platform/feat/streaming September 15, 2025 13:12
@sergiupopescu199 sergiupopescu199 changed the base branch from sc-platform/feat/streaming to sc-platform/feat/streaming-support September 15, 2025 14:23
Copy link
Contributor

@kodemartin kodemartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but I left a few more comments and suggestions to discuss.

…treaming support for events and transactions
…: add streaming support for events and transactions
…ndexer): add streaming support for events and transactions
… feat(indexer): add streaming support for events and transactions
… fixup! feat(indexer): add streaming support for events and transactions
Copy link
Contributor

@kodemartin kodemartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good with a last minor suggestion.

… fixup! fixup! feat(indexer): add streaming support for events and transactions
@sergiupopescu199 sergiupopescu199 requested a review from a team September 25, 2025 09:13
Copy link
Contributor

@tomxey tomxey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leaving some nitpicks, but the solution looks good overall. LGTM

… fixup! fixup! fixup! feat(indexer): add streaming support for events and transactions
… fixup! fixup! fixup! fixup! feat(indexer): add streaming support for events and transactions
@sergiupopescu199 sergiupopescu199 merged commit 5299eff into sc-platform/feat/streaming-support Sep 29, 2025
39 checks passed
@sergiupopescu199 sergiupopescu199 deleted the sc-platform/issue-8315 branch September 29, 2025 08:30
sergiupopescu199 added a commit that referenced this pull request Nov 11, 2025
# Description of change

This PR is the first iteration attempt to provide streaming support for
the `iota-indexer` as a library componente. Currently it supports
streaming of `StoredEvents` and `StoredTransactions`. It also supports
filters.

## Links to any relevant issues

fixes #8315 

## How the change has been tested
created a separated binary which used the `iota-indexer` as a library,
used `testnet` network as source of checkpoints for synchronization,
subscribed to incoming events, applied different filter to assert that
they were respected.

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [x] Patch-specific tests (correctness, functionality coverage)

### Infrastructure QA (only required for crates that are maintained by
@iotaledger/infrastructure)

- [ ] Synchronization of the indexer from genesis for a network
including migration objects.
- [x] Restart of indexer synchronization locally without resetting the
database.
- [ ] Restart of indexer synchronization on a production-like database.
- [ ] Deployment of services using Docker.
- [x] Verification of API backward compatibility.

### Release Notes
- [x] Indexer: Add streaming support for `events` and `transactions`.
sergiupopescu199 added a commit that referenced this pull request Nov 13, 2025
# Description of change

This PR is the first iteration attempt to provide streaming support for
the `iota-indexer` as a library componente. Currently it supports
streaming of `StoredEvents` and `StoredTransactions`. It also supports
filters.

## Links to any relevant issues

fixes #8315 

## How the change has been tested
created a separated binary which used the `iota-indexer` as a library,
used `testnet` network as source of checkpoints for synchronization,
subscribed to incoming events, applied different filter to assert that
they were respected.

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [x] Patch-specific tests (correctness, functionality coverage)

### Infrastructure QA (only required for crates that are maintained by
@iotaledger/infrastructure)

- [ ] Synchronization of the indexer from genesis for a network
including migration objects.
- [x] Restart of indexer synchronization locally without resetting the
database.
- [ ] Restart of indexer synchronization on a production-like database.
- [ ] Deployment of services using Docker.
- [x] Verification of API backward compatibility.

### Release Notes
- [x] Indexer: Add streaming support for `events` and `transactions`.
sergiupopescu199 added a commit that referenced this pull request Nov 20, 2025
# Description of change

This PR is the first iteration attempt to provide streaming support for
the `iota-indexer` as a library componente. Currently it supports
streaming of `StoredEvents` and `StoredTransactions`. It also supports
filters.

## Links to any relevant issues

fixes #8315 

## How the change has been tested
created a separated binary which used the `iota-indexer` as a library,
used `testnet` network as source of checkpoints for synchronization,
subscribed to incoming events, applied different filter to assert that
they were respected.

- [x] Basic tests (linting, compilation, formatting, unit/integration
tests)
- [x] Patch-specific tests (correctness, functionality coverage)

### Infrastructure QA (only required for crates that are maintained by
@iotaledger/infrastructure)

- [ ] Synchronization of the indexer from genesis for a network
including migration objects.
- [x] Restart of indexer synchronization locally without resetting the
database.
- [ ] Restart of indexer synchronization on a production-like database.
- [ ] Deployment of services using Docker.
- [x] Verification of API backward compatibility.

### Release Notes
- [x] Indexer: Add streaming support for `events` and `transactions`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Issues related to the Infrastructure Team sc-platform Issues related to the Smart Contract Platform group.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[indexer]: add streaming for transactions and events

5 participants