Skip to content

fix: ensure core block api runs through multilplexer native app #4767

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

Merged
merged 2 commits into from
May 7, 2025

Conversation

damiannolan
Copy link
Collaborator

Overview

Due to the multiplexer copying start command functionality from the sdk, I discovered that running native apps (for example, v4) will not expose the core BlockAPI when through the multiplexer, i.e. the changes in celestiaorg/cosmos-sdk#455 do not take effect which spin up the core BlockAPI in-process.

The BlockAPI is however available right now when:

  • Running embedded apps (for example, v3) through the multiplexer.
  • Running a v4 standalone app without the multiplexer.

The replication of start command code being distributed and copied amongst different places is extremely error prone to manage, and quite frankly, its spaghetti.

@damiannolan damiannolan marked this pull request as ready for review May 7, 2025 05:46
@damiannolan damiannolan requested a review from a team as a code owner May 7, 2025 05:46
@damiannolan damiannolan requested review from cmwaters and rach-id and removed request for a team May 7, 2025 05:46
@chatton
Copy link
Collaborator

chatton commented May 7, 2025

Can you update the multiplexer.Dockerfile to depend on ghcr.io/celestiaorg/celestia-app-standalone:v3.10.0-rc2 this image exists and should allow for a multiplexer build to succeed.

EDIT: just did it myself hope you don't mind :D

Copy link
Collaborator

@chatton chatton left a comment

Choose a reason for hiding this comment

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

LGTM, nice catch. Hopefully we can get some full E2E tests soon that will catch stuff like this before manual QA

@damiannolan damiannolan self-assigned this May 7, 2025
@rootulp rootulp merged commit 1a88b78 into main May 7, 2025
29 checks passed
@rootulp rootulp deleted the damian/fix-run-block-api-thru-mux-native branch May 7, 2025 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants