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

Commit bc8d5ec

Browse files
author
Guantong
committed
1 parent 650e8e4 commit bc8d5ec

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

runtime/crab/src/pallets/preimage.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ impl pallet_preimage::Config for Runtime {
2323
type BaseDeposit = ConstU128<{ 500 * UNIT }>;
2424
type ByteDeposit = ConstU128<{ darwinia_deposit(0, 1) }>;
2525
type Currency = Balances;
26-
type ManagerOrigin = Root;
27-
type MaxSize = ConstU32<{ 4096 * 1024 }>;
2826
type RuntimeEvent = RuntimeEvent;
2927
type WeightInfo = ();
28+
type ManagerOrigin = EnsureRoot<AccountId>;
3029
}

runtime/darwinia/src/pallets/preimage.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ impl pallet_preimage::Config for Runtime {
2323
type BaseDeposit = ConstU128<{ 500 * UNIT }>;
2424
type ByteDeposit = ConstU128<{ darwinia_deposit(0, 1) }>;
2525
type Currency = Balances;
26-
type ManagerOrigin = Root;
27-
type MaxSize = ConstU32<{ 4096 * 1024 }>;
2826
type RuntimeEvent = RuntimeEvent;
2927
type WeightInfo = ();
28+
type ManagerOrigin = EnsureRoot<AccountId>;
3029
}

runtime/pangolin/src/pallets/preimage.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ impl pallet_preimage::Config for Runtime {
2323
type BaseDeposit = ConstU128<{ 500 * UNIT }>;
2424
type ByteDeposit = ConstU128<{ darwinia_deposit(0, 1) }>;
2525
type Currency = Balances;
26-
type ManagerOrigin = Root;
27-
type MaxSize = ConstU32<{ 4096 * 1024 }>;
2826
type RuntimeEvent = RuntimeEvent;
2927
type WeightInfo = ();
28+
type ManagerOrigin = EnsureRoot<AccountId>;
3029
}

0 commit comments

Comments
 (0)