Refactoring Checkpoint: (WIP)
This commit is contained in:
@@ -57,7 +57,7 @@ libsecp256k1 = { workspace = true }
|
||||
pezkuwi-primitives = { workspace = true }
|
||||
pezkuwi-runtime-teyrchains = { workspace = true }
|
||||
|
||||
slot-range-helper = { workspace = true }
|
||||
pez-slot-range-helper = { workspace = true }
|
||||
xcm = { workspace = true }
|
||||
xcm-builder = { workspace = true }
|
||||
xcm-executor = { optional = true, workspace = true }
|
||||
@@ -105,7 +105,7 @@ std = [
|
||||
"rustc-hex/std",
|
||||
"scale-info/std",
|
||||
"serde/std",
|
||||
"slot-range-helper/std",
|
||||
"pez-slot-range-helper/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-inherents/std",
|
||||
@@ -143,7 +143,7 @@ runtime-benchmarks = [
|
||||
"pezkuwi-primitives-test-helpers/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezkuwi-runtime-teyrchains/runtime-benchmarks",
|
||||
"slot-range-helper/runtime-benchmarks",
|
||||
"pez-slot-range-helper/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-inherents/runtime-benchmarks",
|
||||
"pezsp-io/runtime-benchmarks",
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "slot-range-helper"
|
||||
name = "pez-slot-range-helper"
|
||||
version = "7.0.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
@@ -7,7 +7,7 @@ license.workspace = true
|
||||
description = "Helper crate for generating slot ranges for the Pezkuwi runtime."
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
documentation = "https://docs.rs/slot-range-helper"
|
||||
documentation = "https://docs.rs/pez-slot-range-helper"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
+1
-1
@@ -29,7 +29,7 @@ pub use pezsp_runtime::traits::CheckedSub;
|
||||
///
|
||||
/// Usage:
|
||||
/// ```
|
||||
/// slot_range_helper::generate_slot_range!(Zero(0), One(1), Two(2), Three(3));
|
||||
/// pez_slot_range_helper::generate_slot_range!(Zero(0), One(1), Two(2), Three(3));
|
||||
/// ```
|
||||
///
|
||||
/// To extend the usage, continue to add `Identifier(value)` items to the macro.
|
||||
@@ -151,19 +151,19 @@ pub fn bob() -> AccountId {
|
||||
}
|
||||
|
||||
pub fn alice_signature() -> [u8; 64] {
|
||||
// echo -n "Hello, World" | subkey -s sign "bottom drive obey lake curtain smoke basket hold
|
||||
// echo -n "Hello, World" | pez_subkey -s sign "bottom drive obey lake curtain smoke basket hold
|
||||
// race lonely fit walk//Alice"
|
||||
hex_literal::hex!("20e0faffdf4dfe939f2faa560f73b1d01cde8472e2b690b7b40606a374244c3a2e9eb9c8107c10b605138374003af8819bd4387d7c24a66ee9253c2e688ab881")
|
||||
}
|
||||
|
||||
pub fn bob_signature() -> [u8; 64] {
|
||||
// echo -n "Hello, World" | subkey -s sign "bottom drive obey lake curtain smoke basket hold
|
||||
// echo -n "Hello, World" | pez_subkey -s sign "bottom drive obey lake curtain smoke basket hold
|
||||
// race lonely fit walk//Bob"
|
||||
hex_literal::hex!("d6d460187ecf530f3ec2d6e3ac91b9d083c8fbd8f1112d92a82e4d84df552d18d338e6da8944eba6e84afaacf8a9850f54e7b53a84530d649be2e0119c7ce889")
|
||||
}
|
||||
|
||||
pub fn alice_signature_ed25519() -> [u8; 64] {
|
||||
// echo -n "Hello, World" | subkey -e sign "bottom drive obey lake curtain smoke basket hold
|
||||
// echo -n "Hello, World" | pez_subkey -e sign "bottom drive obey lake curtain smoke basket hold
|
||||
// race lonely fit walk//Alice"
|
||||
hex_literal::hex!("ee3f5a6cbfc12a8f00c18b811dc921b550ddf272354cda4b9a57b1d06213fcd8509f5af18425d39a279d13622f14806c3e978e2163981f2ec1c06e9628460b0e")
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
//! The `SlotRange` struct which succinctly handles the 36 values that
|
||||
//! represent all sub ranges between 0 and 7 inclusive.
|
||||
|
||||
slot_range_helper::generate_slot_range!(
|
||||
pez_slot_range_helper::generate_slot_range!(
|
||||
Zero(0),
|
||||
One(1),
|
||||
Two(2),
|
||||
|
||||
Reference in New Issue
Block a user