difftreelog
feat register pallet in runtimes
in: master
8 files changed
Cargo.lockdiffbeforeafterboth5871 "pallet-aura",5871 "pallet-aura",5872 "pallet-authorship",5872 "pallet-authorship",5873 "pallet-balances",5873 "pallet-balances",5874 "pallet-balances-adapter",5874 "pallet-base-fee",5875 "pallet-base-fee",5875 "pallet-collator-selection",5876 "pallet-collator-selection",5876 "pallet-common",5877 "pallet-common",6255name = "pallet-balances-adapter"6256name = "pallet-balances-adapter"6256version = "0.1.0"6257version = "0.1.0"6257dependencies = [6258dependencies = [6259 "evm-coder",6258 "frame-support",6260 "frame-support",6259 "frame-system",6261 "frame-system",6260 "pallet-balances",6262 "pallet-balances",6263 "pallet-common",6264 "pallet-evm",6265 "pallet-evm-coder-substrate",6266 "pallet-evm-transaction-payment",6261 "parity-scale-codec",6267 "parity-scale-codec",6262 "scale-info",6268 "scale-info",6263 "sp-core",6269 "sp-core",6264 "sp-std",6270 "sp-std",6271 "up-data-structs",6265]6272]626662736267[[package]]6274[[package]]9364 "pallet-aura",9371 "pallet-aura",9365 "pallet-authorship",9372 "pallet-authorship",9366 "pallet-balances",9373 "pallet-balances",9374 "pallet-balances-adapter",9367 "pallet-base-fee",9375 "pallet-base-fee",9368 "pallet-collator-selection",9376 "pallet-collator-selection",9369 "pallet-common",9377 "pallet-common",13781 "pallet-aura",13789 "pallet-aura",13782 "pallet-authorship",13790 "pallet-authorship",13783 "pallet-balances",13791 "pallet-balances",13792 "pallet-balances-adapter",13784 "pallet-base-fee",13793 "pallet-base-fee",13785 "pallet-collator-selection",13794 "pallet-collator-selection",13786 "pallet-common",13795 "pallet-common",pallets/balances-adapter/Cargo.tomldiffbeforeafterboth16codec = { workspace = true, package = "parity-scale-codec" }16codec = { workspace = true, package = "parity-scale-codec" }17scale-info = { workspace = true }17scale-info = { workspace = true }1819# Unique20evm-coder = { workspace = true }21pallet-evm = { workspace = true }2223#Local24pallet-common = { workspace = true }25pallet-evm-coder-substrate = { workspace = true }26pallet-evm-transaction-payment = { workspace = true }27up-data-structs = { workspace = true, features = ['serde1'] }182819[features]29[features]20default = ["std"]30default = ["std"]21std = ["frame-support/std", "frame-system/std", "pallet-balances/std", "sp-core/std", "sp-std/std"]31std = [22# stubgen = ["evm-coder/stubgen", "pallet-common/stubgen"]32 "evm-coder/std",33 "frame-support/std",34 "frame-system/std",35 "pallet-balances/std",36 "pallet-common/std",37 "pallet-evm-coder-substrate/std",38 "pallet-evm/std",39 "sp-core/std",40 "sp-std/std",41]42stubgen = ["evm-coder/stubgen", "pallet-common/stubgen"]23try-runtime = ["frame-support/try-runtime"]43try-runtime = ["frame-support/try-runtime"]2444pallets/balances-adapter/src/lib.rsdiffbeforeafterboth2#![cfg_attr(not(feature = "std"), no_std)]2#![cfg_attr(not(feature = "std"), no_std)]3#![warn(missing_docs)]3#![warn(missing_docs)]45pub use pallet::*;465#[frame_support::pallet]7#[frame_support::pallet]6pub mod pallet {8pub mod pallet {runtime/common/config/pallets/mod.rsdiffbeforeafterboth83impl pallet_nonfungible::Config for Runtime {83impl pallet_nonfungible::Config for Runtime {84 type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;84 type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;85}85}86impl pallet_balances_adapter::Config for Runtime {87 // type WeightInfo = pallet_nonfungible::weights::SubstrateWeight<Self>;88}868987parameter_types! {90parameter_types! {88 pub const InflationBlockInterval: BlockNumber = 100; // every time per how many blocks inflation is applied91 pub const InflationBlockInterval: BlockNumber = 100; // every time per how many blocks inflation is appliedruntime/common/construct_runtime.rsdiffbeforeafterboth106106107 Maintenance: pallet_maintenance = 154,107 Maintenance: pallet_maintenance = 154,108109 BalancesAdapter: pallet_balances_adapter = 155,108110109 #[cfg(feature = "pallet-test-utils")]111 #[cfg(feature = "pallet-test-utils")]110 TestUtils: pallet_test_utils = 255,112 TestUtils: pallet_test_utils = 255,runtime/opal/Cargo.tomldiffbeforeafterboth18[features]18[features]19default = ['opal-runtime', 'std']19default = ['opal-runtime', 'std']20limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']20limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']21opal-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'preimage', 'pallet-test-utils', 'refungible']21opal-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'pallet-test-utils', 'preimage', 'refungible']22pov-estimate = []22pov-estimate = []23runtime-benchmarks = [23runtime-benchmarks = [24 "pallet-preimage/runtime-benchmarks",24 'cumulus-pallet-parachain-system/runtime-benchmarks',25 'cumulus-pallet-parachain-system/runtime-benchmarks',25 'frame-benchmarking',26 'frame-benchmarking',26 'frame-support/runtime-benchmarks',27 'frame-support/runtime-benchmarks',41 'pallet-inflation/runtime-benchmarks',42 'pallet-inflation/runtime-benchmarks',42 'pallet-maintenance/runtime-benchmarks',43 'pallet-maintenance/runtime-benchmarks',43 'pallet-nonfungible/runtime-benchmarks',44 'pallet-nonfungible/runtime-benchmarks',44 "pallet-preimage/runtime-benchmarks",45 'pallet-refungible/runtime-benchmarks',45 'pallet-refungible/runtime-benchmarks',46 'pallet-structure/runtime-benchmarks',46 'pallet-structure/runtime-benchmarks',47 'pallet-timestamp/runtime-benchmarks',47 'pallet-timestamp/runtime-benchmarks',70 # 'pallet-contracts-primitives/std',70 # 'pallet-contracts-primitives/std',71 # 'pallet-contracts-rpc-runtime-api/std',71 # 'pallet-contracts-rpc-runtime-api/std',72 # 'pallet-contract-helpers/std',72 # 'pallet-contract-helpers/std',73 "pallet-authorship/std",73 "pallet-preimage/std",74 "pallet-preimage/std",74 "pallet-authorship/std",75 "pallet-session/std",75 "pallet-session/std",76 "sp-consensus-aura/std",76 "sp-consensus-aura/std",77 'app-promotion-rpc/std',77 'app-promotion-rpc/std',78 'evm-coder/std',78 'evm-coder/std',79 'fp-rpc/std',79 'fp-rpc/std',80 'fp-self-contained/std',80 'fp-self-contained/std',81 'pallet-app-promotion/std',81 'pallet-app-promotion/std',82 'pallet-balances-adapter/std',82 'pallet-base-fee/std',83 'pallet-base-fee/std',83 'pallet-charge-transaction/std',84 'pallet-charge-transaction/std',84 'pallet-collator-selection/std',85 'pallet-collator-selection/std',128 "orml-tokens/std",129 "orml-tokens/std",129 "orml-traits/std",130 "orml-traits/std",130 "orml-vesting/std",131 "orml-vesting/std",132 "orml-xcm-support/std",131 "orml-xtokens/std",133 "orml-xtokens/std",132 "orml-xcm-support/std",133 "pallet-foreign-assets/std",134 "pallet-foreign-assets/std",134135135 'pallet-maintenance/std',136 'pallet-maintenance/std',139 "pallet-authorship/try-runtime",140 "pallet-authorship/try-runtime",140 "pallet-collator-selection/try-runtime",141 "pallet-collator-selection/try-runtime",141 "pallet-identity/try-runtime",142 "pallet-identity/try-runtime",143 "pallet-preimage/try-runtime",142 "pallet-session/try-runtime",144 "pallet-session/try-runtime",143 "pallet-preimage/try-runtime",144 'cumulus-pallet-aura-ext/try-runtime',145 'cumulus-pallet-aura-ext/try-runtime',145 'cumulus-pallet-dmp-queue/try-runtime',146 'cumulus-pallet-dmp-queue/try-runtime',146 'cumulus-pallet-parachain-system/try-runtime',147 'cumulus-pallet-parachain-system/try-runtime',189app-promotion = []190app-promotion = []190collator-selection = []191collator-selection = []191foreign-assets = []192foreign-assets = []192preimage = []193pallet-test-utils = []193pallet-test-utils = []194preimage = []194refungible = []195refungible = []195scheduler = []196scheduler = []196197216orml-tokens = { workspace = true }217orml-tokens = { workspace = true }217orml-traits = { workspace = true }218orml-traits = { workspace = true }218orml-vesting = { workspace = true }219orml-vesting = { workspace = true }219orml-xtokens = { workspace = true }220orml-xcm-support = { workspace = true }220orml-xcm-support = { workspace = true }221orml-xtokens = { workspace = true }221pallet-aura = { workspace = true }222pallet-aura = { workspace = true }222pallet-authorship = { workspace = true }223pallet-authorship = { workspace = true }223pallet-balances = { features = ["insecure_zero_ed"], workspace = true }224pallet-balances = { features = ["insecure_zero_ed"], workspace = true }258log = { workspace = true }259log = { workspace = true }259num_enum = { workspace = true }260num_enum = { workspace = true }260pallet-app-promotion = { workspace = true }261pallet-app-promotion = { workspace = true }262pallet-balances-adapter = { workspace = true }261pallet-base-fee = { workspace = true }263pallet-base-fee = { workspace = true }262pallet-charge-transaction = { workspace = true }264pallet-charge-transaction = { workspace = true }263pallet-collator-selection = { workspace = true }265pallet-collator-selection = { workspace = true }291################################################################################293################################################################################292# Optional dependencies294# Optional dependencies293295296frame-benchmarking = { workspace = true, optional = true }294frame-system-benchmarking = { workspace = true, optional = true}297frame-system-benchmarking = { workspace = true, optional = true }295frame-benchmarking = { workspace = true, optional = true }296frame-try-runtime = { workspace = true, optional = true }298frame-try-runtime = { workspace = true, optional = true }299hex-literal = { workspace = true, optional = true }297serde = { workspace = true, optional = true }300serde = { workspace = true, optional = true }298hex-literal = { workspace = true, optional = true }299301300################################################################################302################################################################################301# Test dependencies303# Test dependenciesruntime/quartz/Cargo.tomldiffbeforeafterboth22pov-estimate = []22pov-estimate = []23quartz-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'preimage', 'refungible']23quartz-runtime = ['app-promotion', 'collator-selection', 'foreign-assets', 'preimage', 'refungible']24runtime-benchmarks = [24runtime-benchmarks = [25 "pallet-preimage/runtime-benchmarks",25 'cumulus-pallet-parachain-system/runtime-benchmarks',26 'cumulus-pallet-parachain-system/runtime-benchmarks',26 'frame-benchmarking',27 'frame-benchmarking',27 'frame-support/runtime-benchmarks',28 'frame-support/runtime-benchmarks',42 'pallet-inflation/runtime-benchmarks',43 'pallet-inflation/runtime-benchmarks',43 'pallet-maintenance/runtime-benchmarks',44 'pallet-maintenance/runtime-benchmarks',44 'pallet-nonfungible/runtime-benchmarks',45 'pallet-nonfungible/runtime-benchmarks',45 "pallet-preimage/runtime-benchmarks",46 'pallet-refungible/runtime-benchmarks',46 'pallet-refungible/runtime-benchmarks',47 'pallet-structure/runtime-benchmarks',47 'pallet-structure/runtime-benchmarks',48 'pallet-timestamp/runtime-benchmarks',48 'pallet-timestamp/runtime-benchmarks',70 # 'pallet-contracts-primitives/std',70 # 'pallet-contracts-primitives/std',71 # 'pallet-contracts-rpc-runtime-api/std',71 # 'pallet-contracts-rpc-runtime-api/std',72 # 'pallet-contract-helpers/std',72 # 'pallet-contract-helpers/std',73 "pallet-preimage/std",74 "pallet-authorship/std",73 "pallet-authorship/std",75 "pallet-identity/std",74 "pallet-identity/std",75 "pallet-preimage/std",76 "pallet-session/std",76 "pallet-session/std",77 "sp-consensus-aura/std",77 "sp-consensus-aura/std",78 'app-promotion-rpc/std',78 'app-promotion-rpc/std',127 "orml-tokens/std",127 "orml-tokens/std",128 "orml-traits/std",128 "orml-traits/std",129 "orml-vesting/std",129 "orml-vesting/std",130 "orml-xcm-support/std",130 "orml-xtokens/std",131 "orml-xtokens/std",131 "orml-xcm-support/std",132 "pallet-foreign-assets/std",132 "pallet-foreign-assets/std",133 "pallet-maintenance/std",133 "pallet-maintenance/std",134]134]135try-runtime = [135try-runtime = [136 "pallet-authorship/try-runtime",136 "pallet-authorship/try-runtime",137 "pallet-collator-selection/try-runtime",137 "pallet-collator-selection/try-runtime",138 "pallet-identity/try-runtime",138 "pallet-identity/try-runtime",139 "pallet-preimage/try-runtime",139 "pallet-session/try-runtime",140 "pallet-session/try-runtime",140 "pallet-preimage/try-runtime",141 'cumulus-pallet-aura-ext/try-runtime',141 'cumulus-pallet-aura-ext/try-runtime',142 'cumulus-pallet-dmp-queue/try-runtime',142 'cumulus-pallet-dmp-queue/try-runtime',143 'cumulus-pallet-parachain-system/try-runtime',143 'cumulus-pallet-parachain-system/try-runtime',153 'orml-xtokens/try-runtime',153 'orml-xtokens/try-runtime',154 'pallet-app-promotion/try-runtime',154 'pallet-app-promotion/try-runtime',155 'pallet-aura/try-runtime',155 'pallet-aura/try-runtime',156 'pallet-balances-adapter/std',156 'pallet-balances/try-runtime',157 'pallet-balances/try-runtime',157 'pallet-charge-transaction/try-runtime',158 'pallet-charge-transaction/try-runtime',158 'pallet-common/try-runtime',159 'pallet-common/try-runtime',208orml-tokens = { workspace = true }209orml-tokens = { workspace = true }209orml-traits = { workspace = true }210orml-traits = { workspace = true }210orml-vesting = { workspace = true }211orml-vesting = { workspace = true }211orml-xtokens = { workspace = true }212orml-xcm-support = { workspace = true }212orml-xcm-support = { workspace = true }213orml-xtokens = { workspace = true }213pallet-aura = { workspace = true }214pallet-aura = { workspace = true }214pallet-authorship = { workspace = true }215pallet-authorship = { workspace = true }215pallet-balances = { features = ["insecure_zero_ed"], workspace = true }216pallet-balances = { features = ["insecure_zero_ed"], workspace = true }246fp-evm = { workspace = true }247fp-evm = { workspace = true }247log = { workspace = true }248log = { workspace = true }248pallet-app-promotion = { workspace = true }249pallet-app-promotion = { workspace = true }250pallet-balances-adapter = { workspace = true }249pallet-collator-selection = { workspace = true }251pallet-collator-selection = { workspace = true }250pallet-common = { workspace = true }252pallet-common = { workspace = true }251pallet-configuration = { workspace = true }253pallet-configuration = { workspace = true }283################################################################################285################################################################################284# Optional dependencies286# Optional dependencies285287288frame-benchmarking = { workspace = true, optional = true }286frame-system-benchmarking = { workspace = true, optional = true }289frame-system-benchmarking = { workspace = true, optional = true }287frame-benchmarking = { workspace = true, optional = true }288frame-try-runtime = { workspace = true, optional = true }290frame-try-runtime = { workspace = true, optional = true }291hex-literal = { workspace = true, optional = true }289serde = { workspace = true, optional = true }292serde = { workspace = true, optional = true }290hex-literal = { workspace = true, optional = true }291293292294293################################################################################295################################################################################runtime/unique/Cargo.tomldiffbeforeafterboth20limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']20limit-testing = ['pallet-unique/limit-testing', 'up-data-structs/limit-testing']21pov-estimate = []21pov-estimate = []22runtime-benchmarks = [22runtime-benchmarks = [23 "pallet-preimage/runtime-benchmarks",23 'frame-benchmarking',24 'frame-benchmarking',24 'frame-support/runtime-benchmarks',25 'frame-support/runtime-benchmarks',25 'frame-system-benchmarking',26 'frame-system-benchmarking',39 'pallet-inflation/runtime-benchmarks',40 'pallet-inflation/runtime-benchmarks',40 'pallet-maintenance/runtime-benchmarks',41 'pallet-maintenance/runtime-benchmarks',41 'pallet-nonfungible/runtime-benchmarks',42 'pallet-nonfungible/runtime-benchmarks',42 "pallet-preimage/runtime-benchmarks",43 'pallet-refungible/runtime-benchmarks',43 'pallet-refungible/runtime-benchmarks',44 'pallet-structure/runtime-benchmarks',44 'pallet-structure/runtime-benchmarks',45 'pallet-timestamp/runtime-benchmarks',45 'pallet-timestamp/runtime-benchmarks',68 # 'pallet-contracts-primitives/std',68 # 'pallet-contracts-primitives/std',69 # 'pallet-contracts-rpc-runtime-api/std',69 # 'pallet-contracts-rpc-runtime-api/std',70 # 'pallet-contract-helpers/std',70 # 'pallet-contract-helpers/std',71 "pallet-preimage/std",72 "pallet-authorship/std",71 "pallet-authorship/std",73 "pallet-identity/std",72 "pallet-identity/std",73 "pallet-preimage/std",74 "pallet-session/std",74 "pallet-session/std",75 "sp-consensus-aura/std",75 "sp-consensus-aura/std",76 'app-promotion-rpc/std',76 'app-promotion-rpc/std',77 'evm-coder/std',77 'evm-coder/std',78 'fp-rpc/std',78 'fp-rpc/std',79 'fp-self-contained/std',79 'fp-self-contained/std',80 'pallet-app-promotion/std',80 'pallet-app-promotion/std',81 'pallet-balances-adapter/std',81 'pallet-base-fee/std',82 'pallet-base-fee/std',82 'pallet-charge-transaction/std',83 'pallet-charge-transaction/std',83 'pallet-collator-selection/std',84 'pallet-collator-selection/std',124 "orml-tokens/std",125 "orml-tokens/std",125 "orml-traits/std",126 "orml-traits/std",126 "orml-vesting/std",127 "orml-vesting/std",128 "orml-xcm-support/std",127 "orml-xtokens/std",129 "orml-xtokens/std",128 "orml-xcm-support/std",129 "pallet-foreign-assets/std",130 "pallet-foreign-assets/std",130 "pallet-maintenance/std",131 "pallet-maintenance/std",131]132]134 "pallet-authorship/try-runtime",135 "pallet-authorship/try-runtime",135 "pallet-collator-selection/try-runtime",136 "pallet-collator-selection/try-runtime",136 "pallet-identity/try-runtime",137 "pallet-identity/try-runtime",138 "pallet-preimage/try-runtime",137 "pallet-session/try-runtime",139 "pallet-session/try-runtime",138 "pallet-preimage/try-runtime",139 'cumulus-pallet-aura-ext/try-runtime',140 'cumulus-pallet-aura-ext/try-runtime',140 'cumulus-pallet-dmp-queue/try-runtime',141 'cumulus-pallet-dmp-queue/try-runtime',141 'cumulus-pallet-parachain-system/try-runtime',142 'cumulus-pallet-parachain-system/try-runtime',207orml-tokens = { workspace = true }208orml-tokens = { workspace = true }208orml-traits = { workspace = true }209orml-traits = { workspace = true }209orml-vesting = { workspace = true }210orml-vesting = { workspace = true }210orml-xtokens = { workspace = true }211orml-xcm-support = { workspace = true }211orml-xcm-support = { workspace = true }212orml-xtokens = { workspace = true }212pallet-aura = { workspace = true }213pallet-aura = { workspace = true }213pallet-authorship = { workspace = true }214pallet-authorship = { workspace = true }214pallet-balances = { features = ["insecure_zero_ed"], workspace = true }215pallet-balances = { features = ["insecure_zero_ed"], workspace = true }244derivative = { workspace = true }245derivative = { workspace = true }245log = { workspace = true }246log = { workspace = true }246pallet-app-promotion = { workspace = true }247pallet-app-promotion = { workspace = true }248pallet-balances-adapter = { workspace = true }247pallet-collator-selection = { workspace = true }249pallet-collator-selection = { workspace = true }248pallet-common = { workspace = true }250pallet-common = { workspace = true }249pallet-configuration = { workspace = true }251pallet-configuration = { workspace = true }282################################################################################284################################################################################283# Optional dependencies285# Optional dependencies284286287frame-benchmarking = { workspace = true, optional = true }285frame-system-benchmarking = { workspace = true, optional = true }288frame-system-benchmarking = { workspace = true, optional = true }286frame-benchmarking = { workspace = true, optional = true }287frame-try-runtime = { workspace = true, optional = true }289frame-try-runtime = { workspace = true, optional = true }290hex-literal = { workspace = true, optional = true }288serde = { workspace = true, optional = true }291serde = { workspace = true, optional = true }289hex-literal = { workspace = true, optional = true }290292291################################################################################293################################################################################292# Test dependencies294# Test dependencies