Trait pallet_ethereum::pallet::DefaultConfig

source ·
pub trait DefaultConfig: DefaultConfig {
    type RuntimeEvent;
    type StateRoot: Get<H256>;
    type PostLogContent: Get<PostLogContent>;
    type ExtraDataLength: Get<u32>;
}
Expand description

Based on Config. Auto-generated by #[pallet::config(with_default)]. Can be used in tandem with #[register_default_config] and #[derive_impl] to derive test config traits based on existing pallet config traits in a safe and developer-friendly way.

See here for more information and caveats about the auto-generated DefaultConfig trait and how it is generated.

Required Associated Types§

source

type RuntimeEvent

The overarching event type.

source

type StateRoot: Get<H256>

How Ethereum state root is calculated.

source

type PostLogContent: Get<PostLogContent>

What’s included in the PostLog.

source

type ExtraDataLength: Get<u32>

The maximum length of the extra data in the Executed event.

Implementors§