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

Make solana ping take optional lamports argument#7029

Merged
ryoqun merged 2 commits intosolana-labs:masterfrom
ryoqun:lamport-arg-for-ping
Nov 19, 2019
Merged

Make solana ping take optional lamports argument#7029
ryoqun merged 2 commits intosolana-labs:masterfrom
ryoqun:lamport-arg-for-ping

Conversation

@ryoqun
Copy link
Copy Markdown
Contributor

@ryoqun ryoqun commented Nov 19, 2019

No strong usecase, but it's handy to able to set arbitrary number of lamports to send when ping-ing.

Particularly in my case, I needed this for 0 lamport while working on #6890 to create consistent flow of TXs avoiding some oneliners.

@ryoqun ryoqun requested a review from mvines November 19, 2019 04:53
mvines
mvines previously approved these changes Nov 19, 2019
Copy link
Copy Markdown
Contributor

@mvines mvines left a comment

Choose a reason for hiding this comment

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

cool, just some minor clap.rs nits

Comment thread cli/src/cluster_query.rs Outdated
Comment thread cli/src/cluster_query.rs Outdated
Comment thread cli/src/cluster_query.rs
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 19, 2019

Codecov Report

Merging #7029 into master will increase coverage by 0.6%.
The diff coverage is 50%.

@@           Coverage Diff            @@
##           master   #7029     +/-   ##
========================================
+ Coverage    73.7%   74.4%   +0.6%     
========================================
  Files         225     223      -2     
  Lines       46259   45433    -826     
========================================
- Hits        34125   33814    -311     
+ Misses      12134   11619    -515

@mergify mergify Bot dismissed mvines’s stale review November 19, 2019 05:21

Pull request has been modified.

@ryoqun ryoqun requested a review from mvines November 19, 2019 05:25
@ryoqun
Copy link
Copy Markdown
Contributor Author

ryoqun commented Nov 19, 2019

@mvines Once the CI passes (I'm pretty sure), I'll merge this! Thanks quick review!

@ryoqun ryoqun merged commit 7ccc029 into solana-labs:master Nov 19, 2019
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.

2 participants