Skip to content

Commit

Permalink
chainSpec/api: Remove unstable documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandru Vasile <[email protected]>
  • Loading branch information
lexnv committed Aug 28, 2023
1 parent fd6509b commit 220d3d0
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions substrate/client/rpc-spec-v2/src/chain_spec/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,10 @@ use sc_chain_spec::Properties;
#[rpc(client, server)]
pub trait ChainSpecApi {
/// Get the chain name, as present in the chain specification.
///
/// # Unstable
///
/// This method is unstable and subject to change in the future.
#[method(name = "chainSpec_v1_chainName")]
fn chain_spec_v1_chain_name(&self) -> RpcResult<String>;

/// Get the chain's genesis hash.
///
/// # Unstable
///
/// This method is unstable and subject to change in the future.
#[method(name = "chainSpec_v1_genesisHash")]
fn chain_spec_v1_genesis_hash(&self) -> RpcResult<String>;

Expand All @@ -44,10 +36,6 @@ pub trait ChainSpecApi {
/// # Note
///
/// The json whitespaces are not guaranteed to persist.
///
/// # Unstable
///
/// This method is unstable and subject to change in the future.
#[method(name = "chainSpec_v1_properties")]
fn chain_spec_v1_properties(&self) -> RpcResult<Properties>;
}

0 comments on commit 220d3d0

Please sign in to comment.