difftreelog
feat add pallet-utility
in: master
6 files changed
Cargo.tomldiffbeforeafterboth119pallet-state-trie-migration = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }119pallet-state-trie-migration = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }120pallet-sudo = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }120pallet-sudo = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }121pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }121pallet-timestamp = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }122pallet-utility = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }122pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }123pallet-transaction-payment = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }123pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }124pallet-transaction-payment-rpc = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }124pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }125pallet-transaction-payment-rpc-runtime-api = { default-features = false, git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.43" }runtime/common/config/substrate.rsdiffbeforeafterboth35};35};36use pallet_transaction_payment::{Multiplier, ConstFeeMultiplier};36use pallet_transaction_payment::{Multiplier, ConstFeeMultiplier};37use crate::{37use crate::{38 runtime_common::DealWithFees, Runtime, RuntimeEvent, RuntimeCall, RuntimeOrigin, PalletInfo,38 runtime_common::DealWithFees, Runtime, RuntimeEvent, RuntimeCall, RuntimeOrigin, OriginCaller,39 System, Balances, SS58Prefix, Version,39 PalletInfo, System, Balances, SS58Prefix, Version,40};40};41use up_common::{types::*, constants::*};41use up_common::{types::*, constants::*};249 type MaxAuthorities = MaxAuthorities;249 type MaxAuthorities = MaxAuthorities;250}250}251252impl pallet_utility::Config for Runtime {253 type RuntimeEvent = RuntimeEvent;254 type RuntimeCall = RuntimeCall;255 type PalletsOrigin = OriginCaller;256 type WeightInfo = pallet_utility::weights::SubstrateWeight<Self>;257}251258runtime/common/construct_runtime.rsdiffbeforeafterboth136136137 BalancesAdapter: pallet_balances_adapter = 155,137 BalancesAdapter: pallet_balances_adapter = 155,138139 Utility: pallet_utility = 156,138140139 #[cfg(feature = "pallet-test-utils")]141 #[cfg(feature = "pallet-test-utils")]140 TestUtils: pallet_test_utils = 255,142 TestUtils: pallet_test_utils = 255,runtime/opal/Cargo.tomldiffbeforeafterboth263pallet-state-trie-migration = { workspace = true }263pallet-state-trie-migration = { workspace = true }264pallet-sudo = { workspace = true }264pallet-sudo = { workspace = true }265pallet-timestamp = { workspace = true }265pallet-timestamp = { workspace = true }266pallet-utility = { workspace = true }266pallet-transaction-payment = { workspace = true }267pallet-transaction-payment = { workspace = true }267pallet-transaction-payment-rpc-runtime-api = { workspace = true }268pallet-transaction-payment-rpc-runtime-api = { workspace = true }268pallet-treasury = { workspace = true }269pallet-treasury = { workspace = true }runtime/quartz/Cargo.tomldiffbeforeafterboth252pallet-state-trie-migration = { workspace = true }252pallet-state-trie-migration = { workspace = true }253pallet-sudo = { workspace = true }253pallet-sudo = { workspace = true }254pallet-timestamp = { workspace = true }254pallet-timestamp = { workspace = true }255pallet-utility = { workspace = true }255pallet-transaction-payment = { workspace = true }256pallet-transaction-payment = { workspace = true }256pallet-transaction-payment-rpc-runtime-api = { workspace = true }257pallet-transaction-payment-rpc-runtime-api = { workspace = true }257pallet-treasury = { workspace = true }258pallet-treasury = { workspace = true }runtime/unique/Cargo.tomldiffbeforeafterboth255pallet-state-trie-migration = { workspace = true }255pallet-state-trie-migration = { workspace = true }256pallet-sudo = { workspace = true }256pallet-sudo = { workspace = true }257pallet-timestamp = { workspace = true }257pallet-timestamp = { workspace = true }258pallet-utility = { workspace = true }258pallet-transaction-payment = { workspace = true }259pallet-transaction-payment = { workspace = true }259pallet-transaction-payment-rpc-runtime-api = { workspace = true }260pallet-transaction-payment-rpc-runtime-api = { workspace = true }260pallet-treasury = { workspace = true }261pallet-treasury = { workspace = true }