mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 05:47:58 +00:00
ChainSpec trait (#5185)
* ChainSpec trait * Apply suggestions from code review Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Added docs * Fixed build * Fixed build Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -101,7 +101,7 @@ use crate::traits::IdentifyAccount;
|
||||
|
||||
/// Complex storage builder stuff.
|
||||
#[cfg(feature = "std")]
|
||||
pub trait BuildStorage: Sized {
|
||||
pub trait BuildStorage {
|
||||
/// Build the storage out of this builder.
|
||||
fn build_storage(&self) -> Result<sp_core::storage::Storage, String> {
|
||||
let mut storage = Default::default();
|
||||
|
||||
Reference in New Issue
Block a user