Skip to content
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

pallet macro: Tasks doesn't support instantiable pallets. #5185

Open
gui1117 opened this issue Jul 30, 2024 · 2 comments · May be fixed by #5194
Open

pallet macro: Tasks doesn't support instantiable pallets. #5185

gui1117 opened this issue Jul 30, 2024 · 2 comments · May be fixed by #5194
Labels
I2-bug The node fails to follow expected behavior. I10-unconfirmed Issue might be valid, but it's not yet known.

Comments

@gui1117
Copy link
Contributor

gui1117 commented Jul 30, 2024

The code only handles non instantiable pallets like this:

				impl<T: Config> core::fmt::Debug for #ident<#type_use_generics> {
					fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
						f.debug_struct(stringify!(#ident)).field("value", self).finish()
					}
				}
@gui1117 gui1117 added I10-unconfirmed Issue might be valid, but it's not yet known. I2-bug The node fails to follow expected behavior. labels Jul 30, 2024
@ggwpez
Copy link
Member

ggwpez commented Jul 30, 2024

cc @gupnik

@gui1117
Copy link
Contributor Author

gui1117 commented Jul 30, 2024

@gui1117 gui1117 linked a pull request Jul 31, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
I2-bug The node fails to follow expected behavior. I10-unconfirmed Issue might be valid, but it's not yet known.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants