Skip to content

Commit

Permalink
Depluralize "Writing generated configs" to make smoke test pass
Browse files Browse the repository at this point in the history
  • Loading branch information
plaidfinch committed Mar 13, 2024
1 parent dd26138 commit fad097e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion crates/bin/pcli/src/command/init.rs
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ impl InitCmd {
// Create the config directory, if

let config_path = home_dir.join(crate::CONFIG_FILE_NAME);
println!("Writing generated configs to {}", config_path);
println!("Writing generated config to {}", config_path);
config.save(config_path)?;

Ok(())
Expand Down
2 changes: 1 addition & 1 deletion crates/bin/pcli/tests/network_integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ fn load_wallet_into_tmpdir() -> TempDir {
.timeout(std::time::Duration::from_secs(TIMEOUT_COMMAND_SECONDS));
setup_cmd
.assert()
.stdout(predicate::str::contains("Writing generated configs"));
.stdout(predicate::str::contains("Writing generated config"));

tmpdir
}
Expand Down
4 changes: 2 additions & 2 deletions docs/guide/src/pcli/wallet.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ YOUR PRIVATE SEED PHRASE:
[SEED PHRASE]
Save this in a safe place!
DO NOT SHARE WITH ANYONE!
Writing generated configs to [PATH TO PCLI DATA]
Writing generated config to [PATH TO PCLI DATA]
```
This uses the `soft-kms` backend, which saves the generated spend key in the config file.

Alternatively, to import an existing wallet, try
```bash
$ pcli init soft-kms import-phrase
Enter seed phrase:
Writing generated configs to [PATH TO PCLI DATA]
Writing generated config to [PATH TO PCLI DATA]
```

Penumbra's design automatically creates `2^32` (four billion) numbered accounts
Expand Down

0 comments on commit fad097e

Please sign in to comment.