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: dockerized proving server + cli #20

Merged
merged 15 commits into from
May 7, 2024
Merged

Conversation

rpalakkal
Copy link
Contributor

@rpalakkal rpalakkal commented Apr 18, 2024

No description provided.

@rpalakkal rpalakkal changed the base branch from staging to chore/cleanup April 18, 2024 22:18
Base automatically changed from chore/cleanup to staging April 22, 2024 19:49
Copy link
Contributor

@jonathanpwang jonathanpwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small naming nits but otherwise LGTM.

Requesting @nyunyunyunyu to look at the main proving loop to double-check.

sdk/readme.md Outdated Show resolved Hide resolved
sdk/readme.md Show resolved Hide resolved
sdk/readme.md Outdated Show resolved Hide resolved
sdk/src/lib.rs Outdated Show resolved Hide resolved
job_id
}

pub fn prover_loop<A: AxiomCircuitScaffold<Http, Fr>, I: Into<A::InputValue> + DeserializeOwned>(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nyunyunyunyu can you take a look at this function specifically? It's for the proving server of client circuit.

fn after_prove(ctx: Self::Context, output: AxiomV2CircuitOutput) {}
}

impl<A: AxiomComputeFn> AxiomClientProvingServer for AxiomCompute<A>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This means you can't override it for AxiomCompute? Can we just leave it unimplemented? or else do A: AxiomComputeFn + AxiomCompute, so it can be implemented there

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can address this later

Copy link
Contributor

@jonathanpwang jonathanpwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jonathanpwang jonathanpwang merged commit fe21d14 into staging May 7, 2024
1 check passed
@jonathanpwang jonathanpwang deleted the feat/docker-server branch May 7, 2024 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants