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: MPC Jobs pallet #285

Merged
merged 22 commits into from
Nov 8, 2023
Merged

feat: MPC Jobs pallet #285

merged 22 commits into from
Nov 8, 2023

Conversation

1xstj
Copy link
Contributor

@1xstj 1xstj commented Nov 2, 2023

Summary of changes
Changes introduced in this pull request:

  • Jobs pallet to manage job scheduling for MPC protocols
  • Pallet extrinsics
  • Traits
  • Tests
  • Benchmarks and weights
  • RPC interface for gadget

Reference issue to close (if applicable)
Closes #281

@1xstj 1xstj changed the title Feat/jobs pallet MPC Jobs pallet Nov 3, 2023
@1xstj 1xstj changed the title MPC Jobs pallet feat: MPC Jobs pallet Nov 3, 2023
@1xstj 1xstj marked this pull request as ready for review November 3, 2023 20:31
@1xstj 1xstj requested review from salman01zp and shekohex November 3, 2023 20:31
Copy link
Contributor

@salman01zp salman01zp left a comment

Choose a reason for hiding this comment

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

Overall looks good..

pallets/jobs/rpc/runtime-api/src/lib.rs Outdated Show resolved Hide resolved
pallets/jobs/src/functions.rs Show resolved Hide resolved
pallets/jobs/Cargo.toml Outdated Show resolved Hide resolved
Copy link
Contributor

@drewstone drewstone left a comment

Choose a reason for hiding this comment

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

Awesome start @1xstj ! Looks great, left some comments for potential fixes before first merge. We should create more tasks to update the types for the jobs themselves, so they include the necessary parameters for an integration test, please do add to the checklist or create a new one if we'll wrap it up.

pallets/jobs/Cargo.toml Outdated Show resolved Hide resolved
pallets/jobs/rpc/src/lib.rs Show resolved Hide resolved
pallets/jobs/rpc/src/lib.rs Outdated Show resolved Hide resolved
pallets/jobs/rpc/src/lib.rs Outdated Show resolved Hide resolved
pallets/jobs/src/functions.rs Show resolved Hide resolved
pallets/jobs/src/lib.rs Outdated Show resolved Hide resolved
pallets/jobs/src/lib.rs Outdated Show resolved Hide resolved
pallets/jobs/src/lib.rs Show resolved Hide resolved
pallets/jobs/src/mock.rs Outdated Show resolved Hide resolved
pallets/jobs/src/tests.rs Show resolved Hide resolved
@drewstone drewstone mentioned this pull request Nov 6, 2023
5 tasks
@1xstj 1xstj requested a review from drewstone November 7, 2023 21:38
@salman01zp salman01zp self-requested a review November 8, 2023 04:56
@drewstone drewstone merged commit bf7e79a into main Nov 8, 2023
8 checks passed
@drewstone drewstone deleted the feat/jobs-pallet branch November 8, 2023 05:42
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.

[TASK] Jobs Pallet
3 participants