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

[CHIA-1211] Use better key resolution logic in derivation commands #18516

Merged
merged 5 commits into from
Sep 12, 2024

Conversation

Quexington
Copy link
Contributor

In #16903 I made a bad change to the behavior of key functions in which I removed the resolution of a root secret key when no mnemonic file was provided. I wrongly assumed that the user would have to specify one of the two options but it's actually possible to not specify either. This PR makes sure to always resolve a secret key whenever we intend to do non_observer_derivation.

@Quexington Quexington added the Fixed Required label for PR that categorizes merge commit message as "Fixed" for changelog label Aug 22, 2024
@Quexington Quexington changed the title Resolve root secret key always during non-observer derivation [CHIA-1211] Use better key resolution logic in derivation commands Aug 23, 2024
@Quexington Quexington marked this pull request as ready for review August 23, 2024 17:43
@Quexington Quexington requested a review from a team as a code owner August 23, 2024 17:43
@Chia-Network Chia-Network deleted a comment from github-actions bot Aug 27, 2024
@Quexington Quexington closed this Sep 12, 2024
@Quexington Quexington reopened this Sep 12, 2024
Copy link
Contributor

File Coverage Missing Lines
chia/cmds/keys.py 88.2% lines 211-212, 379-380
Total Missing Coverage
62 lines 4 lines 93%

@emlowe
Copy link
Contributor

emlowe commented Sep 12, 2024

coverage exemption approved

@Quexington Quexington added the ready_to_merge Submitter and reviewers think this is ready label Sep 12, 2024
@cmmarslender cmmarslender merged commit d611c7e into main Sep 12, 2024
737 of 739 checks passed
@cmmarslender cmmarslender deleted the quex.fix_key_cmd_default_behavior branch September 12, 2024 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed Required label for PR that categorizes merge commit message as "Fixed" for changelog ready_to_merge Submitter and reviewers think this is ready
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants