Skip to content

Commit

Permalink
fix(docs): Add links to setup-data keys (#360)
Browse files Browse the repository at this point in the history
# What ❔

Add link to prover setup-keys json file and add initial file

## Why ❔

## Checklist

<!-- Check your PR fulfills the following items. -->
<!-- For draft PRs check the boxes as you complete them. -->

- [ ] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [ ] Tests for the changes have been added / updated.
- [ ] Documentation comments have been added / updated.
- [ ] Code has been formatted via `zk fmt` and `zk lint`.
  • Loading branch information
artmakh committed Nov 1, 2023
1 parent aa8e932 commit 1d4fe69
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ jobs:
prover:
- 'prover/**'
- '!prover/CHANGELOG.md'
- '!prover/setup-data-cpu-keys.json'
- '!prover/setup-data-keys.json'
- 'docker/prover*/**'
- '.github/workflows/build-prover-template.yml'
- '.github/workflows/ci-prover-reusable.yml'
Expand Down
3 changes: 3 additions & 0 deletions docs/advanced/prover_keys.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ 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)

The primary key for a given circuit is called `setup key`. These keys can be substantial in size - approximately 14GB
Expand Down
10 changes: 10 additions & 0 deletions prover/setup-data-cpu-keys.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"26ee1fb":
{
"us": "gs://matterlabs-setup-data-us/26ee1fb/",
"europe": "gs://matterlabs-setup-data-europe/26ee1fb/",
"asia": "gs://matterlabs-setup-data-asia/26ee1fb/"
}
}
]
10 changes: 10 additions & 0 deletions prover/setup-data-keys.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[
{
"26ee1fb-gpu":
{
"us": "gs://matterlabs-setup-data-us/26ee1fb-gpu/",
"europe": "gs://matterlabs-setup-data-europe/26ee1fb-gpu/",
"asia": "gs://matterlabs-setup-data-asia/26ee1fb-gpu/"
}
}
]

0 comments on commit 1d4fe69

Please sign in to comment.