runtime: bump spec_version to 80013#729
Merged
Merged
Conversation
Live devnet (wss://archive.devnet.cere.network) is already running spec_version 80012 with a different code hash, so the previously-merged 80012 bump collides and cannot be applied as an upgrade (try-runtime: "new runtime spec version must be greater than the on-chain runtime spec version: 80012 <= 80012"). Bump to 80013 so the ddc-api nodePubKey records-fetch change can deploy as a real runtime upgrade. OCW-only change; transaction_version stays at 27 and no migrations added. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps
spec_version80012 → 80013 on bothcereandcere-devruntimes.Why
The recent ddc-{api,dac-host} + pallet-ddc-{verification,payouts} lockfile bump (#728) changes the runtime WASM —
ddc-apiis in the runtime dependency closure (viaddc-dac-hostand both pallets), and itsfetch_records_rangenow sends the requirednodePubKeyquery param. That merged withspec_version = 80012, but live devnet is already running 80012 (different code hash), so it can't be applied as an upgrade:Bumping to 80013 lets the change deploy as a real runtime upgrade.
What changed
runtime/cere/src/lib.rs:spec_version80012 → 80013runtime/cere-dev/src/lib.rs:spec_version80012 → 80013transaction_versionstays at 27 (no extrinsic / signed-extension changes) andMigrationsstays()(OCW-only change — no storage layout change, nothing to add or remove).try-runtime verification (cere-dev vs
wss://archive.devnet.cere.network)on-runtime-upgrade --checks=all:on_runtime_upgradesucceeded; migrations idempotent (storage root unchanged)Pre-existing, unrelated finding (NOT introduced here): the Staking
try_stateinvariantMaxValidatorSet (1000) >= MaxWinnersPerPage (1200)is violated in the cere-dev config. It only surfaces under--checks=alltry-state and does not affect the upgrade itself — tracked for a separate fix.🤖 Generated with Claude Code