chainHead: Remove chainHead_genesis method (#2296)

The method has been removed from the spec
(https://github.com/paritytech/json-rpc-interface-spec/tree/main/src),
this PR keeps the `chainHead` in sync with that change.

@paritytech/subxt-team

---------

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
Alexandru Vasile
2023-11-14 16:54:54 +02:00
committed by GitHub
parent cfe5e62626
commit cd38ccff7f
4 changed files with 2 additions and 62 deletions
@@ -74,14 +74,6 @@ pub trait ChainHeadApi<Hash> {
hash: Hash,
) -> RpcResult<Option<String>>;
/// Get the chain's genesis hash.
///
/// # Unstable
///
/// This method is unstable and subject to change in the future.
#[method(name = "chainHead_unstable_genesisHash", blocking)]
fn chain_head_unstable_genesis_hash(&self) -> RpcResult<String>;
/// Returns storage entries at a specific block's state.
///
/// # Unstable