protocol.stark_info#
STARK configuration parser.
This module provides two key configuration classes:
- StarkStruct (from starkstruct.json):
Protocol-level parameters that define the STARK proof system structure. Includes: domain sizes (n_bits, n_bits_ext), FRI configuration (fold steps, blowup factor), Merkle tree parameters (arity, last_level_verification), and security parameters (n_queries, pow_bits).
- StarkInfo (from starkinfo.json):
AIR-specific metadata that defines the constraint system and polynomial layout. Includes: polynomial maps (cm_pols_map, const_pols_map), evaluation map (ev_map), challenge derivation (challenges_map), and memory layout (map_sections_n).
The distinction: StarkStruct is reusable across AIRs with the same domain size, while StarkInfo is specific to each AIR’s constraint polynomial structure.
Attributes#
Classes#
FRI recursive folding layer configuration. |
|
Core STARK protocol parameters. |
|
STARK configuration loaded from starkinfo.json. |
Module Contents#
- class protocol.stark_info.StarkStruct[source]#
Core STARK protocol parameters.
- fri_fold_steps: list[FriFoldStep] = [][source]#
- class protocol.stark_info.StarkInfo[source]#
STARK configuration loaded from starkinfo.json.
- custom_commits: list[primitives.pol_map.CustomCommits] = [][source]#
- cm_pols_map: list[primitives.pol_map.PolMap] = [][source]#
- const_pols_map: list[primitives.pol_map.PolMap] = [][source]#
- challenges_map: list[primitives.pol_map.ChallengeMap] = [][source]#
- airgroup_values_map: list[primitives.pol_map.PolMap] = [][source]#
- air_values_map: list[primitives.pol_map.PolMap] = [][source]#
- custom_commits_map: list[list[primitives.pol_map.PolMap]] = [][source]#
- ev_map: list[primitives.pol_map.EvMap] = [][source]#
- boundaries: list[primitives.pol_map.Boundary] = [][source]#