Skip to content

Commit

Permalink
bump ismp-substrate (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege authored Oct 4, 2023
1 parent ca421bc commit 2dc6b21
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion parachain/node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "hyperbridge"
version = "0.1.3"
version = "0.1.4"
authors = ["Polytope Labs <[email protected]>"]
description = "The Hyperbridge parachain node"
edition = "2021"
Expand Down
7 changes: 6 additions & 1 deletion parachain/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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<u64> {
Ismp::latest_messaging_heights(id)
}

/// Get Request Leaf Indices
fn get_request_leaf_indices(leaf_queries: Vec<LeafIndexQuery>) -> Vec<LeafIndex> {
Ismp::get_request_leaf_indices(leaf_queries)
Expand Down

0 comments on commit 2dc6b21

Please sign in to comment.