-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added debug in FullProvider #14955
base: main
Are you sure you want to change the base?
added debug in FullProvider #14955
Conversation
@@ -239,7 +239,7 @@ where | |||
/// Configures the types of the node. | |||
pub fn with_types<T>(self) -> NodeBuilderWithTypes<RethFullAdapter<DB, T>> | |||
where | |||
T: NodeTypesWithEngine<ChainSpec = ChainSpec> + NodeTypesForProvider, | |||
T: NodeTypesWithEngine<ChainSpec = ChainSpec> + NodeTypesForProvider + Debug, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should also add thi to NodeTypesforProvider directly I think
wdyt @klkvr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah I think it should be either on NodeTypesForProvider
or just be a supertrait of NodeTypes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
makes more sense to add Debug
as super trait of FullNodeTypes
instead of explicitly adding the trait bound everywhere
Closes #14953