Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

CLI: Support offline authorities#7905

Merged
t-nelson merged 1 commit intosolana-labs:masterfrom
t-nelson:cli-offline_authorities
Jan 22, 2020
Merged

CLI: Support offline authorities#7905
t-nelson merged 1 commit intosolana-labs:masterfrom
t-nelson:cli-offline_authorities

Conversation

@t-nelson
Copy link
Copy Markdown
Contributor

Problem

CLI --*-authority args only accept a Keypair limiting them to online authorities

Summary of Changes

Allow --*-authority to accept a Pubkey if there is a matching --signer BASE58_PUBKEY=BASE58_SIGNATURE passed also

This is a stop gap to a more thorough (and intrusive) implementation as described here

@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 21, 2020

Codecov Report

Merging #7905 into master will increase coverage by <.1%.
The diff coverage is 74.8%.

@@           Coverage Diff            @@
##           master   #7905     +/-   ##
========================================
+ Coverage    81.8%   81.8%   +<.1%     
========================================
  Files         244     244             
  Lines       52136   52267    +131     
========================================
+ Hits        42691   42806    +115     
- Misses       9445    9461     +16

Copy link
Copy Markdown
Contributor

@rob-solana rob-solana 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 d854e90 into solana-labs:master Jan 22, 2020
@t-nelson t-nelson deleted the cli-offline_authorities branch January 22, 2020 17:23
@t-nelson t-nelson added the v0.22 label Jan 22, 2020
mergify Bot pushed a commit that referenced this pull request Jan 22, 2020
solana-grimes pushed a commit that referenced this pull request Jan 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants