File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ use frame_support::{
5757pub use frame_system:: Call as SystemCall ;
5858pub use pallet_timestamp:: Call as TimestampCall ;
5959use pallet_transaction_payment:: RuntimeDispatchInfo ;
60+ use pallet_transaction_storage:: NoopCurrency ;
6061
6162#[ cfg( any( feature = "std" , test) ) ]
6263pub use sp_runtime:: BuildStorage ;
@@ -345,6 +346,7 @@ impl pallet_sudo::Config for Runtime {
345346impl pallet_transaction_storage:: Config for Runtime {
346347 type RuntimeEvent = RuntimeEvent ;
347348 type RuntimeCall = RuntimeCall ;
349+ type Currency = NoopCurrency < RuntimeHoldReason > ;
348350 type RuntimeHoldReason = RuntimeHoldReason ;
349351 type WeightInfo = pallet_transaction_storage:: weights:: SubstrateWeight < Runtime > ;
350352 type MaxBlockTransactions = ConstU32 < 512 > ;
Original file line number Diff line number Diff line change @@ -344,6 +344,7 @@ impl pallet_timestamp::Config for Runtime {
344344impl pallet_transaction_storage:: Config for Runtime {
345345 type RuntimeEvent = RuntimeEvent ;
346346 type RuntimeCall = RuntimeCall ;
347+ type Currency = NoopCurrency < RuntimeHoldReason > ;
347348 type RuntimeHoldReason = RuntimeHoldReason ;
348349 type WeightInfo = weights:: pallet_transaction_storage:: WeightInfo < Runtime > ;
349350 type MaxBlockTransactions = ConstU32 < 512 > ;
@@ -842,6 +843,7 @@ mod benches {
842843
843844#[ cfg( feature = "runtime-benchmarks" ) ]
844845use benches:: * ;
846+ use pallet_transaction_storage:: NoopCurrency ;
845847
846848impl_runtime_apis ! {
847849 impl sp_api:: Core <Block > for Runtime {
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ use frame_support::{
2121 parameter_types,
2222 traits:: { EitherOfDiverse , Equals } ,
2323} ;
24+ use pallet_transaction_storage:: NoopCurrency ;
2425use pallet_xcm:: EnsureXcm ;
2526use sp_runtime:: transaction_validity:: { TransactionLongevity , TransactionPriority } ;
2627use testnet_parachains_constants:: westend:: locations:: PeopleLocation ;
@@ -43,6 +44,7 @@ parameter_types! {
4344impl pallet_transaction_storage:: Config for Runtime {
4445 type RuntimeEvent = RuntimeEvent ;
4546 type RuntimeCall = RuntimeCall ;
47+ type Currency = NoopCurrency < RuntimeHoldReason > ;
4648 type RuntimeHoldReason = RuntimeHoldReason ;
4749 type WeightInfo = crate :: weights:: pallet_transaction_storage:: WeightInfo < Runtime > ;
4850 type MaxBlockTransactions = crate :: ConstU32 < 512 > ;
You can’t perform that action at this time.
0 commit comments