Skip to content

Commit

Permalink
Merge pull request #58 from nimiq/stefan/fix-incorrect-bash-commands
Browse files Browse the repository at this point in the history
Fix missing double dashes (--) in `cargo run` commands
  • Loading branch information
onmax authored Oct 1, 2024
2 parents 9d08fed + 4f0a16b commit 6ddf546
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions migration/node-operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Ensure your PoW client is fully synced before running the Activation Tool on the
Once you are in consensus in the PoW chain, proceed to execute the Activation Tool by running the following command **in the PoS client repository** directory, including the path to the configuration file containing your validator data and specifying the PoW RPC server to be used. Note that this assumes the PoS client and PoW client (with RPC server enabled) are running on the same machine:

```bash
cargo run --release --bin nimiq-pow-migration --url "http://127.0.0.1:8648" --config client.toml
cargo run --release --bin nimiq-pow-migration -- --url "http://127.0.0.1:8648" --config client.toml
```

:::
Expand Down Expand Up @@ -89,7 +89,7 @@ Ensure your PoW client is fully synced before running the Activation Tool on the
Once you are in consensus in the PoW chain, proceed to execute the Activation Tool by running the following command **in the PoS client repository** directory, including the path to the configuration file containing your validator data and specifying the RPC server to be used. Note that this assumes the PoS client and the PoW client (with the RPC server enabled at port `8648`) are running on the same machine:

```bash
cargo run --release --bin nimiq-pow-migration --url "http://127.0.0.1:8648" --config client.toml
cargo run --release --bin nimiq-pow-migration -- --url "http://127.0.0.1:8648" --config client.toml
```

:::
Expand Down
2 changes: 1 addition & 1 deletion migration/validator-activation.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Ensure your PoS client is [properly configured](#step-1-add-validator-data-into-
2. **Run the Activation Tool** using the following command in the PoS client directory:

```
cargo run --release --bin nimiq-pow-migration --url "pow-rpc" --config client.toml
cargo run --release --bin nimiq-pow-migration -- --url "pow-rpc" --config client.toml
```
Where `pow-rpc` is the **PoW client RPC url**. For example: `http://127.0.0.1:8648`
Expand Down

0 comments on commit 6ddf546

Please sign in to comment.