diff --git a/Cargo.lock b/Cargo.lock index 73d3bf2c5..3a2628e56 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4834,7 +4834,7 @@ dependencies = [ [[package]] name = "hyperbridge" -version = "0.1.3" +version = "0.1.4" dependencies = [ "clap", "cumulus-client-cli", @@ -5263,7 +5263,7 @@ dependencies = [ [[package]] name = "ismp-demo" version = "0.1.0" -source = "git+https://github.com/polytope-labs/substrate-ismp.git?branch=main#66f4a78edbe91eee2879dc74048bf1278452ee87" +source = "git+https://github.com/polytope-labs/substrate-ismp.git?branch=main#2450eecec705a7dfdfe382ea6afdb0c4ef7f57c2" dependencies = [ "frame-support", "frame-system", @@ -5303,7 +5303,7 @@ dependencies = [ [[package]] name = "ismp-primitives" version = "0.1.0" -source = "git+https://github.com/polytope-labs/substrate-ismp.git?branch=main#66f4a78edbe91eee2879dc74048bf1278452ee87" +source = "git+https://github.com/polytope-labs/substrate-ismp.git?branch=main#2450eecec705a7dfdfe382ea6afdb0c4ef7f57c2" dependencies = [ "ckb-merkle-mountain-range", "frame-support", @@ -5322,7 +5322,7 @@ dependencies = [ [[package]] name = "ismp-rpc" version = "0.1.0" -source = "git+https://github.com/polytope-labs/substrate-ismp.git?branch=main#66f4a78edbe91eee2879dc74048bf1278452ee87" +source = "git+https://github.com/polytope-labs/substrate-ismp.git?branch=main#2450eecec705a7dfdfe382ea6afdb0c4ef7f57c2" dependencies = [ "frame-system", "hex-literal 0.3.4", @@ -5344,7 +5344,7 @@ dependencies = [ [[package]] name = "ismp-runtime-api" version = "0.1.0" -source = "git+https://github.com/polytope-labs/substrate-ismp.git?branch=main#66f4a78edbe91eee2879dc74048bf1278452ee87" +source = "git+https://github.com/polytope-labs/substrate-ismp.git?branch=main#2450eecec705a7dfdfe382ea6afdb0c4ef7f57c2" dependencies = [ "ismp", "ismp-primitives", @@ -7554,7 +7554,7 @@ dependencies = [ [[package]] name = "pallet-ismp" version = "0.1.0" -source = "git+https://github.com/polytope-labs/substrate-ismp.git?branch=main#66f4a78edbe91eee2879dc74048bf1278452ee87" +source = "git+https://github.com/polytope-labs/substrate-ismp.git?branch=main#2450eecec705a7dfdfe382ea6afdb0c4ef7f57c2" dependencies = [ "ckb-merkle-mountain-range", "derive_more", diff --git a/parachain/node/Cargo.toml b/parachain/node/Cargo.toml index 258c6ab7e..0fda35f20 100644 --- a/parachain/node/Cargo.toml +++ b/parachain/node/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hyperbridge" -version = "0.1.3" +version = "0.1.4" authors = ["Polytope Labs "] description = "The Hyperbridge parachain node" edition = "2021" diff --git a/parachain/runtime/src/lib.rs b/parachain/runtime/src/lib.rs index ed69a0701..0b67b8343 100644 --- a/parachain/runtime/src/lib.rs +++ b/parachain/runtime/src/lib.rs @@ -193,7 +193,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("hyperbridge"), impl_name: create_runtime_str!("hyperbridge"), authoring_version: 1, - spec_version: 102, + spec_version: 103, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -725,6 +725,11 @@ impl_runtime_apis! { Ismp::get_latest_state_machine_height(id) } + /// Return the latest height of the state machine at which we've processed requests + fn latest_messaging_height(id: StateMachineId) -> Option { + Ismp::latest_messaging_heights(id) + } + /// Get Request Leaf Indices fn get_request_leaf_indices(leaf_queries: Vec) -> Vec { Ismp::get_request_leaf_indices(leaf_queries)