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

Split jumpstart and register flows #952

Merged
merged 11 commits into from
Jul 19, 2024
Merged

Conversation

HCastano
Copy link
Collaborator

Right now the jumpstart flow makes use of the registration flow's DKG infrastructure.

Since registration is not going to be using this in the future it makes sense to split
them up and give jumpstart a bit more of a dedicated codepath.

To do so I've added a new endpoint to the TSS, /generate_network_key, which behind the
scenes uses the same code that the /user/new endpoint does.

@HCastano HCastano requested review from ameba23 and JesseAbram July 18, 2024 21:28
pallets/propagation/src/lib.rs Show resolved Hide resolved
pallets/propagation/src/lib.rs Show resolved Hide resolved
pallets/registry/src/lib.rs Show resolved Hide resolved
HCastano added 3 commits July 19, 2024 12:37
Tbh don't know what the right values for this are, and we should really be encoding the data
stucture instead of hardcoding it, but 🤷
@HCastano HCastano merged commit 3c04c96 into master Jul 19, 2024
13 checks passed
@HCastano HCastano deleted the hc/split-jumpstart-and-register branch July 19, 2024 18:40
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