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

MP-ECDSA #37

Merged
merged 17 commits into from
Dec 13, 2023
Merged

MP-ECDSA #37

merged 17 commits into from
Dec 13, 2023

Conversation

tbraun96
Copy link
Collaborator

Closes #26

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.

Some scaffold looks OK, but generally doesn't seem like the approach you've taken is correct given the new architecture. There is no base DKG anymore and it does not rotate on sessions. The client API from dkg-substrate is not being included in Tangle mainnet at all. There will be no best authorities, next best authorities, signature thresholds, etc. Everything should be tied to a job. After receiving job details we should execute keygen or signing protocols. CC @1xstj

protocols/mp-ecdsa/src/client.rs Outdated Show resolved Hide resolved
protocols/mp-ecdsa/src/client.rs Outdated Show resolved Hide resolved
protocols/mp-ecdsa/src/client.rs Outdated Show resolved Hide resolved
protocols/mp-ecdsa/src/client.rs Outdated Show resolved Hide resolved
protocols/mp-ecdsa/src/client.rs Outdated Show resolved Hide resolved
protocols/mp-ecdsa/src/keyring.rs Outdated Show resolved Hide resolved
protocols/mp-ecdsa/src/keyring.rs Outdated Show resolved Hide resolved
protocols/mp-ecdsa/src/keystore.rs Outdated Show resolved Hide resolved
protocols/mp-ecdsa/src/protocols/managers/keygen.rs Outdated Show resolved Hide resolved
protocols/mp-ecdsa/src/protocols/managers/keygen.rs Outdated Show resolved Hide resolved
@tbraun96 tbraun96 changed the title Draft: MP-ECDSA MP-ECDSA Dec 12, 2023
@shekohex
Copy link
Contributor

Looks good. @tbraun96 lets rename webb-gadget to gadget-common and move the client.rs implementation there. Which will be reusable between all gadgets.

Rename webb-gadget to gadget-common

Make keystore more generalized
Copy link
Contributor

@shekohex shekohex left a comment

Choose a reason for hiding this comment

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

Looks good! Just one comment about std feature, to avoid any conflicts when compiling tangle node/runtime.

gadget-common/Cargo.toml Outdated Show resolved Hide resolved
Copy link
Contributor

@shekohex shekohex left a comment

Choose a reason for hiding this comment

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

LGTM!

@drewstone drewstone merged commit 33bf3a0 into main Dec 13, 2023
3 checks passed
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.

[CHECKLIST] MP-ECDSA Protocol
3 participants