@@ -23,10 +23,10 @@ use super::*;
2323
2424use frame_support:: {
2525 assert_ok, assert_noop, impl_outer_origin, parameter_types, impl_outer_dispatch,
26- weights :: Weight , impl_outer_event, traits:: Filter ,
26+ impl_outer_event, traits:: Filter ,
2727} ;
2828use sp_core:: H256 ;
29- use sp_runtime:: { Perbill , traits:: { BlakeTwo256 , IdentityLookup } , testing:: Header } ;
29+ use sp_runtime:: { traits:: { BlakeTwo256 , IdentityLookup } , testing:: Header } ;
3030use crate as multisig;
3131
3232impl_outer_origin ! {
@@ -55,12 +55,14 @@ impl_outer_dispatch! {
5555pub struct Test ;
5656parameter_types ! {
5757 pub const BlockHashCount : u64 = 250 ;
58- pub const MaximumBlockWeight : Weight = 1024 ;
59- pub const MaximumBlockLength : u32 = 2 * 1024 ;
60- pub const AvailableBlockRatio : Perbill = Perbill :: one( ) ;
58+ pub BlockWeights : frame_system:: limits:: BlockWeights =
59+ frame_system:: limits:: BlockWeights :: simple_max( 1024 ) ;
6160}
6261impl frame_system:: Config for Test {
6362 type BaseCallFilter = TestBaseCallFilter ;
63+ type BlockWeights = ( ) ;
64+ type BlockLength = ( ) ;
65+ type DbWeight = ( ) ;
6466 type Origin = Origin ;
6567 type Index = u64 ;
6668 type BlockNumber = u64 ;
@@ -72,13 +74,6 @@ impl frame_system::Config for Test {
7274 type Header = Header ;
7375 type Event = TestEvent ;
7476 type BlockHashCount = BlockHashCount ;
75- type MaximumBlockWeight = MaximumBlockWeight ;
76- type DbWeight = ( ) ;
77- type BlockExecutionWeight = ( ) ;
78- type ExtrinsicBaseWeight = ( ) ;
79- type MaximumExtrinsicWeight = MaximumBlockWeight ;
80- type MaximumBlockLength = MaximumBlockLength ;
81- type AvailableBlockRatio = AvailableBlockRatio ;
8277 type Version = ( ) ;
8378 type PalletInfo = ( ) ;
8479 type AccountData = pallet_balances:: AccountData < u64 > ;
0 commit comments