Function sc_service::chain_ops::export_raw_state
source · [−]pub fn export_raw_state<B, BA, C>(
client: Arc<C>,
block: Option<BlockId<B>>
) -> Result<Storage, Error> where
C: UsageProvider<B> + StorageProvider<B, BA>,
B: BlockT,
BA: Backend<B>,
Expand description
Export the raw state at the given block
. If block
is None
, the
best block will be used.