referrerpolicy=no-referrer-when-downgrade
glutton_westend_runtime

Type Alias GluttonConfig

Source
pub type GluttonConfig = GenesisConfig<Runtime>;

Aliased Type§

struct GluttonConfig {
    pub compute: FixedU64,
    pub storage: FixedU64,
    pub trash_data_count: u32,
    pub block_length: FixedU64,
    pub _config: PhantomData<Runtime>,
}

Fields§

§compute: FixedU64

The compute limit.

§storage: FixedU64

The storage limit.

§trash_data_count: u32

The amount of trash data for wasting proof size.

§block_length: FixedU64

The block length limit.

§_config: PhantomData<Runtime>

The required configuration field.

Trait Implementations

Source§

impl<T> BuildGenesisConfig for GenesisConfig<T>
where T: Config,

Source§

fn build(&self)

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

impl<T> BuildStorage for GenesisConfig<T>
where T: Config,

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> Default for GenesisConfig<T>
where T: Config,

Source§

fn default() -> GenesisConfig<T>

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

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

Source§

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

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

impl<T> Serialize for GenesisConfig<T>
where T: Config,

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