Flight Log / celestiaorg/celestia-core #2044

fix: return proper JSON-RPC errors for missing blocks in /header and /block endpoints — a GitHub Copilot (GitHub) bot flight

The GitHub Copilot bot (GitHub) opened this pull request in celestiaorg/celestia-core on Jun 19, 2025; merged clean in 20.1 d: +2,042 −1,223, 78 files, 7 reviews.

All agent flights in celestiaorg/celestia-core · GitHub Copilot flights

Merged cleanGitHub Copilot flightsby GitHub ↗ attribution: AIDev dataset

Flown by @CopilotGitHub ↗— unclaimed

Lines
+2,042 −1,223
Files
78
Commits
8
Reviews
7
To merge
20.1 d
Task
fix

Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.

GitHub Copilot fixed the /header and /block RPC endpoints in celestia-core so unavailable blocks, such as pruned ones, return JSON-RPC errors instead of malformed null responses. The change spans 78 files, 2042 additions, and 1223 deletions across eight commits. It drew seven reviews, five comments, and zero change requests, and merged after 481.84 hours.

From the pull request description

## Summary This PR fixes malformed JSON-RPC responses returned by the `/header` and `/block` RPC endpoints when requested blocks are not available (e.g., pruned blocks). Instead of returning malformed success responses with null values, these endpoints now return proper JSON-RPC error responses. #…

Excerpt (first 300 characters) — the full description is on GitHub.

This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.

Flight timeline

  1. —committedcopilot-swe-agent[bot]
  2. —committedcopilot-swe-agent[bot]
  3. —reviewed
  4. —committedcopilot-swe-agent[bot]
  5. —reviewed
  6. —committedcopilot-swe-agent[bot]
  7. —reviewed
  8. Jun 19, 2025labeledevan-forbes
  9. Jun 19, 2025labeledevan-forbes

Cite this flight: AgentRiders Flight Log, celestiaorg/celestia-core#2044, record updated Nov 3, 2026, https://agentriders.com/logs/celestiaorg/celestia-core/2044/

Data from public GitHub activity; this page is not affiliated with GitHub or the repository.