Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Derive RuntimeDebug for Runtime (#6581)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawntabrizi authored Jul 6, 2020
1 parent c5368a1 commit 0ab1c4f
Showing 1 changed file with 1 addition and 2 deletions.
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 @@ -99,8 +99,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

0 comments on commit 0ab1c4f

Please sign in to comment.