Fix 5560: add support for a new `staking-miner info` command (#5577)
* Refactoring opts out
* Implement info command
fix #5560
* remove useless change
* Remove unnecessary brackets
* Fix and add tests
* Promote the uri flag to global
* Ignore lint identity ops
* Reverse adding #[allow(identity_op)]
* Add cli test for the info command
* Add licende headers and fix some grumbles
* Add retrieval of the linked version and make the json output optional
* Fix tests
* Keep it generic and renamed builtin into linked
* Rebase master
* Add runtimes compatibility information
* Silence erroneous warning about unsafe
* Fix spellcheck
* Update utils/staking-miner/src/runtime_versions.rs
Co-authored-by:
Niklas Adolfsson <niklasadolfsson1@gmail.com>
Showing
- polkadot/utils/staking-miner/Cargo.toml 1 addition, 1 deletionpolkadot/utils/staking-miner/Cargo.toml
- polkadot/utils/staking-miner/README.md 1 addition, 1 deletionpolkadot/utils/staking-miner/README.md
- polkadot/utils/staking-miner/src/dry_run.rs 1 addition, 1 deletionpolkadot/utils/staking-miner/src/dry_run.rs
- polkadot/utils/staking-miner/src/main.rs 47 additions, 262 deletionspolkadot/utils/staking-miner/src/main.rs
- polkadot/utils/staking-miner/src/opts.rs 298 additions, 0 deletionspolkadot/utils/staking-miner/src/opts.rs
- polkadot/utils/staking-miner/src/runtime_versions.rs 90 additions, 0 deletionspolkadot/utils/staking-miner/src/runtime_versions.rs
- polkadot/utils/staking-miner/tests/cli.rs 21 additions, 0 deletionspolkadot/utils/staking-miner/tests/cli.rs
Please register or sign in to comment