Skip to content

Commit

Permalink
docs: changing prover keys json structure (matter-labs#378)
Browse files Browse the repository at this point in the history
Co-authored-by: hatemosphere <[email protected]>
  • Loading branch information
githubdoramon and hatemosphere authored Nov 1, 2023
1 parent 1d4fe69 commit 1b6e2af
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- 'prover/**'
- '!prover/CHANGELOG.md'
- '!prover/setup-data-cpu-keys.json'
- '!prover/setup-data-keys.json'
- '!prover/setup-data-gpu-keys.json'
- 'docker/prover*/**'
- '.github/workflows/build-prover-template.yml'
- '.github/workflows/ci-prover-reusable.yml'
Expand Down
5 changes: 2 additions & 3 deletions docs/advanced/prover_keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@ SNARK based with KZG commitment. This results in slightly different contents of

## Keys

> You can find links to buckets with latest keys
> [here](https://github.com/matter-labs/zksync-era/blob/main/prover/setup-data-keys.json).
### Setup key (big, 14GB)

> In the following [CPU](https://github.com/matter-labs/zksync-era/blob/main/prover/setup-data-cpu-keys.json) and [GPU](https://github.com/matter-labs/zksync-era/blob/main/prover/setup-data-gpu-keys.json) links, you'll find GCS buckets containing the latest keys.
The primary key for a given circuit is called `setup key`. These keys can be substantial in size - approximately 14GB
for our circuits. Due to their size, we don't store them directly on GitHub; instead, they need to be generated.

Expand Down
15 changes: 5 additions & 10 deletions prover/setup-data-cpu-keys.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
[
{
"26ee1fb":
{
"us": "gs://matterlabs-setup-data-us/26ee1fb/",
"europe": "gs://matterlabs-setup-data-europe/26ee1fb/",
"asia": "gs://matterlabs-setup-data-asia/26ee1fb/"
}
}
]
{
"us": "gs://matterlabs-setup-data-us/26ee1fb/",
"europe": "gs://matterlabs-setup-data-europe/26ee1fb/",
"asia": "gs://matterlabs-setup-data-asia/26ee1fb/"
}
5 changes: 5 additions & 0 deletions prover/setup-data-gpu-keys.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"us": "gs://matterlabs-setup-data-us/26ee1fb-gpu/",
"europe": "gs://matterlabs-setup-data-europe/26ee1fb-gpu/",
"asia": "gs://matterlabs-setup-data-asia/26ee1fb-gpu/"
}
10 changes: 0 additions & 10 deletions prover/setup-data-keys.json

This file was deleted.

0 comments on commit 1b6e2af

Please sign in to comment.