chore: Substrate update stable2506 -> stable2512-2#384
Conversation
|
Grok 4.2 review with added research on the rocksdb dependency issue: PR Review: #384 (chore: Substrate update stable2506 → stable2512-2) This is a standard, low-risk Substrate version bump (from the What changed (high-level, based on commits + typical bump patterns):
No breaking API changes or runtime migrations appear to be flagged in the commit history (common for these stable bumps). The PR is still a draft with ongoing CI tweaks, which is normal. The rocksdb-sys downside your dev mentioned Short answer: No, there is no clean way to use this exact new Why?
This is by design of the upstream Platform specifics (exactly as your dev saw)
Is there any workaround to skip the extra dep entirely?
Better alternatives (ecosystem-standard)
Recommendation Merge the PR (after the final CI is green — the CLANG commits show they’re already fixing exactly this). Then:
This exact bump has been live in polkadot-sdk for a few days with no widespread drama on the channels (most teams hit the same clang requirement months ago and just updated their setup once). The silence isn’t because it’s secret — it’s because it’s now considered normal. Let me know if you want me to:
Happy to jump on a quick call or review any follow-up PR! 🚀 |
ethan-crypto
left a comment
There was a problem hiding this comment.
Overall looks good. The only issue I spotted was with the new sign_then_verify_roundtrip test which doesn't validate actual correctness (derive pubkey from the same mnemonic) and lacks any negative cases.
Co-authored-by: Ethan Cemer <tylercemer@gmail.com>
Summary
Substrate upgrade from stable2506 to stable2512-2.
Compatibility and dependency alignment only - no new features.
Scope
Local setup (macOS)
Builds require LLVM/libclang. Install via Homebrew and set
LIBCLANG_PATHbefore building:brew install llvm
export LIBCLANG_PATH="$(brew --prefix llvm)/lib"
Local setup (Linux / Ubuntu)
Install LLVM/clang and protobuf, then set
LIBCLANG_PATHsoclang-syscan find libclang:(Adjust
llvm-18to your installed LLVM version if different, e.g.llvm-17.)Before merge
qp-poseidon must be released so this repo can depend on a released version instead of a git ref.