Skip to content

fix(caplin): Fixes for DataColumnSidecar#18268

Merged
Giulio2002 merged 3 commits into
erigontech:mainfrom
MysticRyuujin:fix/DataColumnSidecar-index-string
Dec 12, 2025
Merged

fix(caplin): Fixes for DataColumnSidecar#18268
Giulio2002 merged 3 commits into
erigontech:mainfrom
MysticRyuujin:fix/DataColumnSidecar-index-string

Conversation

@MysticRyuujin

@MysticRyuujin MysticRyuujin commented Dec 11, 2025

Copy link
Copy Markdown
Contributor

Based on the spec, index should return as a string from the API

Contributoor is not working for Caplin because attestantio assumes the index to be a string and panics because it's a integer.

The swagger also says index should be a string.

Additionally, the correct API path for data_column_sidecars is /eth/v1/debug/beacon/data_column_sidecars

I also added block_root and slot to the SSE events

Based on my testing caplin now mirrors the behavior of lighthouse, the REST API is matching the swagger/spec, and SSE is mirroring that of lighthouse and nimbus

@Giulio2002 Giulio2002 enabled auto-merge (squash) December 11, 2025 22:54
@Giulio2002

Copy link
Copy Markdown
Contributor

It will be merged ASAP and it will be pushed into the next release (will be cut soon)

@Giulio2002

Copy link
Copy Markdown
Contributor

uh - the message dissapeard

@MysticRyuujin

Copy link
Copy Markdown
Contributor Author

While this can be merged I also found that both slot and block_root should also be included in the outputs here, I can work on another PR or should I push to this one again?

@Giulio2002 Giulio2002 disabled auto-merge December 12, 2025 00:55
@Giulio2002

Copy link
Copy Markdown
Contributor

do it in this one

@MysticRyuujin MysticRyuujin changed the title fix: Caplin should return a string index for DataColumnSidecar fix(caplin): Fixes for DataColumnSidecar Dec 12, 2025
@Giulio2002 Giulio2002 enabled auto-merge (squash) December 12, 2025 01:22
@MysticRyuujin

Copy link
Copy Markdown
Contributor Author

@Giulio2002 see revised PR description

@Giulio2002

Copy link
Copy Markdown
Contributor

yes saw, that's great

auto-merge was automatically disabled December 12, 2025 11:43

Head branch was pushed to by a user without write access

@MysticRyuujin

Copy link
Copy Markdown
Contributor Author

@Giulio2002 I had to fix the linter can you please stamp again?

@Giulio2002 Giulio2002 enabled auto-merge (squash) December 12, 2025 16:28
@Giulio2002

Copy link
Copy Markdown
Contributor

yes - just re-triggered

@Giulio2002 Giulio2002 merged commit ce920b7 into erigontech:main Dec 12, 2025
16 checks passed
taratorio pushed a commit that referenced this pull request Feb 6, 2026
Based on the spec, index should return as a string from the API

[Contributoor](https://github.com/ethpandaops/contributoor) is not
working for Caplin because
[attestantio](https://github.com/attestantio/go-eth2-client/blob/v0.27.2/api/v1/datacolumnsidecarevent.go)
assumes the index to be a string and panics because it's a integer.

The
[swagger](https://ethereum.github.io/beacon-APIs/#/Debug/getDebugDataColumnSidecars)
also says index should be a string.

Additionally, the correct API path for `data_column_sidecars` is
`/eth/v1/debug/beacon/data_column_sidecars`

I also added `block_root` and `slot` to the SSE events

Based on my testing caplin now mirrors the behavior of lighthouse, the
REST API is matching the swagger/spec, and SSE is mirroring that of
lighthouse and nimbus
domiwei pushed a commit that referenced this pull request Feb 6, 2026
cherry-pick #18268

---

Based on the spec, index should return as a string from the API

[Contributoor](https://github.com/ethpandaops/contributoor) is not
working for Caplin because

[attestantio](https://github.com/attestantio/go-eth2-client/blob/v0.27.2/api/v1/datacolumnsidecarevent.go)
assumes the index to be a string and panics because it's a integer.

The

[swagger](https://ethereum.github.io/beacon-APIs/#/Debug/getDebugDataColumnSidecars)
also says index should be a string.

Additionally, the correct API path for `data_column_sidecars` is
`/eth/v1/debug/beacon/data_column_sidecars`

I also added `block_root` and `slot` to the SSE events

Based on my testing caplin now mirrors the behavior of lighthouse, the
REST API is matching the swagger/spec, and SSE is mirroring that of
lighthouse and nimbus

Co-authored-by: Chase Wright <mysticryuujin@protonmail.com>
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.

2 participants