Skip to content

chore: swap go-eth2-client to ethpandaops fork v0.1.2#828

Merged
samcm merged 3 commits into
masterfrom
swap-eth2-client-fork
May 13, 2026
Merged

chore: swap go-eth2-client to ethpandaops fork v0.1.2#828
samcm merged 3 commits into
masterfrom
swap-eth2-client-fork

Conversation

@samcm
Copy link
Copy Markdown
Member

@samcm samcm commented May 13, 2026

Switches the direct dependency from `github.com/attestantio/go-eth2-client v0.27.1` to `github.com/ethpandaops/go-eth2-client v0.1.2`. Bumps `ethpandaops/beacon` and `ethpandaops/ethcore` to their matching swap-branch pseudo-versions so types align across the call surface.

The fork renamed bellatrix/capella `ExecutionPayload.BaseFeePerGas` ([32]byte) to `BaseFeePerGasLE` to make the byte order explicit. The two affected call sites — `pkg/proto/eth/block.go` and `pkg/cannon/deriver/beacon/eth/v2/execution_transaction.go` — now reverse LE→BE before `big.Int.SetBytes`. The previous code passed the LE bytes to `SetBytes` directly, silently producing wrong base fee values for pre-deneb blocks. Side-effect bug fix.

Depends on ethpandaops/beacon#72 and ethpandaops/ethcore#127 — both must merge (and get tags) before this can move off pseudo-versions.

samcm added 2 commits May 13, 2026 18:05
Move from github.com/attestantio/go-eth2-client v0.27.1 to
github.com/ethpandaops/go-eth2-client v0.1.2. Bumps ethpandaops/beacon
and ethpandaops/ethcore to their swap-branch pseudo-versions so the
types line up end-to-end.

bellatrix/capella ExecutionPayload base fee accessor renamed from
BaseFeePerGas to BaseFeePerGasLE in the fork (the field is little-endian
32 bytes). Conversion sites in pkg/proto/eth/block.go and
pkg/cannon/deriver/beacon/eth/v2/execution_transaction.go now reverse
LE→BE before SetBytes; the previous code passed the LE bytes to
big.Int.SetBytes directly, which silently produced wrong values for
pre-deneb base fees.

Depends on ethpandaops/beacon#72 and ethpandaops/ethcore#127.
@samcm samcm merged commit ca4ae30 into master May 13, 2026
6 of 7 checks passed
@samcm samcm deleted the swap-eth2-client-fork branch May 13, 2026 10:08
mattevans added a commit that referenced this pull request May 14, 2026
* master:
  chore: swap go-eth2-client to ethpandaops fork v0.1.2 (#828)
  feat(output): add s3blobstore sink for blob sidecar archival
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