Type Alias BlockWeightMode
BlockWeightMode: StorageDescriptor<
[],
Enum<
{
FractionOfCore: { context: number; first_transaction_index?: number };
FullCore: { context: number };
PotentialFullCore: {
context: number;
first_transaction_index?: number;
target_weight: { proof_size: bigint; ref_time: bigint };
};
},
>,
true,
never,
>
The current block weight mode.
This is used to determine what is the maximum allowed block weight, for more information see [
block_weight].Killed in [
Self::on_initialize] and set by the [block_weight] logic.