This repository was archived by the owner on Mar 30, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Expand file tree Collapse file tree 3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,7 @@ impl pallet_preimage::Config for Runtime {
23
23
type BaseDeposit = ConstU128 < { 500 * UNIT } > ;
24
24
type ByteDeposit = ConstU128 < { darwinia_deposit ( 0 , 1 ) } > ;
25
25
type Currency = Balances ;
26
- type ManagerOrigin = Root ;
27
- type MaxSize = ConstU32 < { 4096 * 1024 } > ;
28
26
type RuntimeEvent = RuntimeEvent ;
29
27
type WeightInfo = ( ) ;
28
+ type ManagerOrigin = EnsureRoot < AccountId > ;
30
29
}
Original file line number Diff line number Diff line change @@ -23,8 +23,7 @@ impl pallet_preimage::Config for Runtime {
23
23
type BaseDeposit = ConstU128 < { 500 * UNIT } > ;
24
24
type ByteDeposit = ConstU128 < { darwinia_deposit ( 0 , 1 ) } > ;
25
25
type Currency = Balances ;
26
- type ManagerOrigin = Root ;
27
- type MaxSize = ConstU32 < { 4096 * 1024 } > ;
28
26
type RuntimeEvent = RuntimeEvent ;
29
27
type WeightInfo = ( ) ;
28
+ type ManagerOrigin = EnsureRoot < AccountId > ;
30
29
}
Original file line number Diff line number Diff line change @@ -23,8 +23,7 @@ impl pallet_preimage::Config for Runtime {
23
23
type BaseDeposit = ConstU128 < { 500 * UNIT } > ;
24
24
type ByteDeposit = ConstU128 < { darwinia_deposit ( 0 , 1 ) } > ;
25
25
type Currency = Balances ;
26
- type ManagerOrigin = Root ;
27
- type MaxSize = ConstU32 < { 4096 * 1024 } > ;
28
26
type RuntimeEvent = RuntimeEvent ;
29
27
type WeightInfo = ( ) ;
28
+ type ManagerOrigin = EnsureRoot < AccountId > ;
30
29
}
You can’t perform that action at this time.
0 commit comments