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

[CHECKLIST] E2E Integration of MPC jobs #302

Closed
25 of 28 tasks
1xstj opened this issue Nov 14, 2023 · 1 comment
Closed
25 of 28 tasks

[CHECKLIST] E2E Integration of MPC jobs #302

1xstj opened this issue Nov 14, 2023 · 1 comment

Comments

@1xstj
Copy link
Contributor

1xstj commented Nov 14, 2023

Issue: End-to-End Integration of Mpc Jobs Flow

Jobs/Roles Pallet

Protocol Pallets

Gadget Work

Post integration work

  • Update all weights
  • Document runtime extrinsics

Integration test

DKG

  1. All validators sign up for the DKG role and restake all their tokens.
  2. A user submits a Phase 1 job through PolkadotJS app, run a DKG w/ all participants (3,5)
  3. Verify success of first job, DKG key created, verify job result onchain and other metadata.
  4. A user submits a Phase 2 job through PolkadotJS app, run a TSS.
  5. Verify success of job, signature created, verify job result onchain and other metadata.

zkSaaS

  1. All validators sign up for the DKG role and restake all their tokens.
  2. A user submits a Phase 1 job through PolkadotJS app, run a zkSaaS w/ all participants (1,4)
  3. A user submits a Phase 2 job through PolkadotJS app, run a zkSaaS proof generation.
  4. Verify success of job, proof created, verify job result onchain and other metadata.
  5. Simulate a withdrawal/transfer from Webb's bridge.

Webb bridge

  1. All validators sign up for the DKG role and restake all their tokens.
  2. Webb submits a Phase 1 job, run DKG w/ all participants, use a signing rule that supports democracy + voting.
  3. Deploy a bridge, make a deposit, make a withdrawal use zkSaaS flow here as well.
  4. Use the relayer to catch the events.
  5. Update the relayer to submit Txes to EVM contract on Tangle rather than Substrate pallet (dkg-proposals).
  6. Verify a Phase 2 job gets submitted and signed.
  7. Update the relayer to watch for completed jobs under the Phase 1 job ID, catch the job result.
  8. Submit to the bridges.
@github-project-automation github-project-automation bot moved this to Not Started 🕧 in Webb Universe Nov 14, 2023
@salman01zp salman01zp pinned this issue Nov 16, 2023
@1xstj 1xstj moved this from Not Started 🕧 to Building 🏗️ in Webb Universe Dec 4, 2023
@drewstone drewstone moved this from Building 🏗️ to EPICS 🚀 in Webb Universe Dec 4, 2023
@drewstone drewstone unpinned this issue Dec 4, 2023
@drewstone drewstone pinned this issue Dec 4, 2023
@salman01zp salman01zp unpinned this issue Jan 30, 2024
@drewstone
Copy link
Contributor

drewstone commented Apr 8, 2024

We could do live integration testing on the testnet once #506 is completed

@salman01zp salman01zp pinned this issue Apr 8, 2024
@github-project-automation github-project-automation bot moved this from EPICS 🚀 to Completed ✅ in Webb Universe May 20, 2024
@drewstone drewstone unpinned this issue May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants