referrerpolicy=no-referrer-when-downgrade
bridge_hub_westend_runtime

Type Alias BridgeRococoGrandpaConfig

Source
pub type BridgeRococoGrandpaConfig = GenesisConfig<Runtime, Instance1>;

Aliased Type§

struct BridgeRococoGrandpaConfig {
    pub owner: Option<AccountId32>,
    pub init_data: Option<InitializationData<Header<u32, BlakeTwo256>>>,
}

Fields§

§owner: Option<AccountId32>

Optional module owner account.

§init_data: Option<InitializationData<Header<u32, BlakeTwo256>>>

Optional module initialization data.

Trait Implementations

Source§

impl<T, I> BuildGenesisConfig for GenesisConfig<T, I>
where T: Config<I>, I: 'static,

Source§

fn build(&self)

The build function puts initial GenesisConfig keys/values pairs into the storage.
Source§

impl<T, I> BuildStorage for GenesisConfig<T, I>
where T: Config<I>, I: 'static,

Source§

fn assimilate_storage(&self, storage: &mut Storage) -> Result<(), String>

Assimilate the storage for this module into pre-existing overlays.
Source§

fn build_storage(&self) -> Result<Storage, String>

Build the storage out of this builder.
Source§

impl<T, I> Default for GenesisConfig<T, I>
where T: Config<I>, I: 'static,

Source§

fn default() -> GenesisConfig<T, I>

Returns the “default value” for a type. Read more
Source§

impl<'de, T, I> Deserialize<'de> for GenesisConfig<T, I>
where T: Config<I>, I: 'static,

Source§

fn deserialize<__D>( __deserializer: __D, ) -> Result<GenesisConfig<T, I>, <__D as Deserializer<'de>>::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl<T, I> Serialize for GenesisConfig<T, I>
where T: Config<I>, I: 'static,

Source§

fn serialize<__S>( &self, __serializer: __S, ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more