Crates.io | ismp-parachain-runtime-api |
lib.rs | ismp-parachain-runtime-api |
version | |
source | src |
created_at | 2024-05-02 14:08:52.112092+00 |
updated_at | 2025-02-03 19:16:05.085875+00 |
description | Substrate runtime API for the ISMP Parachain consensus client |
homepage | https://docs.hyperbridge.network/developers/polkadot/getting-started |
repository | https://github.com/polytope-labs/hyperbridge |
max_upload_size | |
id | 1227780 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
This exports the runtime API definitions required by client subsystems like the inherents provider.
The required methods are already implemented in ismp_parachain::Pallet<T>
impl_runtime_apis! {
impl ismp_parachain_runtime_api::IsmpParachainApi<Block> for Runtime {
fn para_ids() -> Vec<u32> {
ismp_parachain::Pallet::<Runtime>::para_ids()
}
fn current_relay_chain_state() -> RelayChainState {
ismp_parachain::Pallet::<Runtime>::current_relay_chain_state()
}
}
}
This library is licensed under the Apache 2.0 License, Copyright (c) 2025 Polytope Labs.