Module frame_system::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
- Block length limit configuration.
- Block weight limits & base values configuration.
- An opinionated builder for
Weightsobject. DispatchClass-specific weight configuration.
Type Definitions
- A result of validating
BlockWeightscorrectness.