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

difftreelog

feat add pallet-utility

Daniel Shiposha2023-09-12parent: #80370d8.patch.diff
in: master

6 files changed

modifiedCargo.tomldiffbeforeafterboth
119pallet-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" }
modifiedruntime/common/config/substrate.rsdiffbeforeafterboth
35};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}
251
252impl 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}
251258
modifiedruntime/common/construct_runtime.rsdiffbeforeafterboth
136136
137 BalancesAdapter: pallet_balances_adapter = 155,137 BalancesAdapter: pallet_balances_adapter = 155,
138
139 Utility: pallet_utility = 156,
138140
139 #[cfg(feature = "pallet-test-utils")]141 #[cfg(feature = "pallet-test-utils")]
140 TestUtils: pallet_test_utils = 255,142 TestUtils: pallet_test_utils = 255,
modifiedruntime/opal/Cargo.tomldiffbeforeafterboth
263pallet-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 }
modifiedruntime/quartz/Cargo.tomldiffbeforeafterboth
252pallet-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 }
modifiedruntime/unique/Cargo.tomldiffbeforeafterboth
255pallet-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 }