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

renames secretName to participantName #4927

Merged
merged 5 commits into from
Apr 23, 2024

Conversation

hughy
Copy link
Contributor

@hughy hughy commented Apr 23, 2024

Summary

the term 'secretName' does not make it clear that the name should be the same as the one used with 'participant:create', that is, the name of a participant

renames the flag and rpc parameter 'secretName' to 'participantName' across all dkg cli commands and rpc endpoints

changes flag character from s to n. in round3, this also requires changing the 'accountName' flag character from n to a

adds an alias 'name' for 'participantName' in all dkg commands

Testing Plan

manual testing: created an account by running all three dkg rounds

Documentation

Does this change require any updates to the Iron Fish Docs (ex. the RPC API
Reference
)? If yes, link a
related documentation pull request for the website.

[ ] Yes

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and label it with breaking-change-rpc or breaking-change-sdk.

[ ] Yes

@hughy hughy requested a review from a team as a code owner April 23, 2024 19:55
}),
identity: Flags.string({
char: 'i',
description:
'The identity of the participants will generate the group keys (may be specified multiple times to add multiple participants). Must include the identity for secretName',
'The identity of the participants will generate the group keys (may be specified multiple times to add multiple participants). Must include the identity for participantName',
Copy link
Contributor

Choose a reason for hiding this comment

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

(Does not need to be addressed here)

"Must include hte identity for participantName" << is this really true? Don't we add it automatically if omitted?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch! It's a small change, so I'll make it here

hughy added 3 commits April 23, 2024 13:41
the term 'secretName' does not make it clear that the name should be the same as
the one used with 'participant:create', that is, the name of a participant

renames the flag and rpc parameter 'secretName' to 'participantName' across all
dkg cli commands and rpc endpoints

changes flag character from s to n. in round3, this also requires changing the
'accountName' flag character from n to a

adds an alias 'name' for 'participantName' in all dkg commands
@hughy hughy force-pushed the feat/hughy/ifl-2516/dkg-participant-name branch from 00a8653 to 81d61da Compare April 23, 2024 20:44
@hughy hughy merged commit 0e36ea0 into staging Apr 23, 2024
9 checks passed
@hughy hughy deleted the feat/hughy/ifl-2516/dkg-participant-name branch April 23, 2024 22:00
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.

3 participants