0xPolygonZero / zk_evm

Apache License 2.0
80 stars 35 forks source link

Hide associated types and remove `types` module in `proof_gen` #649

Closed Nashtare closed 6 days ago

Nashtare commented 6 days ago

The types module of proof_gen was doing a bunch of re-exports that could be done directly at evm_arithmetization root level. This is also a first step towards getting rid entirely of this crate.

This also hides away all the prover specific associated types (Field / Config / DEGREE). These public types haven't been put into the common crate because of circular dependency with evm_arithmetization, so instead placed in a public_types module in the latter.

Doesn't fully address #531 though, so not closing for now.