Closed weiihann closed 1 month ago
Attention: Patch coverage is 70.00000%
with 9 lines
in your changes missing coverage. Please review.
Project coverage is 75.44%. Comparing base (
a30d388
) to head (2abdcd9
). Report is 41 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
cmd/juno/juno.go | 53.33% | 4 Missing and 3 partials :warning: |
cmd/juno/genp2pkeypair.go | 86.66% | 1 Missing and 1 partial :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
On a second thought, I find this feature irrelevant as users can just use environment variables.
Description
This PR adds filepath support to two existing P2P-related tools and flags, namely
genp2pkeypair
and--p2p-private-key
.Example
Command:
juno genp2pkeypair --file nodekey
juno genp2pkeypair
just like before.Command:
juno --p2p-private-key nodekey
nodekey
file.juno --p2p-private-key <private-key>
) just like before.Example 2: With prefix
P2P Private Key: