Skip to content

[backend]: indexer polling, api hardening, RPC retry backoff#26

Merged
0xull merged 4 commits into
mainfrom
nightly
Jun 12, 2026
Merged

[backend]: indexer polling, api hardening, RPC retry backoff#26
0xull merged 4 commits into
mainfrom
nightly

Conversation

@0xull

@0xull 0xull commented Jun 12, 2026

Copy link
Copy Markdown
Contributor
  • Replace WebSocket block subscription with HTTP polling (2s interval, 50-block chunks)
  • Fix api: shared RPC client, package-level ABI parsing, correct needsRebalancing, default nav to 0
  • Add exponential backoff retry on transient RPC errors in pollOnce

0xull added 4 commits June 12, 2026 04:27
…nly filtering

Replace address-filtered WebSocket log subscription with SubscribeNewHead plus
per-block eth_getLogs using topic-only filters. Add chunk-local address set to
handle Deposited preceding BasketCreated in the same factory transaction.
Remove migrate.go and all migration tests.

Signed-off-by: 0xull <mrikehchukwuka@gmail.com>
… instead

Signed-off-by: 0xull <mrikehchukwuka@gmail.com>
…rrect needsRebalancing, default nav to 0

Signed-off-by: 0xull <mrikehchukwuka@gmail.com>
… in pollOnce

Signed-off-by: 0xull <mrikehchukwuka@gmail.com>
@0xull 0xull merged commit 9450c04 into main Jun 12, 2026
5 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

Development

Successfully merging this pull request may close these issues.

1 participant