Skip to content

chore: bump ddc-* deps + spec_version 80008 → 80009#713

Merged
yahortsaryk merged 1 commit into
devfrom
feat/wasm-diagnostic-logging
May 28, 2026
Merged

chore: bump ddc-* deps + spec_version 80008 → 80009#713
yahortsaryk merged 1 commit into
devfrom
feat/wasm-diagnostic-logging

Conversation

@yahortsaryk
Copy link
Copy Markdown
Contributor

Summary

Cargo.lock bumps (all three ddc-* deps to their dev tips carrying the new wasm-side diagnostics + the process-global MODULE_CACHE fix):

Runtime version: spec_version 80008 → 80009 on both runtime/cere + runtime/cere-dev.

Why bump spec_version

  • New wasm IMPORT (dachost.log) — the runtime wasm now declares an additional host-function import. Validators running the older spec couldn't instantiate the new runtime wasm without the matching native-side host stub.
  • Behavior change — the MODULE_CACHE fix moves Engine sharing across OCW worker threads. Affects deadline-enforcement reliability under concurrent OCW execution.

Both warrant a new spec_version for runtime-upgrade acceptance.

Test plan

  • cargo build --release -p cere-runtime passes (verified locally — 3 min 10s build)
  • pos-node Docker image rebuild from this branch (the new dachost.log host stub lives in ddc-dac-host's native code, which compiles into the node binary — this is a paired client+runtime upgrade, not runtime-only)
  • Devnet deploy → confirm [wasm] ... lines appear in OCW logs under target ddc-dac-host
  • On a fresh OCW lock acquisition: observe which inner step of doNodeAggCreateState is the slow one when the 10-min trap fires (look for the last [wasm] doNodeAggCreateState ... before the trap timestamp)

Cargo.lock SHA bumps:
  ddc-dac-host             @ 7b56ddac  (ddc-dac-host#12 + #13)
  pallet-ddc-verification  @ 8d04eba3  (ddc-verification#63)
  pallet-ddc-payouts       @ 294291f8  (ddc-payouts#69)

Brings the new wasm-side diagnostic logging (dachost.log host import +
createState-path trace instrumentation) and the process-global
MODULE_CACHE fix (so every Engine gets the epoch ticker — fixes the
latent class-of-bug where multi-thread OCW workers could hang forever
without trapping).

Bumps spec_version 80008 → 80009 on both cere and cere-dev because the
runtime's wasm imports change (new dachost.log) and behavior changes
(MODULE_CACHE fix affects deadline-enforcement reliability).
@yahortsaryk yahortsaryk merged commit b441c83 into dev May 28, 2026
6 of 11 checks passed
@yahortsaryk yahortsaryk deleted the feat/wasm-diagnostic-logging branch May 28, 2026 19:57
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