mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 17:31:05 +00:00
rpc: add rpc v2 chainSpec to polkadot (#2859)
The [chainSpec RPC API from the v2 spec](https://paritytech.github.io/json-rpc-interface-spec/api/chainSpec.html) was only added to substrate-node and should be added to polkadot as well /cc @lexnv
This commit is contained in:
@@ -148,7 +148,7 @@ where
|
||||
// The block is imported as part of some chain sync.
|
||||
// The voter doesn't need to process it now.
|
||||
// It will be detected and processed as part of the voter state init.
|
||||
return Ok(inner_import_result);
|
||||
return Ok(inner_import_result)
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -398,7 +398,7 @@ where
|
||||
header =
|
||||
wait_for_parent_header(backend.blockchain(), header, HEADER_SYNC_DELAY).await?;
|
||||
}
|
||||
return Ok(state);
|
||||
return Ok(state)
|
||||
}
|
||||
|
||||
// No valid voter-state persisted, re-initialize from pallet genesis.
|
||||
|
||||
Reference in New Issue
Block a user