Skip to content

Push sig kind out of snark worker #17423

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

Open
wants to merge 2 commits into
base: compatible
Choose a base branch
from

Conversation

glyh
Copy link
Member

@glyh glyh commented Jun 16, 2025

As title. Not much fancy here.

@glyh glyh requested a review from a team as a code owner June 16, 2025 06:20
}

let create ~constraint_constants ~proof_level () =
let create ~constraint_constants ~proof_level ~signature_kind () =
Copy link
Member Author

Choose a reason for hiding this comment

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

Now we're tracking sig kind in the state of a snark worker.

@glyh
Copy link
Member Author

glyh commented Jun 16, 2025

!ci-build-me

@glyh glyh force-pushed the lyh/push-up-sig-kind-snark-worker branch from bbb53a2 to 27f5d9e Compare June 16, 2025 07:29
Copy link
Member

@georgeee georgeee left a comment

Choose a reason for hiding this comment

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

LGTM

A small follow-up for future work: it would be cool to make Snark worker configurationless, which means that Snark worker on the start would connect to Coordinator and request parameters for doing snark work. These parameters would include constraint constants, proof level, and signature kind. Probably doesn't make sense to have proof level there because why would you run a snark worker with non-full proof level.

All of the parameters on the snark worker would come from coordinator. Then we wouldn't need a separate configuration for the worker neither as CLI flag(s) or runtime config nor as compile time configuration.

Base automatically changed from lyh/remove-signature-kind-txn-snark to compatible June 17, 2025 12:22
@glyh
Copy link
Member Author

glyh commented Jun 19, 2025

!ci-build-me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants