-
Notifications
You must be signed in to change notification settings - Fork 0
Namespace Range Endpoint Integration #328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: celo-integration-rebase-14.1
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR integrates the Namespace Range endpoint from the Espresso SDK to enable faster and more efficient HotShot block fetching. The implementation replaces the previous streaming API approach with a batch range fetching mechanism.
Changes:
- Upgraded Espresso SDK from v0.3.2 to v0.3.4
- Replaced streaming API with FetchNamespaceTransactionsInRange for batch block fetching
- Removed Rust dynamic library dependencies from Docker build process (no longer needed in v0.3.4)
- Updated Espresso dev node Docker image to release-20251120-lip2p-tcp-3855
Reviewed changes
Copilot reviewed 11 out of 12 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Updated Espresso SDK dependency to v0.3.4 |
| go.sum | Updated checksums for new SDK version |
| espresso/streamer.go | Replaced streaming API with FetchNamespaceTransactionsInRange for batch fetching; removed streamHotShotRange function |
| espresso/streamer_test.go | Updated mock implementation to support FetchNamespaceTransactionsInRange; removed FetchTransactionsInBlock mock |
| ops/docker/op-stack-go/Dockerfile | Removed Rust library fetching (no longer required) |
| kurtosis-devnet/enclaver/Dockerfile | Removed Rust library fetching (no longer required) |
| kurtosis-devnet/enclaver/Dockerfile.nonEnclave | Removed Rust library fetching (no longer required) |
| espresso/docker/op-stack/Dockerfile | Removed Rust library fetching (no longer required) |
| espresso/docker/op-geth/Dockerfile | Removed Rust library fetching (no longer required) |
| justfile | Updated Espresso dev node image reference |
| espresso/.env | Updated Espresso dev node image reference |
| espresso/environment/optitmism_espresso_test_helpers.go | Updated Espresso dev node image reference |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
d15809d to
168426e
Compare
Description
Integrates the Namespace Range endpoint for faster hotshot block fetching