frame_support::pallet_prelude: Add scale_info::TypeInfo (#10221)

Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
Qinxuan Chen authored and GitHub committed 2021-11-09 12:59:55 +01:00
1 parent 3c624174ff
commit 5d5e685ebe
4 files changed
+5 -6

No files matched your search

-1
View File
@@ -170,7 +170,6 @@ pub mod pallet {
use super::*;
use frame_support::{dispatch::DispatchResult, pallet_prelude::*};
use frame_system::pallet_prelude::*;
use scale_info::TypeInfo;
#[pallet::pallet]
#[pallet::generate_store(pub(super) trait Store)]
+4 -4
View File
@@ -18,10 +18,10 @@
//! Various basic types for use in the assets pallet.
use super::*;
use frame_support::pallet_prelude::*;
use scale_info::TypeInfo;
use frame_support::traits::{fungible, tokens::BalanceConversion};
use frame_support::{
pallet_prelude::*,
traits::{fungible, tokens::BalanceConversion},
};
use sp_runtime::{traits::Convert, FixedPointNumber, FixedPointOperand, FixedU128};
pub(super) type DepositBalanceOf<T, I = ()> =