Skip to content

Commit

Permalink
add --no-fund
Browse files Browse the repository at this point in the history
  • Loading branch information
BlaineHeffron committed Sep 11, 2024
1 parent ea50c13 commit 6d8ac93
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions cmd/crates/soroban-test/tests/it/integration/cookbook.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ async fn run_command(
}
}

println!("Executing command: {} {}", cmd, modified_args.join(" "));
let result = sandbox.new_assert_cmd(&cmd).args(&modified_args).assert();

if command.contains("keys generate") {
Expand Down Expand Up @@ -153,10 +152,8 @@ async fn test_mdx_file(
.filter_map(|block| block.split("```").next())
.collect();

println!("Testing commands from file: {}", file_path);

for (i, command) in commands.iter().enumerate() {
println!("Running command {}: {}", i + 1, command);
for command in commands.iter() {
run_command(
sandbox,
command,
Expand Down
2 changes: 1 addition & 1 deletion cookbook/contract-lifecycle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ To manage the lifecycle of a Stellar smart contract using the CLI, follow these
1. Create an identity for Alice:

```bash
stellar keys generate alice
stellar keys generate alice --no-fund
```

2. Fund the identity:
Expand Down
4 changes: 2 additions & 2 deletions cookbook/payments-and-assets.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ By setting the `STELLAR_NETWORK` environment variable, we will not have to set t
2. Fund the accounts:

```bash
stellar keys generate alice
stellar keys generate alice --no-fund
```

```bash
stellar keys generate bob
stellar keys generate bob --no-fund
```

```bash
Expand Down

0 comments on commit 6d8ac93

Please sign in to comment.