mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 20:11:09 +00:00
Remove support for chainHead_storage for light client
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
This commit is contained in:
@@ -509,16 +509,7 @@ pub enum FollowEvent<Hash> {
|
||||
#[serde(rename_all = "camelCase")]
|
||||
pub struct ChainHeadResult<T> {
|
||||
/// Result of the method.
|
||||
#[cfg(not(feature = "unstable-light-client"))]
|
||||
pub result: T,
|
||||
/// Result of the method.
|
||||
///
|
||||
/// # Note
|
||||
///
|
||||
/// `chainHead_body` returns a vector of values, while
|
||||
/// `chainHead_storage` returns just one plain element.
|
||||
#[cfg(feature = "unstable-light-client")]
|
||||
pub value: T,
|
||||
}
|
||||
|
||||
/// The event generated by the body / call / storage methods.
|
||||
|
||||
Reference in New Issue
Block a user