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: new proving agent #9999

Merged
merged 2 commits into from
Nov 20, 2024
Merged

feat: new proving agent #9999

merged 2 commits into from
Nov 20, 2024

Conversation

alexghr
Copy link
Contributor

@alexghr alexghr commented Nov 15, 2024

New proving agent for proving broker. Fix #9533

LE: PR 9999!!

if (err) {
return this.jobSource.reportProvingJobError(job.id, err);
} else if (result) {
return this.jobSource.reportProvingJobSuccess(job.id, result);
Copy link
Contributor Author

@alexghr alexghr Nov 15, 2024

Choose a reason for hiding this comment

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

This should retry sending the result. I'm deliberating whether the agent should retry sending it explicitely or if it should be handled transparently by the rpc client.

@@ -30,7 +41,7 @@ import {
export class MockProver implements ServerCircuitProver {
constructor() {}

getAvmProof() {
getAvmProof(_inputs: AvmCircuitInputs, _signal?: AbortSignal, _epochNumber?: number) {
Copy link
Contributor Author

@alexghr alexghr Nov 15, 2024

Choose a reason for hiding this comment

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

I needed to add all these parameters from the interface in order to be able to use them in mocks.

@PhilWindle PhilWindle merged commit 9ad24dd into master Nov 20, 2024
66 checks passed
@PhilWindle PhilWindle deleted the ag/proving-agent branch November 20, 2024 09:34
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.

[Prover] Updates to ProvingAgent to work with new ProvingBroker
2 participants