-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(prover): Fixing snark verification keys (#1225)
## What ❔ * Compute the snark verification key in rust code * Added historical values and tests to make sure that computations are correct * Write the small json file with commitments when generating new verification key. * Stopped loading CONTRACTS_SNARK_WRAPPER_VK_HASH from env variable, and computing it locally instead. ## Why ❔ * In the past, the snark verification key generation was a complex process, that involved running a separate binaries * Now it is all the part of the key generator, with a simple utils library (and without including the old test harness) * Historical files will allow us to quickly check the correctness of the older blocks
- Loading branch information
Showing
18 changed files
with
1,789 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
prover/vk_setup_data_generator_server_fri/historical_data/18/commitments.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"leaf": "0x72167c43a46cf38875b267d67716edc4563861364a3c03ab7aee73498421e828", | ||
"node": "0x5a3ef282b21e12fe1f4438e5bb158fc5060b160559c5158c6389d62d9fe3d080", | ||
"scheduler": "0x201d4c7d8e781d51a3bbd451a43a8f45240bb765b565ae6ce69192d918c3563d", | ||
"snark_wrapper": "0x4be443afd605a782b6e56d199df2460a025c81b3dea144e135bece83612563f2" | ||
} |
Oops, something went wrong.