powdr-labs / powdr

A modular stack for zkVMs, with a focus on productivity, security and performance.
Apache License 2.0
416 stars 82 forks source link

[WIP] Mandatory degree #2097

Open georgwiese opened 1 week ago

georgwiese commented 1 week ago

Idea: After machine instantiation the type of the degree changes from MachineDegree (optional min / max) to NamspaceDegree (mandatory min / max).

Requires more changes in the test: in many tests, we rely on a to-be-removed linker feature (if the main degree is static, it is used for all sub-machines). Instead, we should always set the degree range at instantiation time.