Skip to content
Snippets Groups Projects
Commit fe79b246 authored by Shawn Tabrizi's avatar Shawn Tabrizi Committed by GitHub
Browse files

Derive `RuntimeDebug` for `Runtime` (#6581)

parent ad2e8322
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment