Skip to content

feat: batched stream reads, cached token metadata, trustline pre-flig… - #1194

Merged
Jaydbrown merged 2 commits into
conduit-protocol:mainfrom
ArtaXerxes-oss:feat/batch-reads-token-metadata-trustline-reconnect
Nov 22, 2026
Merged

Jaydbrown merged 2 commits into
conduit-protocol:mainfrom
ArtaXerxes-oss:feat/batch-reads-token-metadata-trustline-reconnect

Conversation

@ArtaXerxes-oss

Copy link
Copy Markdown
Contributor

What does this PR do?

Type of change

  • Bug fix
  • New feature / method
  • Refactor
  • Test coverage
  • Documentation
  • Dependency update

Related issue

Closes #

Changes

File Change

Checklist

  • npm run typecheck — no errors
  • npm run lint — no warnings
  • npm test — all tests pass
  • npm run build — bundle compiles cleanly
  • No any types introduced
  • New public methods documented in docs/api.md
  • All on-chain amounts kept as bigint — no Number() conversion in arithmetic
  • New methods mock-tested in src/tests/
  • CHANGELOG.md updated under [Unreleased]
  • src/index.ts updated if new exports added

Breaking changes?

  • No
  • Yes — describe below and add BREAKING CHANGE: footer to relevant commit

Notes for reviewers

@drips-wave

drips-wave Bot commented Nov 21, 2026

Copy link
Copy Markdown

@ArtaXerxes-oss Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

…ht, and indexer reconnect backoff

- streams: add getStreamsBatch (dedupe + chunked reads) on StreamsModule;
  ConduitClient now delegates to it
- token: LRU-cache SEP-41 decimals/symbol with in-flight coalescing and
  failure eviction; add checkTrustline/requireTrustline pre-flight validation
  with typed MissingTrustlineError
- indexer: replace linear reconnect delay with capped exponential backoff
  (base * 2^(attempt-1), 30s cap) plus randomized jitter
- fix pre-existing events.ts type references that broke the build
- document new APIs and add focused tests
@ArtaXerxes-oss
ArtaXerxes-oss force-pushed the feat/batch-reads-token-metadata-trustline-reconnect branch from 1b63835 to 230fbfc Compare November 21, 2026 12:54
@Jaydbrown
Jaydbrown merged commit b69e52a into conduit-protocol:main Nov 22, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants