You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
Experiencing problems? Have you tried our Stack Exchange first?
This is not a support question.
Description of bug
I have added sp-debug-derive = { version = "4.0.0", default-features = false, features = ["force-debug"] } to my runtime and it stopped compiling with this:
error[E0277]: `finality_grandpa::Commit<<Header as HeaderT>::Hash, <Header as HeaderT>::Number, app::Signature, app::Public>` doesn't implement `core::fmt::Debug`
--> /home/nazar-pc/.cargo/git/checkouts/substrate-7bc20b373ca3e834/4fa79c1/primitives/finality-grandpa/src/lib.rs:132:48
|
132 | #[derive(Clone, Encode, Decode, PartialEq, Eq, RuntimeDebug)]
| ^^^^^^^^^^^^ `finality_grandpa::Commit<<Header as HeaderT>::Hash, <Header as HeaderT>::Number, app::Signature, app::Public>` cannot be formatted using `{:?}` because it doesn't implement `core::fmt::Debug`
|
= help: the trait `core::fmt::Debug` is not implemented for `finality_grandpa::Commit<<Header as HeaderT>::Hash, <Header as HeaderT>::Number, app::Signature, app::Public>`
= note: required for the cast from `finality_grandpa::Commit<<Header as HeaderT>::Hash, <Header as HeaderT>::Number, app::Signature, app::Public>` to the object type `dyn core::fmt::Debug`
= note: this error originates in the derive macro `RuntimeDebug` (in Nightly builds, run with -Z macro-backtrace for more info)
For more information about this error, try `rustc --explain E0277`.
Looks like something went wrong with this feature enabled.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
I have added
sp-debug-derive = { version = "4.0.0", default-features = false, features = ["force-debug"] }
to my runtime and it stopped compiling with this:Looks like something went wrong with this feature enabled.
Steps to reproduce
Apply following patch:
Then run
cargo c -p kitchensink-runtime
The text was updated successfully, but these errors were encountered: