Skip to content

Commit

Permalink
Use Vec from sp_std
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrylavrenov committed Dec 4, 2024
1 parent 61fec53 commit 47ff153
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion crates/pallet-evm-accounts-mapping/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![cfg_attr(not(feature = "std"), no_std)]

use frame_support::{inherent::Vec, pallet_prelude::*};
use frame_support::{pallet_prelude::*, sp_std::prelude::*};
use frame_system::pallet_prelude::*;
pub use pallet::*;
use primitives_ethereum::{EcdsaSignature, EthereumAddress};
Expand Down
6 changes: 2 additions & 4 deletions crates/pallet-token-claims/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
#![cfg_attr(not(feature = "std"), no_std)]

use frame_support::{
inherent::Vec,
traits::{Currency, StorageVersion},
};
use frame_support::traits::{Currency, StorageVersion};
pub use weights::*;

pub use self::pallet::*;
Expand Down Expand Up @@ -49,6 +46,7 @@ pub mod pallet {
use frame_support::{
pallet_prelude::{ValueQuery, *},
sp_runtime::traits::Saturating,
sp_std::prelude::*,
storage::with_storage_layer,
traits::{ExistenceRequirement, WithdrawReasons},
};
Expand Down

0 comments on commit 47ff153

Please sign in to comment.