Crate subweight_core
source ·Expand description
Parse and compare weight Substrate weight files.
Modules§
- Parses weight files of Substrate chains.
- Provides a scope for evaluating
crate::term::Term
s. - Contains the
Term
which is used to express weight equations.
Macros§
- Multiplies a
Term
with thecrate::scope::STORAGE_READ_VAR
constant. - Multiplies a
Term
with thecrate::scope::STORAGE_WRITE_VAR
constant. - Multiplies a
Term
with thecrate::scope::STORAGE_READ_VAR
constant. - Builds a
Term::Value
from au128
. - Builds a
Term::Value
from au128
. - Multiplies a
Term
with thecrate::scope::STORAGE_WRITE_VAR
constant.
Structs§
- Parameters for modifying the benchmark behaviour.
- Version of the library. Example:
swc 0.2.0+78a04b2
.
Enums§
Constants§
Functions§
- Checks some obvious stuff: