git.delta.rocks / unique-network / refs/commits / d9258db7c690

difftreelog

fix(config) add missing config keys

Daniel Shiposha2022-08-12parent: #a28a7b0.patch.diff
in: master

1 file changed

modifiedruntime/common/config/substrate.rsdiffbeforeafterboth
15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.15// along with Unique Network. If not, see <http://www.gnu.org/licenses/>.
1616
17use frame_support::{17use frame_support::{
18 traits::{Everything, ConstU32},18 traits::{Everything, ConstU32, NeverEnsureOrigin},
19 weights::{19 weights::{
20 constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight},20 constants::{BlockExecutionWeight, ExtrinsicBaseWeight, RocksDbWeight},
21 DispatchClass, ConstantMultiplier,21 DispatchClass, ConstantMultiplier,
186 type Currency = Balances;186 type Currency = Balances;
187 type ApproveOrigin = EnsureRoot<AccountId>;187 type ApproveOrigin = EnsureRoot<AccountId>;
188 type RejectOrigin = EnsureRoot<AccountId>;188 type RejectOrigin = EnsureRoot<AccountId>;
189 type SpendOrigin = NeverEnsureOrigin<u128>;
189 type Event = Event;190 type Event = Event;
190 type OnSlash = ();191 type OnSlash = ();
191 type ProposalBond = ProposalBond;192 type ProposalBond = ProposalBond;
197 type SpendFunds = ();198 type SpendFunds = ();
198 type WeightInfo = pallet_treasury::weights::SubstrateWeight<Self>;199 type WeightInfo = pallet_treasury::weights::SubstrateWeight<Self>;
199 type MaxApprovals = MaxApprovals;200 type MaxApprovals = MaxApprovals;
201 type CheckAssociatedRelayNumber = cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases;
200}202}
201203
202impl pallet_sudo::Config for Runtime {204impl pallet_sudo::Config for Runtime {