-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
1 / 11 of 1 issue completedLabels
Description
The circuits are dump into https://github.com/openmina/circuit-blobs/, and we clone and symlink them in the repository before building and running tests, see https://github.com/o1-labs/openmina/blob/develop/Makefile#L139.
The latest dump is from the release 3.0.1, and we need to update it to be sure we are still using the latest version of the circuits.
The circuits must only change when we are doing a hard-fork. Therefore, we can keep track of the circuits only by using "hardfork name".
We will start with berkeley
.
Part of this task would be to:
- update the documentation regarding the update of the OCaml node to include the necessity of making a PR on circuit-blobs, with the right instructions.
- Export circuit blobs for the Mina Rust node MinaProtocol/mina#17791 provides a way to dump the circuits, optionally. It still needs to be documented on the website.
- add documentation on the website on how to dump the circuits, and briefly explain the format, and how and why it is used. If any bash commands are run, if possible, it must be tested in the CI to ensure that we continuously check that the documentation is up-to-date.
- dump the circuits for the latest (pending) release, namely 3.2.0, and make a patch on openmina/circuit-blobs.
- verify that the circuits of the release 3.2.0 are actually the ones used in the Rust node.
- See Update directory name for devnet circuit blobs #1413. It confirms that we use the same circuits, as the MD5 digest is the same.
- the directory where the circuits are saved should be called
berkeley
, as it is the hardfork name. The code might need to be udpated accordingly. - remove the previously generated circuits, namely 3.0.0devnet, 3.0.0mainnet, 3.0.1devnet from develop, to only have
berkeley
as these are the only one we care for the branchdevelop
of this repository. We will use the git history to get back the old circuits if necessary. - update the frontend configuration (https://github.com/o1-labs/mina-rust/blob/develop/frontend/docker/startup.sh#L27-L58).
This task is part of #1187 as we must ensure we are using the same configuration as the OCaml node.
Sub-issues
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done