@@ -239,11 +239,13 @@ Since these constraint capabilities are missing, the Mina rust nodes require
239239externally generated circuit data. The following process describes how circuits
240240are created and distributed using the original Mina codebase:
241241
242- <!-- TODO:
243- Update this when new mina release happens that contains code to export circuits
244- And when command to export circuits is added
245- And CI is updated to check for latest circuits
246- -->
242+ :::warning Work in Progress
243+
244+ This should be updated when new mina release happens that contains code to
245+ export circuits, and when command to export circuits is added, and CI is updated
246+ to check for latest circuits
247+
248+ :::
247249
2482501 . Build mina <b >OCaml</b > node from source with commit after
249251 [ ` 6961849 ` ] ( https://github.com/MinaProtocol/mina/commit/6961849f17d564c39e7d45e01e3ddda9a09602a4 )
@@ -252,15 +254,29 @@ are created and distributed using the original Mina codebase:
252254 - Launch the OCaml node which produces circuit cache data in
253255 ` /tmp/coda_cache_dir `
254256 - The branch dumps the usual circuit data plus extra data specifically
255- required by the Mina rust nodes
256- - The process also dumps blocks for use in tests
257+ required by the Mina rust nodes, see
258+ [ Circuit somponents] ( #circuit-components )
259+ - The process also dumps blocks for use in tests, see
260+ [ Testing strategy] ( #testing-strategy )
257261 - Integration with mainline Mina would streamline future circuit generation
258262
2592633 . The generated circuit blobs are then:
260264 - Committed to the dedicated repository:
261265 https://github.com/o1-labs/circuit-blobs
262266 - Released as GitHub releases for versioning and distribution
263267
268+ ### Circuit Components
269+
270+ Each circuit consists of multiple components that are loaded and cached
271+ independently:
272+
273+ - ** Gates** : Circuit constraint definitions in JSON format (` *_gates.json ` )
274+ - ** Internal Variables** : Constraint variable mappings in binary format
275+ (` *_internal_vars.bin ` )
276+ - ** Rows Reverse** : Row-wise constraint data in binary format (` *_rows_rev.bin ` )
277+ - ** Verifier Indices** : Pre-computed verification data with SHA256 integrity
278+ checks
279+
264280### Overview
265281
266282Circuit constraints for the Mina Rust node are sourced from the
0 commit comments