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

CLI BIP32 prep: KeypairUrl refactor #16592

Merged
merged 4 commits into from
Apr 16, 2021
Merged

Conversation

t-nelson
Copy link
Contributor

Problem

Signer source path parsing is hand coded and doesn't lend itself to the extension necessary to specify BIP32 derivation paths

Summary of Changes

Rename
Refactor to use an RPC compliant URI parsing crate
Adds explicit schemes for file and ask methods

Toward #5246

@codecov
Copy link

codecov bot commented Apr 16, 2021

Codecov Report

Merging #16592 (0309814) into master (013875e) will increase coverage by 0.0%.
The diff coverage is 92.5%.

@@           Coverage Diff           @@
##           master   #16592   +/-   ##
=======================================
  Coverage    79.9%    79.9%           
=======================================
  Files         414      414           
  Lines      112270   112300   +30     
=======================================
+ Hits        89789    89818   +29     
- Misses      22481    22482    +1     

Copy link
Contributor

@CriesofCarrots CriesofCarrots left a comment

Choose a reason for hiding this comment

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

lgtm!

@t-nelson t-nelson merged commit 6444f0e into solana-labs:master Apr 16, 2021
@t-nelson t-nelson deleted the bip32-prep branch April 16, 2021 19:56
mergify bot added a commit that referenced this pull request Apr 16, 2021
* clap-utils: Rename KeypairUrl to SignerSource

(cherry picked from commit 09dcc9e)

* clap-utils: Reduce SignerSource's visibility

(cherry picked from commit c5ab3ba)

* clap-utils: Use `uriparse` crate to parse `SignerSource`

(cherry picked from commit 5d1ef5d)

* clap-utils: Add explicit schemes for `ask` and `file` `SignerSource`s

(cherry picked from commit 6444f0e)

Co-authored-by: Trent Nelson <[email protected]>
mergify bot added a commit that referenced this pull request Apr 16, 2021
* clap-utils: Rename KeypairUrl to SignerSource

(cherry picked from commit 09dcc9e)

* clap-utils: Reduce SignerSource's visibility

(cherry picked from commit c5ab3ba)

* clap-utils: Use `uriparse` crate to parse `SignerSource`

(cherry picked from commit 5d1ef5d)

# Conflicts:
#	Cargo.lock
#	clap-utils/Cargo.toml

* clap-utils: Add explicit schemes for `ask` and `file` `SignerSource`s

(cherry picked from commit 6444f0e)

Co-authored-by: Trent Nelson <[email protected]>
@brooksprumo brooksprumo mentioned this pull request Aug 23, 2021
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