Skip to content

build: upgrade Go version to 1.24#2

Draft
ad-0xpp wants to merge 8 commits intomainfrom
upgrade-go-to-1.4
Draft

build: upgrade Go version to 1.24#2
ad-0xpp wants to merge 8 commits intomainfrom
upgrade-go-to-1.4

Conversation

@ad-0xpp
Copy link

@ad-0xpp ad-0xpp commented Jul 22, 2025

Upgrade Go version to 1.24 (go.mod + go.sum updates)

  • Verify build, test and govulncheck

Description

closes: #XXXX


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Targeted PR against the correct branch (see CONTRIBUTING.md).
  • Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
  • Code follows the module structure standards and Go style guide.
  • Wrote unit and integration tests.
  • Updated relevant documentation (docs/).
  • Added relevant godoc comments.
  • Provide a conventional commit message to follow the repository standards.
  • Include a descriptive changelog entry when appropriate. This may be left to the discretion of the PR reviewers. (e.g. chores should be omitted from changelog)
  • Re-reviewed Files changed in the GitHub PR explorer.
  • Review SonarCloud Report in the comment section below once CI passes.

ad-0xpp added 6 commits July 23, 2025 14:37
- Update github.com/ethereum/go-ethereum from v1.14.12 to v1.14.13 (fixes GO-2024-3339)
- Update cosmossdk.io/x/tx from v0.13.6 to v0.13.7 (fixes GO-2025-3436)
- Update github.com/cosmos/cosmos-sdk from v0.50.10 to v0.50.11 (fixes GO-2024-2584)

This minimal change resolves 2 out of 3 vulnerabilities while maintaining
compatibility with existing Go version 1.23.6.
- simapp: update hashicorp/go-getter v1.7.4 → v1.7.5
- e2e: update CosmWasm/wasmvm/v2 v2.1.2 → v2.1.3
- modules/light-clients/08-wasm: update CosmWasm/wasmvm/v2 v2.1.2 → v2.1.3
- modules/light-clients/08-wasm/blsverifier: update cometbft v0.38.12 → v0.38.15

Vulnerability reduction:
- simapp: 16 → 14 vulnerabilities
- e2e: 8 → 8 vulnerabilities (wasmvm fix pending)
- callbacks: 2 → 2 vulnerabilities
- wasm modules: 0 → 0 vulnerabilities (already clean)

Builds successfully with minimal changes.
- Update cosmos-sdk: v0.50.11 → v0.50.13 (fixes GO-2025-3516, GO-2025-3476)
- Update cometbft: v0.38.15 → v0.38.17 (fixes GO-2025-3443, GO-2025-3442)

Result: 14 vulnerabilities → 0 vulnerabilities in simapp/
Verified by running govulncheck only in simapp/ directory.
- Update CosmWasm/wasmvm/v2: v2.1.3 → v2.2.2 (fixes GO-2025-3449, GO-2025-3448)
- Update cometbft: v0.38.15 → v0.38.17 (fixes GO-2025-3443)

Result: 8 vulnerabilities → 0 vulnerabilities in e2e/
Verified by running govulncheck only in e2e/ directory.
- Update cosmos-sdk: v0.50.11 → v0.50.13
- Result: 1 vulnerability remains (GO-2024-2584) but no fix available yet
- This vulnerability shows 'Fixed in: N/A' indicating no fix exists

Verified by running govulncheck only in callbacks/ directory.
- Update remaining go.sum files and module dependencies
- Ensure all modules build successfully
- Maintain compatibility with existing Go 1.23 workflows

All vulnerability fixes are now complete and tested.
@ad-0xpp ad-0xpp force-pushed the upgrade-go-to-1.4 branch from 0cbfcca to d750a02 Compare July 24, 2025 01:59
ad-0xpp added 2 commits July 23, 2025 16:47
- Update cosmos/iavl from v1.2.2 to v1.3.5 across all modules
- This should fix the 'version does not exist' test failure in TestRandomSet
- Also updates cosmossdk.io/core to latest compatible version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant