pub trait ExtensionsFactory<Block: BlockT>: Send + Sync {
    fn extensions_for(
        &self,
        block_hash: Block::Hash,
        block_number: NumberFor<Block>,
        capabilities: Capabilities
    ) -> Extensions; }
Expand description

Generate the starting set of Extensions.

These Extensions are passed to the environment a runtime is executed in.

Required Methods§

Create Extensions for the given input.

  • block_hash: The hash of the block in the context that extensions will be used.
  • block_number: The number of the block in the context that extensions will be used.
  • capabilities: The capabilities

Implementations on Foreign Types§

Implementors§