Skip to content

Commit

Permalink
WIP nit
Browse files Browse the repository at this point in the history
  • Loading branch information
runcomet committed Jan 4, 2025
1 parent 083f63d commit 5fa4693
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 24 deletions.
13 changes: 0 additions & 13 deletions prdoc/pr_6619.prdoc

This file was deleted.

12 changes: 1 addition & 11 deletions substrate/frame/authority-discovery/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ extern crate alloc;

use alloc::vec::Vec;
use frame::{
deps::frame_support::WeakBoundedVec,
prelude::*,
traits::{Get, OneSessionHandler},
};
Expand Down Expand Up @@ -171,16 +170,7 @@ mod tests {
use super::*;
use crate as pallet_authority_discovery;
use alloc::vec;
use frame::{
arithmetic::Perbill,
deps::sp_runtime::KeyTypeId,
runtime::{
prelude::{construct_runtime, derive_impl, parameter_types},
testing_prelude::BuildStorage,
},
testing_prelude::TestExternalities,
traits::{ConstU32, ConvertInto, IdentityLookup, OpaqueKeys},
};
use frame::testing_prelude::*
use sp_application_crypto::Pair;
use sp_authority_discovery::AuthorityPair;

Expand Down
3 changes: 3 additions & 0 deletions substrate/frame/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@ pub mod prelude {
Saturating, StaticLookup, TrailingZeroInput,
};

/// Bounded storage related types.
pub use sp_runtime::{BoundedSlice, BoundedVec, WeakBoundedVec};

/// Other error/result types for runtime
#[doc(no_inline)]
pub use sp_runtime::{DispatchErrorWithPostInfo, DispatchResultWithInfo, TokenError};
Expand Down

0 comments on commit 5fa4693

Please sign in to comment.