snapshot before rebranding

This commit is contained in:
2025-12-14 07:37:21 +03:00
parent 5520d491a5
commit 09735eb97a
1752 changed files with 58116 additions and 15986 deletions
+45 -44
View File
@@ -8,6 +8,7 @@ homepage.workspace = true
repository.workspace = true
description = "FRAME pallet staking"
readme = "README.md"
documentation = "https://docs.rs/pezpallet-staking"
[lints]
workspace = true
@@ -38,7 +39,7 @@ rand_chacha = { optional = true, workspace = true }
pezframe-benchmarking = { workspace = true, default-features = true }
pezframe-election-provider-support = { workspace = true, default-features = true }
pezframe-support = { features = [
"experimental",
"experimental",
], workspace = true, default-features = true }
pezpallet-bags-list = { workspace = true, default-features = true }
pezpallet-balances = { workspace = true, default-features = true }
@@ -53,51 +54,51 @@ bizinikiwi-test-utils = { workspace = true }
[features]
default = ["std"]
std = [
"codec/std",
"pezframe-benchmarking?/std",
"pezframe-election-provider-support/std",
"pezframe-support/std",
"pezframe-system/std",
"log/std",
"pezpallet-authorship/std",
"pezpallet-bags-list/std",
"pezpallet-balances/std",
"pezpallet-session/std",
"pezpallet-timestamp/std",
"scale-info/std",
"serde/std",
"pezsp-application-crypto/std",
"pezsp-io/std",
"pezsp-npos-elections/std",
"pezsp-runtime/std",
"pezsp-staking/std",
"pezsp-tracing/std",
"codec/std",
"pezframe-benchmarking?/std",
"pezframe-election-provider-support/std",
"pezframe-support/std",
"pezframe-system/std",
"log/std",
"pezpallet-authorship/std",
"pezpallet-bags-list/std",
"pezpallet-balances/std",
"pezpallet-session/std",
"pezpallet-timestamp/std",
"scale-info/std",
"serde/std",
"pezsp-application-crypto/std",
"pezsp-io/std",
"pezsp-npos-elections/std",
"pezsp-runtime/std",
"pezsp-staking/std",
"pezsp-tracing/std",
]
runtime-benchmarks = [
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-authorship/runtime-benchmarks",
"pezpallet-bags-list/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-session/runtime-benchmarks",
"pezpallet-staking-reward-curve/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
"rand_chacha",
"pezsp-io/runtime-benchmarks",
"pezsp-npos-elections/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-authorship/runtime-benchmarks",
"pezpallet-bags-list/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-session/runtime-benchmarks",
"pezpallet-staking-reward-curve/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
"rand_chacha",
"pezsp-io/runtime-benchmarks",
"pezsp-npos-elections/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
]
try-runtime = [
"pezframe-election-provider-support/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezpallet-authorship/try-runtime",
"pezpallet-bags-list/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-timestamp/try-runtime",
"pezsp-runtime/try-runtime",
"pezframe-election-provider-support/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezpallet-authorship/try-runtime",
"pezpallet-bags-list/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-timestamp/try-runtime",
"pezsp-runtime/try-runtime",
]
@@ -7,6 +7,7 @@ license = "Apache-2.0"
homepage.workspace = true
repository.workspace = true
description = "Reward Curve for FRAME staking pallet"
documentation = "https://docs.rs/pezpallet-staking-reward-curve"
[lints]
workspace = true
@@ -79,7 +79,7 @@ pub fn build(input: TokenStream) -> TokenStream {
let declaration = generate_piecewise_linear(points);
let test_module = generate_test_module(&input);
let imports = match crate_name("sp-runtime") {
let imports = match crate_name("pezsp-runtime") {
Ok(FoundCrate::Itself) => quote!(
#[doc(hidden)]
pub use pezsp_runtime as _sp_runtime;
@@ -7,6 +7,7 @@ license = "Apache-2.0"
homepage.workspace = true
repository.workspace = true
description = "Reward function for FRAME staking pallet"
documentation = "https://docs.rs/pezpallet-staking-reward-fn"
[lints]
workspace = true
@@ -8,6 +8,7 @@ homepage.workspace = true
repository.workspace = true
description = "RPC runtime API for transaction payment FRAME pallet"
readme = "README.md"
documentation = "https://docs.rs/pezpallet-staking-runtime-api"
[lints]
workspace = true
@@ -24,6 +25,6 @@ pezsp-staking = { workspace = true }
default = ["std"]
std = ["codec/std", "pezsp-api/std", "pezsp-staking/std"]
runtime-benchmarks = [
"pezsp-api/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
]