Skip to content

ft: poll blocks for chains not supporting ws#128

Merged
NgoKimPhu merged 2 commits into
main-kafkafrom
ft/block-poller
Jul 9, 2025
Merged

ft: poll blocks for chains not supporting ws#128
NgoKimPhu merged 2 commits into
main-kafkafrom
ft/block-poller

Conversation

@NgoKimPhu
Copy link
Copy Markdown
Member

No description provided.

Comment thread pkg/evmclient/blockpoller/client.go
Comment thread internal/app/app.go Outdated
Comment on lines +87 to +88
// Use HTTP poller as a drop-in replacement for wsEVMClient
wsEVMClient = blockpoller.New(httpEVMClient, time.Second)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nice to have: add log to show we connected to the HTTP Polling client.

@NgoKimPhu NgoKimPhu merged commit 12647e9 into main-kafka Jul 9, 2025
4 checks passed
@NgoKimPhu NgoKimPhu deleted the ft/block-poller branch July 9, 2025 18:43
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.

2 participants