pub trait ConfigStorage {
    // Required method
    fn fetch_config(&self, access_path: AccessPath) -> Option<Vec<u8>>;
}
Expand description

Trait to be implemented by a storage type from which to read on-chain configs

Required Methods§

source

fn fetch_config(&self, access_path: AccessPath) -> Option<Vec<u8>>

Implementors§

impl<'a, S: StateView> ConfigStorage for RemoteStorage<'a, S>

impl<'block> ConfigStorage for StateViewCache<'block>