- RUNTIME_UPGRADE = "proposal_codex::runtime_upgrade"
- BASE_WEIGHT = "base_weight"
- DB_READS = "db_reads"
- DB_WRITES = "db_writes"
- BASE_DB = "base"
- DB_VARS = "vars"
- VARS = "vars"
- WRITE_WEIGHT = 100 * 1_000_000
- READ_WEIGHT = 25 * 1_000_000
- WEIGHT_PER_SECOND = 1_000_000_000_000
- WEIGHT_PER_MILLIS = WEIGHT_PER_SECOND / 1000 # 1_000_000_000
- WEIGHT_PER_MICROS = WEIGHT_PER_MILLIS / 1000 # 1_000_000
- MAX_BLOCK_WEIGHT = 2 * 1_000_000_000_000
- EXTRINSIC_BASE_WEIGHT = 125 * WEIGHT_PER_MICROS
|