Skip to content
Snippets Groups Projects
Commit 5232e8ad authored by thiolliere's avatar thiolliere Committed by GitHub
Browse files

allow to write pre and post runtime upgrade in pallet macro (#8194)

parent f0c36564
No related merge requests found
Showing
with 55 additions and 0 deletions
......@@ -51,3 +51,4 @@ std = [
'frame-support/std',
'frame-system/std'
]
try-runtime = ["frame-support/try-runtime"]
......@@ -154,6 +154,7 @@ std = [
"pallet-society/std",
"pallet-recovery/std",
"pallet-vesting/std",
"frame-try-runtime/std",
]
runtime-benchmarks = [
"frame-benchmarking",
......@@ -193,4 +194,39 @@ runtime-benchmarks = [
try-runtime = [
"frame-executive/try-runtime",
"frame-try-runtime",
"frame-system/try-runtime",
"pallet-assets/try-runtime",
"pallet-authority-discovery/try-runtime",
"pallet-authorship/try-runtime",
"pallet-babe/try-runtime",
"pallet-balances/try-runtime",
"pallet-bounties/try-runtime",
"pallet-collective/try-runtime",
"pallet-contracts/try-runtime",
"pallet-democracy/try-runtime",
"pallet-elections-phragmen/try-runtime",
"pallet-grandpa/try-runtime",
"pallet-im-online/try-runtime",
"pallet-indices/try-runtime",
"pallet-lottery/try-runtime",
"pallet-membership/try-runtime",
"pallet-mmr/try-runtime",
"pallet-multisig/try-runtime",
"pallet-identity/try-runtime",
"pallet-scheduler/try-runtime",
"pallet-offences/try-runtime",
"pallet-proxy/try-runtime",
"pallet-randomness-collective-flip/try-runtime",
"pallet-session/try-runtime",
"pallet-staking/try-runtime",
"pallet-sudo/try-runtime",
"pallet-election-provider-multi-phase/try-runtime",
"pallet-timestamp/try-runtime",
"pallet-tips/try-runtime",
"pallet-transaction-payment/try-runtime",
"pallet-treasury/try-runtime",
"pallet-utility/try-runtime",
"pallet-society/try-runtime",
"pallet-recovery/try-runtime",
"pallet-vesting/try-runtime",
]
......@@ -46,3 +46,4 @@ runtime-benchmarks = [
"sp-runtime/runtime-benchmarks",
"frame-system/runtime-benchmarks",
]
try-runtime = ["frame-support/try-runtime"]
......@@ -37,3 +37,4 @@ std = [
"sp-io/std",
"sp-core/std",
]
try-runtime = ["frame-support/try-runtime"]
......@@ -45,3 +45,4 @@ std = [
"sp-timestamp/std",
"pallet-timestamp/std",
]
try-runtime = ["frame-support/try-runtime"]
......@@ -41,3 +41,4 @@ std = [
"frame-support/std",
"frame-system/std",
]
try-runtime = ["frame-support/try-runtime"]
......@@ -38,3 +38,4 @@ std = [
"frame-system/std",
"sp-authorship/std",
]
try-runtime = ["frame-support/try-runtime"]
......@@ -61,3 +61,4 @@ std = [
"sp-timestamp/std",
]
runtime-benchmarks = ["frame-benchmarking"]
try-runtime = ["frame-support/try-runtime"]
......@@ -38,3 +38,4 @@ std = [
"frame-system/std",
]
runtime-benchmarks = ["frame-benchmarking"]
try-runtime = ["frame-support/try-runtime"]
......@@ -45,3 +45,4 @@ runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
]
try-runtime = ["frame-support/try-runtime"]
......@@ -44,3 +44,4 @@ runtime-benchmarks = [
"sp-runtime/runtime-benchmarks",
"frame-system/runtime-benchmarks",
]
try-runtime = ["frame-support/try-runtime"]
......@@ -69,3 +69,4 @@ runtime-benchmarks = [
"rand",
"rand_pcg",
]
try-runtime = ["frame-support/try-runtime"]
......@@ -48,3 +48,4 @@ runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
]
try-runtime = ["frame-support/try-runtime"]
......@@ -64,3 +64,4 @@ runtime-benchmarks = [
"frame-benchmarking",
"rand",
]
try-runtime = ["frame-support/try-runtime"]
......@@ -45,3 +45,4 @@ runtime-benchmarks = [
"frame-support/runtime-benchmarks",
"frame-system/runtime-benchmarks",
]
try-runtime = ["frame-support/try-runtime"]
......@@ -38,3 +38,4 @@ std = [
"sp-runtime/std",
"frame-system/std",
]
try-runtime = ["frame-support/try-runtime"]
......@@ -38,3 +38,4 @@ std = [
"sp-runtime/std",
"sp-std/std",
]
try-runtime = ["frame-support/try-runtime"]
......@@ -36,3 +36,4 @@ std = [
"sp-std/std",
"sp-tasks/std",
]
try-runtime = ["frame-support/try-runtime"]
......@@ -59,3 +59,4 @@ std = [
"pallet-session/std",
]
runtime-benchmarks = ["frame-benchmarking"]
try-runtime = ["frame-support/try-runtime"]
......@@ -40,3 +40,4 @@ std = [
"frame-system/std",
]
runtime-benchmarks = ["frame-benchmarking"]
try-runtime = ["frame-support/try-runtime"]
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment