Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
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
Derive RuntimeDebug for Runtime
  • Loading branch information
shawntabrizi committed Jul 6, 2020
commit 266be1f35180fc0626bcb5ac69f3973a0220d571
3 changes: 1 addition & 2 deletions frame/support/procedural/src/construct_runtime/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ fn construct_runtime_parsed(definition: RuntimeDefinition) -> Result<TokenStream
let res = quote!(
#scrate_decl

#[derive(Clone, Copy, PartialEq, Eq)]
#[cfg_attr(feature = "std", derive(Debug))]
#[derive(Clone, Copy, PartialEq, Eq, #scrate::sp_runtime::RuntimeDebug)]
pub struct #name;
impl #scrate::sp_runtime::traits::GetNodeBlockType for #name {
type NodeBlock = #node_block;
Expand Down