diff --git a/runtime/crab/src/pallets/assets.rs b/runtime/crab/src/pallets/assets.rs index 50fac259..b195fb22 100644 --- a/runtime/crab/src/pallets/assets.rs +++ b/runtime/crab/src/pallets/assets.rs @@ -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; type Balance = Balance; type CreateOrigin = AsEnsureOriginWithArg, AccountId>>; type Currency = Balances; @@ -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 = (); } diff --git a/runtime/darwinia/src/pallets/assets.rs b/runtime/darwinia/src/pallets/assets.rs index 552e64d6..bfe753b8 100644 --- a/runtime/darwinia/src/pallets/assets.rs +++ b/runtime/darwinia/src/pallets/assets.rs @@ -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; type Balance = Balance; type CreateOrigin = AsEnsureOriginWithArg, AccountId>>; type Currency = Balances; @@ -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 = (); } diff --git a/runtime/pangolin/src/pallets/assets.rs b/runtime/pangolin/src/pallets/assets.rs index 8e2e85ae..61afcd1f 100644 --- a/runtime/pangolin/src/pallets/assets.rs +++ b/runtime/pangolin/src/pallets/assets.rs @@ -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; type Balance = Balance; type CreateOrigin = AsEnsureOriginWithArg, AccountId>>; type Currency = Balances; @@ -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 = (); }