pub fn with_state<T: ChainInfo, R>(
client: Arc<FullClientFor<T>>,
id: Option<<T::Block as BlockT>::Hash>,
closure: impl FnOnce() -> R,
) -> RExpand description
Runs the given closure in an externalities provided environment, over the blockchain state