Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(hyperchain): Adding prover related commands to zk stack #440

Merged
merged 35 commits into from
Nov 13, 2023
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
d17357e
Finished v0 of prover commands
githubdoramon Nov 3, 2023
1f6e2be
adding non interactive command
githubdoramon Nov 3, 2023
20d71a4
Merge branch 'main' into ramon-pro-49-add-cpu-prover-to-zk-stack-init
githubdoramon Nov 3, 2023
5a2d9a2
adding demo command
githubdoramon Nov 7, 2023
aca41f4
mresolving merge conflict
githubdoramon Nov 7, 2023
e069d9d
reverse emrge from main
githubdoramon Nov 7, 2023
b4c07b7
removing unused args
githubdoramon Nov 7, 2023
fa32b74
formatting
githubdoramon Nov 7, 2023
d773175
Merge branch 'main' into ramon-pro-49-add-cpu-prover-to-zk-stack-init
githubdoramon Nov 8, 2023
6ea9aca
some fixes for testing
githubdoramon Nov 8, 2023
1540f0d
changes to docker compose for prover
githubdoramon Nov 9, 2023
f67873c
fmt
githubdoramon Nov 9, 2023
35538b3
using public images for prover related services
githubdoramon Nov 9, 2023
35f8a3d
fixing compose file
githubdoramon Nov 9, 2023
07a78cc
more fix
githubdoramon Nov 9, 2023
1613381
commenting out ports for prometheus
githubdoramon Nov 9, 2023
8f97144
minor change
githubdoramon Nov 9, 2023
f482956
Merge branch 'main' into ramon-pro-49-add-cpu-prover-to-zk-stack-init
githubdoramon Nov 9, 2023
c99d267
fixing fri gateway port
githubdoramon Nov 9, 2023
54030f9
adding health check to start fri gateway
githubdoramon Nov 9, 2023
315acfd
Merge branch 'main' into ramon-pro-49-add-cpu-prover-to-zk-stack-init
githubdoramon Nov 9, 2023
a01c471
Merge branch 'ramon-pro-49-add-cpu-prover-to-zk-stack-init' of ssh://…
githubdoramon Nov 9, 2023
03ed3ca
line break
githubdoramon Nov 9, 2023
ff27676
potential fix
githubdoramon Nov 9, 2023
b9e0791
yet more fixes
githubdoramon Nov 9, 2023
9fa6bf4
new idea
githubdoramon Nov 9, 2023
653e4a5
yet another new idea
githubdoramon Nov 9, 2023
6f4cc55
new try
githubdoramon Nov 10, 2023
3bc3ff6
you know, fmt
githubdoramon Nov 10, 2023
cb0c63c
fixing missing env variable
githubdoramon Nov 10, 2023
13cf803
now we are talking
githubdoramon Nov 10, 2023
644185e
Merge branch 'main' into ramon-pro-49-add-cpu-prover-to-zk-stack-init
githubdoramon Nov 10, 2023
285ee7f
removing unused function
githubdoramon Nov 10, 2023
c7a2a4d
Merge branch 'ramon-pro-49-add-cpu-prover-to-zk-stack-init' of ssh://…
githubdoramon Nov 10, 2023
767650c
Merge branch 'main' into ramon-pro-49-add-cpu-prover-to-zk-stack-init
githubdoramon Nov 13, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fmt
githubdoramon committed Nov 9, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit f67873ca214287a5d2d7de72b2833405cac721d9
5 changes: 3 additions & 2 deletions infrastructure/zk/src/hyperchain_wizard.ts
Original file line number Diff line number Diff line change
@@ -660,7 +660,8 @@ async function _generateDockerImages(_orgName?: string) {

console.log(warning(`\nDocker image for server created: Server image: ${orgName}/server-v2:latest\n`));

let hasProver = false, isCPUProver = false;
let hasProver = false,
isCPUProver = false;
let proverArtifacts, serverArtifacts, proverSetupArtifacts;

if (process.env.ETH_SENDER_SENDER_PROOF_SENDING_MODE !== 'SkipEveryProof') {
@@ -674,7 +675,7 @@ async function _generateDockerImages(_orgName?: string) {
await docker.customBuildForHyperchain('witness-vector-generator', orgName);
await docker.customBuildForHyperchain('prover-fri-gateway', orgName);
await docker.customBuildForHyperchain('proof-fri-compressor', orgName);
if(process.env.PROVER_TYPE === ProverType.CPU) {
if (process.env.PROVER_TYPE === ProverType.CPU) {
isCPUProver = true;
await docker.customBuildForHyperchain('prover-fri', orgName);
} else {