Skip to content

Commit

Permalink
taplo
Browse files Browse the repository at this point in the history
  • Loading branch information
runcomet committed Jan 16, 2025
1 parent 01b2f25 commit e7d43f0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions substrate/frame/alliance/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ targets = ["x86_64-unknown-linux-gnu"]

[dependencies]
array-bytes = { optional = true, workspace = true, default-features = true }
log = { workspace = true }
codec = { features = ["derive"], workspace = true }
scale-info = { features = ["derive"], workspace = true }
frame = { workspace = true, features = ["experimental", "runtime"] }
log = { workspace = true }
pallet-collective = { optional = true, workspace = true }
pallet-identity = { workspace = true }
scale-info = { features = ["derive"], workspace = true }

[dev-dependencies]
array-bytes = { workspace = true, default-features = true }
Expand Down
16 changes: 8 additions & 8 deletions substrate/frame/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,12 @@ pub mod prelude {
#[doc(no_inline)]
pub use frame_support::dispatch::{GetDispatchInfo, PostDispatchInfo};
pub use frame_support::{
defensive, defensive_assert,
traits::{
Contains, EitherOf, IsSubType, EstimateNextSessionRotation, OnRuntimeUpgrade, UnfilteredDispatchable, MapSuccess, NoOpPoll, OnRuntimeUpgrade, OneSessionHandler, RankedMembers, RankedMembersSwapHandler}
defensive, defensive_assert,
traits::{
Contains, EitherOf, EstimateNextSessionRotation, IsSubType, MapSuccess, NoOpPoll,
OnRuntimeUpgrade, OneSessionHandler, RankedMembers, RankedMembersSwapHandler,
UnfilteredDispatchable,
},
};

/// Pallet prelude of `frame-system`.
Expand All @@ -230,9 +233,6 @@ pub mod prelude {
/// All account related things.
pub use super::account::*;

/// All arithmetic types and traits used for safe math.
pub use super::arithmetic::*;

/// Runtime traits
#[doc(no_inline)]
pub use sp_runtime::traits::{
Expand All @@ -246,8 +246,8 @@ pub mod prelude {
/// Other error/result types for runtime
#[doc(no_inline)]
pub use sp_runtime::{
DispatchError,
BoundToRuntimeAppPublic, DispatchErrorWithPostInfo, DispatchResultWithInfo, TokenError,
BoundToRuntimeAppPublic, DispatchError, DispatchErrorWithPostInfo, DispatchResultWithInfo,
TokenError,
};
}

Expand Down

0 comments on commit e7d43f0

Please sign in to comment.