Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ab/add more genesis specs #1670

Merged
merged 2 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2557,7 +2557,7 @@ dependencies = [

[[package]]
name = "integritee-cli"
version = "0.15.6"
version = "0.15.7"
dependencies = [
"array-bytes 6.1.0",
"base58",
Expand Down Expand Up @@ -2610,7 +2610,7 @@ dependencies = [

[[package]]
name = "integritee-service"
version = "0.15.6"
version = "0.15.7"
dependencies = [
"anyhow",
"async-trait",
Expand Down
10 changes: 10 additions & 0 deletions app-libs/parentchain-specs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@ const INTEGRITEE_PASEO_GENESIS_HASH_HEX: &str =
"1b69c462cd7dfea0e855c2008b66490cc8bbe90bc80b297ec0896a1c0941ce15";
const INTEGRITEE_KUSAMA_GENESIS_HASH_HEX: &str =
"cdedc8eadbfa209d3f207bba541e57c3c58a667b05a2e1d1e86353c9000758da";
const KUSAMA_RELAY_GENESIS_HASH_HEX: &str =
"b0a8d493285c2df73290dfb7e61f870f17b41801197a149ca93654499ea3dafe";
const ASSET_HUB_KUSAMA_GENESIS_HASH_HEX: &str =
"48239ef607d7928874027a43a67689209727dfb3d3dc5e5b03a39bdc2eda771a";
const POLKADOT_RELAY_GENESIS_HASH_HEX: &str =
"91b171bb158e2d3848fa23a9f1c25182fb8e20313b2c1eb49219da7a70ce90c3";
const ASSET_HUB_POLKADOT_GENESIS_HASH_HEX: &str =
"68d56f15f85d3136970ec16946040bc1752654e906147f7e43e9d539d7c3de2f";

/// modify this for testing if necessary
const LOCAL_TEST_GENESIS_HASH_HEX: &str =
Expand All @@ -39,6 +47,8 @@ impl MinimalChainSpec {
let genesis_hash_hex = hex::encode(genesis_hash);
match genesis_hash_hex.as_ref() {
PASEO_RELAY_GENESIS_HASH_HEX => 10,
POLKADOT_RELAY_GENESIS_HASH_HEX | ASSET_HUB_POLKADOT_GENESIS_HASH_HEX => 10,
KUSAMA_RELAY_GENESIS_HASH_HEX | ASSET_HUB_KUSAMA_GENESIS_HASH_HEX => 12,
INTEGRITEE_PASEO_GENESIS_HASH_HEX | INTEGRITEE_KUSAMA_GENESIS_HASH_HEX => 12,
LOCAL_TEST_GENESIS_HASH_HEX => 10,
_ => {
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "integritee-cli"
version = "0.15.6"
version = "0.15.7"
authors = ["Integritee AG <[email protected]>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion enclave-runtime/Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ dependencies = [

[[package]]
name = "enclave-runtime"
version = "0.15.6"
version = "0.15.7"
dependencies = [
"array-bytes 6.2.2",
"cid",
Expand Down
2 changes: 1 addition & 1 deletion enclave-runtime/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "enclave-runtime"
version = "0.15.6"
version = "0.15.7"
authors = ["Integritee AG <[email protected]>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "integritee-service"
version = "0.15.6"
version = "0.15.7"
authors = ["Integritee AG <[email protected]>"]
build = "build.rs"
edition = "2021"
Expand Down
Loading