Skip to content

chore: bump cosmos-sdk to v0.500.0 final#346

Closed
tbruyelle wants to merge 1 commit into
mainfrom
chore/bump-sdk-v0.500-final
Closed

chore: bump cosmos-sdk to v0.500.0 final#346
tbruyelle wants to merge 1 commit into
mainfrom
chore/bump-sdk-v0.500-final

Conversation

@tbruyelle

Copy link
Copy Markdown
Collaborator

Summary

Bumps the cosmos-sdk fork from the release candidate to the final v0.500.0 tag, the last dependency blocking the v4.0.0 release.

Note: The SDK final bump was part of #343 originally, but only that PR's first commit (ibc-go v10.7.0 / Go 1.26.4 / module security bumps) landed on main — the SDK commit did not. This PR re-applies it on top of current main.

Changes

  • go.mod: cosmos-sdk => atomone-hub/cosmos-sdk v0.500.0-rc3v0.500.0.
  • x/coredaos/keeper/hooks.go: the final SDK added AfterConsensusPubKeyUpdate(ctx, oldPk, newPk, fee) to the StakingHooks interface (validator consensus pubkey rotation). x/coredaos is the only StakingHooks implementer in the repo; implemented as a no-op, consistent with the module's other non-delegation hooks.

⚠️ Reviewer note: the final SDK enabling consensus pubkey rotation likely introduces new staking params (rotation fee, max rotations). Confirm whether the v4 upgrade handler needs to initialize them — RunMigrations runs the staking migration, but any chain-specific non-default values must be set explicitly in the handler.

Verification

  • go build ./...
  • go test ./x/... ./ante/... ./post/... ./app/...
  • govulncheck ./...No vulnerabilities found

🤖 Generated with Claude Code

The final SDK release added AfterConsensusPubKeyUpdate to the
StakingHooks interface (consensus pubkey rotation). Implement it as a
no-op in x/coredaos to satisfy the interface.
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.

1 participant