Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
1 change: 1 addition & 0 deletions substrate/frame/revive/dev-node/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ repository.workspace = true
edition.workspace = true

[dependencies]
sp-debug-derive = { workspace = true, features = ["force-debug"] }

@pgherveou pgherveou Nov 21, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The feature impact release build as well?

I guess the only down side is bigger runtime wasm which is fine as long as it's under the limit

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it does. Are we worried that the runtime is bigger for the dev node?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we care about debug and release builds. But does it impact the production build?

array-bytes = { workspace = true }
codec = { workspace = true }
polkadot-sdk = { workspace = true, features = [
Expand Down
Loading