Skip to content

Namespace Range Endpoint Integration#328

Closed
Sneh1999 wants to merge 9 commits intocelo-integration-rebase-14.1from
streamer-namespace-range
Closed

Namespace Range Endpoint Integration#328
Sneh1999 wants to merge 9 commits intocelo-integration-rebase-14.1from
streamer-namespace-range

Conversation

@Sneh1999
Copy link
Copy Markdown

@Sneh1999 Sneh1999 commented Jan 13, 2026

Description

Integrates the Namespace Range endpoint for faster hotshot block fetching


Copy link
Copy Markdown

Copilot AI left a 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.

@Sneh1999 Sneh1999 force-pushed the streamer-namespace-range branch from d15809d to 168426e Compare January 14, 2026 21:33
@Sneh1999 Sneh1999 force-pushed the streamer-namespace-range branch from 3a1310c to b96622c Compare January 15, 2026 21:53
@Sneh1999 Sneh1999 marked this pull request as ready for review January 15, 2026 22:20


## Generating alloc.json file
First go to `espresso-network` repo and from inside `espresso-dev-node` folder run:
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.

Can't we do this with the existing espresso-dev-node docker image we are already downloading?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I tried it, didnt work for me! Only the cargo binary prints out the allocs.json it seems

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.

docker run -it --rm ghcr.io/espressosystems/espresso-sequencer/espresso-dev-node:release-fix-cors /bin/espresso-dev-node --sequencer-api-port 24000 --l1-deployment dump --path .

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.

This command seems to output JSON for me without issue. Give it a try?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Thanks Theo, it works. I will update the README

@Sneh1999 Sneh1999 changed the base branch from celo-integration-rebase-14.1 to celo-integration-rebase-14.2 January 16, 2026 19:15
@Sneh1999 Sneh1999 changed the base branch from celo-integration-rebase-14.2 to celo-integration-rebase-14.1 January 16, 2026 19:16
@Sneh1999 Sneh1999 closed this Jan 16, 2026
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.

3 participants