Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions prdoc/pr_10383.prdoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
title: Enable force debug in revive dev node
doc:
- audience: Runtime Dev
description: "This change ensures that all types that implement `RuntimeDebug` are\
\ fully displayed in log output of the revive dev node, instead of just showing\
\ `<wasm:stripped>`.\n\nUnfortunately, the trait `RuntimeDebugNoBound`, that we\
\ also use frequently in pallet-revive, is not affected and will still output\
\ `<wasm:stripped>` (it does not check for the `force-debug` feature flag, instead\
\ it only fully outputs values when either one of the features `std` or `try_runtime`\
\ is enabled \u2013\_this is something we implement as a general change)."
crates:
- name: revive-dev-runtime
bump: patch
2 changes: 2 additions & 0 deletions substrate/frame/revive/dev-node/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ polkadot-sdk = { workspace = true, features = [
] }
scale-info = { workspace = true }
serde_json = { workspace = true, default-features = false, features = ["alloc"] }
sp-debug-derive = { workspace = true, features = ["force-debug"] }

[build-dependencies]
polkadot-sdk = { optional = true, workspace = true, features = ["substrate-wasm-builder"] }
Expand All @@ -36,4 +37,5 @@ std = [
"polkadot-sdk/std",
"scale-info/std",
"serde_json/std",
"sp-debug-derive/std",
]
Loading