Skip to content

Celenium URL in BlockResponse doc + Unreleased changelog: /blocks/ → /block/#64

Merged
proofmancer merged 1 commit into
mainfrom
fix/celenium-block-url-singular-doc
May 18, 2026
Merged

Celenium URL in BlockResponse doc + Unreleased changelog: /blocks/ → /block/#64
proofmancer merged 1 commit into
mainfrom
fix/celenium-block-url-singular-doc

Conversation

@proofmancer
Copy link
Copy Markdown
Member

Summary

Doc-only follow-up to ligate-explorer#41. The `BlockResponse.da_block_height` doc comment and the Unreleased changelog entry both referenced the wrong Celenium URL pattern: `/blocks/{height}` (plural) 404s, the right one is `/block/{height}` (singular). User caught it on the live explorer.

No behavior change — the api just returns the bare integer; URL composition is fully explorer-side. This PR keeps our docs honest so the next person reading the field's doc comment doesn't propagate the bad pattern.

Changes:

  • `crates/api/src/responses.rs` — `BlockResponse.da_block_height` doc comment URL fix + footgun note
  • `CHANGELOG.md` — Unreleased `Added` entry URL fix (still in `[Unreleased]`, no shipped-version rewrite)

Test plan

  • CI green (fmt / clippy / build) — no runtime change so nothing else to test

@proofmancer proofmancer merged commit 6924dc8 into main May 18, 2026
7 checks passed
@proofmancer proofmancer deleted the fix/celenium-block-url-singular-doc branch May 18, 2026 21:02
@github-actions github-actions Bot locked and limited conversation to collaborators May 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant