Skip to content

feat: Replace local streamer with espresso-streamers package#388

Merged
Sneh1999 merged 4 commits intocelo-integration-rebase-16.2from
feat-use-espresso-streamers
Apr 6, 2026
Merged

feat: Replace local streamer with espresso-streamers package#388
Sneh1999 merged 4 commits intocelo-integration-rebase-16.2from
feat-use-espresso-streamers

Conversation

@Sneh1999
Copy link
Copy Markdown

@Sneh1999 Sneh1999 commented Apr 1, 2026

Description

This PR replaces the OP streamer with espresso-streamers package and makes sure all tests pass.

Note

There are still some things which need to be migrated to espresso-streamers including moving the buffered streamer out


Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the Espresso streamer implementation by migrating to an external dependency, github.com/EspressoSystems/espresso-streamers/op. This change involves the removal of local batch buffering and streaming logic in favor of the new library. Feedback from the review identifies critical issues in the go.mod file, where the Go version and several dependency versions appear to be non-existent or future-dated. Additionally, there is a recommendation to clean up the PollInterval configuration and CLI flags, as the parameter has been removed from the streamer's initialization.

Comment thread go.mod Outdated
Comment thread espresso/cli.go
@Sneh1999 Sneh1999 marked this pull request as ready for review April 1, 2026 12:22
Comment thread espresso/buffered_streamer.go Outdated
@Sneh1999 Sneh1999 requested a review from philippecamacho April 2, 2026 18:50
Copy link
Copy Markdown
Collaborator

@philippecamacho philippecamacho left a comment

Choose a reason for hiding this comment

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

LGTM.

Note we need to update the reference to the streamer code before creating a release for the audit.

@Sneh1999 Sneh1999 merged commit 32b0e23 into celo-integration-rebase-16.2 Apr 6, 2026
41 checks passed
@Sneh1999 Sneh1999 deleted the feat-use-espresso-streamers branch April 6, 2026 15:29
QuentinI pushed a commit that referenced this pull request Apr 9, 2026
* feat: Replace local streamer with espresso-streamers package

* fix: use go mod

* feat: use buffered streamer from espresso streamers repo

* fix: use v1.0.0 package of espresso-streamers
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