Module limits

Source
Expand description

Block resource limits configuration structures.

FRAME defines two resources that are limited within a block:

  • Weight (execution cost/time)
  • Length (block size)

frame_system tracks consumption of each of these resources separately for each DispatchClass. This module contains configuration object for both resources, which should be passed to frame_system configuration when runtime is being set up.

Structs§

BlockLength
Block length limit configuration.
BlockWeights
Block weight limits & base values configuration.
BlockWeightsBuilder
An opinionated builder for Weights object.
ValidationErrors
WeightsPerClass
DispatchClass-specific weight configuration.

Type Aliases§

ValidationResult
A result of validating BlockWeights correctness.