Skip to content

Commit

Permalink
remove Randomness from prelude
Browse files Browse the repository at this point in the history
  • Loading branch information
FereMouSiopi committed Jan 4, 2025
1 parent a56280c commit 9b55c32
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
9 changes: 0 additions & 9 deletions prdoc/pr_6738.prdoc

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
use safe_mix::TripletMix;

use codec::Encode;
use frame::prelude::*;
use frame::{prelude::*, traits::Randomness};

const RANDOM_MATERIAL_LEN: u32 = 81;

Expand Down
3 changes: 0 additions & 3 deletions substrate/frame/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,6 @@ pub mod prelude {
/// Other error/result types for runtime
#[doc(no_inline)]
pub use sp_runtime::{DispatchErrorWithPostInfo, DispatchResultWithInfo, TokenError};

/// Provide randomness to your runtime.
pub use frame_support::traits::Randomness;
}

#[cfg(any(feature = "try-runtime", test))]
Expand Down

0 comments on commit 9b55c32

Please sign in to comment.