Skip to content

chore: bump go-ethereum to v1.17.7 (Glamsterdam block hash) - #1893

Merged
joanestebanr merged 1 commit into
developfrom
chore/bump-go-ethereum-v1.17.7
Oct 7, 2026
Merged

joanestebanr merged 1 commit into
developfrom
chore/bump-go-ethereum-v1.17.7

Conversation

@joanestebanr

Copy link
Copy Markdown
Collaborator

🔄 Changes Summary

  • Bump github.com/ethereum/go-ethereum v1.17.4 → v1.17.7 (plus transitive bumps from go mod tidy).
  • Glamsterdam changes how the block hash is computed; older geth drops the new header fields when decoding and recomputes a wrong hash.
  • Go toolchain is already 1.25.7 (go.mod, Dockerfiles, CI), so no Go bump is needed.

⚠️ Breaking Changes

  • None.

✅ Testing

  • 🤖 Automatic: go build ./..., and unit tests for types, etherman, multidownloader, sync, l1infotreesync pass.
  • 🖱️ Manual: not yet checked against a Glamsterdam-enabled node.

📝 Notes

  • aggkit never hashes headers by hand: the only place is NewBlockHeaderFromEthHeader (types/block_header.go), which calls ethHeader.Hash() on a geth types.Header (used by etherman/default_eth_client.go). It is fixed by the bump.
  • DefaultEthClient also has a HashFromJSON path that takes the hash straight from the RPC response; it is unaffected either way.

🤖 Generated with Claude Code

@joanestebanr
joanestebanr marked this pull request as ready for review October 7, 2026 10:00
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T10:02:51.104116Z 939a61d Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Glamsterdam changes how the block hash is computed, so v1.17.4 produces
wrong hashes for headers with the new fields. Go stays at 1.25.7 (already
on 1.25).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@joanestebanr
joanestebanr force-pushed the chore/bump-go-ethereum-v1.17.7 branch from 939a61d to a080b77 Compare October 7, 2026 10:01
@joanestebanr joanestebanr self-assigned this Oct 7, 2026
@joanestebanr
joanestebanr enabled auto-merge (squash) October 7, 2026 10:24
@joanestebanr
joanestebanr merged commit ed1f1bb into develop Oct 7, 2026
33 checks passed
@joanestebanr
joanestebanr deleted the chore/bump-go-ethereum-v1.17.7 branch October 7, 2026 11:06
joanestebanr added a commit that referenced this pull request Oct 7, 2026
…0.10] (#1894)

## 🔄 Changes Summary
- Backport of #1893 to `release/0.10`: bump
`github.com/ethereum/go-ethereum` v1.17.2 → v1.17.7.
- Glamsterdam changes how the block hash is computed; older geth drops
the new header fields when decoding and recomputes a wrong hash.
- Go is already 1.25.7 on this branch, so no Go bump is needed.
- Remove the SonarQube/SonarCloud integration (backport of #1719, as
done in v0.6.4): drop the `SonarQube Scan` step from
`.github/workflows/test-unit.yml`, rename the workflow to "Test Unit"
and delete `sonar-project.properties`. SonarQube is no longer used, and
its scan was failing in CI with HTTP 403 (`SONAR_TOKEN`).
`test-unit.yml` now matches `develop`.

## ⚠️ Breaking Changes
- None (the Sonar removal is CI-only).

## ✅ Testing
- 🤖 **Automatic**: `go build ./...`, and unit tests for `types`,
`etherman`, `multidownloader`, `sync`, `l1infotreesync` pass.
- 🖱️ **Manual**: not yet checked against a Glamsterdam-enabled node.

## 📝 Notes
- The only header hash computation is `NewBlockHeaderFromEthHeader`
(`types/block_header.go`), via `ethHeader.Hash()`; no manual hashing in
aggkit.
- This branch was on v1.17.2 (develop was v1.17.4), so `go mod tidy`
pulls a larger set of transitive bumps (grpc, genproto, x/tools, ...).
Worth a look from whoever owns the release.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.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