Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Guantong committed Jan 17, 2023
1 parent 2260b86 commit 69b8b60
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions runtime/crab/src/pallets/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ impl pallet_assets::Config for Runtime {
type AssetAccountDeposit = ConstU128<0>;
type AssetDeposit = ConstU128<0>;
type AssetId = AssetId;
type AssetIdParameter = codec::Compact<AssetId>;
type Balance = Balance;
type CreateOrigin = AsEnsureOriginWithArg<EnsureSignedBy<IsInVec<Creators>, AccountId>>;
type Currency = Balances;
Expand All @@ -45,4 +46,6 @@ impl pallet_assets::Config for Runtime {
type StringLimit = ConstU32<50>;
type WeightInfo = ();
type RemoveItemsLimit = ConstU32<1000>;
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkHelper = ();
}
3 changes: 3 additions & 0 deletions runtime/darwinia/src/pallets/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ impl pallet_assets::Config for Runtime {
type AssetAccountDeposit = ConstU128<0>;
type AssetDeposit = ConstU128<0>;
type AssetId = AssetId;
type AssetIdParameter = codec::Compact<AssetId>;
type Balance = Balance;
type CreateOrigin = AsEnsureOriginWithArg<EnsureSignedBy<IsInVec<Creators>, AccountId>>;
type Currency = Balances;
Expand All @@ -45,4 +46,6 @@ impl pallet_assets::Config for Runtime {
type StringLimit = ConstU32<50>;
type WeightInfo = ();
type RemoveItemsLimit = ConstU32<1000>;
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkHelper = ();
}
3 changes: 3 additions & 0 deletions runtime/pangolin/src/pallets/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ impl pallet_assets::Config for Runtime {
type AssetAccountDeposit = ConstU128<0>;
type AssetDeposit = ConstU128<0>;
type AssetId = AssetId;
type AssetIdParameter = codec::Compact<AssetId>;
type Balance = Balance;
type CreateOrigin = AsEnsureOriginWithArg<EnsureSignedBy<IsInVec<Creators>, AccountId>>;
type Currency = Balances;
Expand All @@ -45,4 +46,6 @@ impl pallet_assets::Config for Runtime {
type StringLimit = ConstU32<50>;
type WeightInfo = ();
type RemoveItemsLimit = ConstU32<1000>;
#[cfg(feature = "runtime-benchmarks")]
type BenchmarkHelper = ();
}

0 comments on commit 69b8b60

Please sign in to comment.