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

Swarm behavior ( Job ) #4

Merged
merged 8 commits into from
Apr 19, 2024
Merged

Swarm behavior ( Job ) #4

merged 8 commits into from
Apr 19, 2024

Conversation

rkdud007
Copy link
Collaborator

@rkdud007 rkdud007 commented Apr 15, 2024

todo

  • (delegator) job generation
  • (delegator) job serialize and publish
  • (executor) job deserialize
  • (executor) spawn prover thread and execute job
  • Abstract common behavior in peers crate after defining detail behaviors

@rkdud007 rkdud007 self-assigned this Apr 15, 2024
@rkdud007
Copy link
Collaborator Author

rkdud007 commented Apr 19, 2024

[update]
e2e flow simple

  • delegator : from cairo program -> Job object
  • delegator : Job serialized - > publish
  • executor : deserialize Job -> cairo-run -> JobTrace
  • executor : JobTrace -> cpu_air_prover -> JobWitness
  • executor : submit JobWitness to registry
  • registry : verify this withness(proof) with Integrity

@rkdud007 rkdud007 marked this pull request as ready for review April 19, 2024 08:18
@rkdud007 rkdud007 requested a review from Okm165 April 19, 2024 09:25
Copy link
Contributor

@Okm165 Okm165 left a comment

Choose a reason for hiding this comment

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

LGTM!

@Okm165 Okm165 merged commit 97db7cb into main Apr 19, 2024
2 checks passed
@Okm165 Okm165 deleted the feat/job-handle branch April 20, 2024 15:22
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