Skip to content

Commit

Permalink
add std in testing::HeaderTest
Browse files Browse the repository at this point in the history
  • Loading branch information
runcomet committed Dec 29, 2024
1 parent 6cac3c3 commit 24c60e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion substrate/frame/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,10 @@ pub mod account {
pub mod block {
pub use frame_support::ConsensusEngineId;
pub use frame_system::limits;
pub use sp_runtime::{generic::DigestItem, testing::Header as HeaderTest, traits::Header};
pub use sp_runtime::{generic::DigestItem, traits::Header};

#[cfg(feature = "std")]
pub use sp_runtime::testing::Header as HeaderTest;
}

/// Access to all of the dependencies of this crate. In case the prelude re-exports are not enough,
Expand Down

0 comments on commit 24c60e8

Please sign in to comment.