Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Add staking-miner bin (#7273)
Browse files Browse the repository at this point in the history
* Add staking-miner bin

* Fix build and doc

---------

Co-authored-by: parity-processbot <>
  • Loading branch information
chevdor authored May 24, 2023
1 parent f654ffe commit 86abcd0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions utils/staking-miner/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[[bin]]
name = "staking-miner"
path = "src/main.rs"

[package]
name = "staking-miner"
version.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion utils/staking-miner/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ staking-miner --help

You can build from the root of the Polkadot repository using:
```
cargo build --release --locked --package staking-miner
cargo build --profile production --locked --package staking-miner --bin staking-miner
```

## Docker
Expand Down

0 comments on commit 86abcd0

Please sign in to comment.