The format is based on Keep a Changelog.
This is a bug-fix release that changes internal trimming data structure from BTreeMap to MinHeap to support voters with the same weight.
- fix: feasibility check when voters have the same staked amount (#856)
- chore(deps): bump tokio from 1.37.0 to 1.38.0 (#845)
- chore(deps): bump regex from 1.10.4 to 1.10.5 (#844)
- chore(deps): bump anyhow from 1.0.82 to 1.0.86 (#842)
- chore(deps): bump hyper from 0.14.28 to 0.14.29 (#846)
- chore(deps): bump serde_json from 1.0.117 to 1.0.119 (#857)
- chore(deps): bump frame-support from 34.0.0 to 35.0.0 (#853)
- chore(deps): bump sp-runtime from 37.0.0 to 38.0.0 (#855)
- chore(deps): bump clap from 4.5.4 to 4.5.7 (#850)
- chore: update polkadot-sdk deps (#861)
Tested against:
- Westend v1,014,000
- Kusama v1,002,006
- Polkadot v1,002,006
This release updates subxt to support the signed extension CheckMetadataHash
- chore(deps): update polkadot-sdk dependencies (#840)
- chore(deps): bump subxt to v0.37.0 (#836)
- chore(deps): bump prometheus from 0.13.3 to 0.13.4 (#825)
- chore(deps): bump thiserror from 1.0.58 to 1.0.59 (#822)
- chore(deps): bump h2 from 0.3.24 to 0.3.26 in /staking-miner-playground (#804)
- chore(deps): bump sp-storage from 20.0.0 to 21.0.0 (#812)
- chore(deps): bump scale-info from 2.11.1 to 2.11.2 (#814)
- chore(deps): bump serde from 1.0.197 to 1.0.198 (#818)
- chore(deps): bump rustls from 0.21.10 to 0.21.11 (#817)
- chore(deps): bump anyhow from 1.0.81 to 1.0.82 (#811)
Tested against:
- Westend v1010 and Westend master (rev d783ca9d9bf)
This is release to support that the SignedPhase and UnsignedPhase has been removed from the metadata. See (#803) for further information.
Tested against:
- Westend v1010
The main changes of this release are as follows:
- Change the binary name to
polkadot-staking-miner
to publish on crates.io. - Bump rust MSRV to 1.74
- Change
submit_signed_solution
extrinsic to be mortal - A runtime upgrade bug was fixed in this release.
Recently, we noticed that it can be possible that the runtime upgrades won't
upgrade the metadata because the actual runtime upgrade is applied to the block
after state_subscribeRuntimeVersion
emits an event.
For that reason, the polkadot-staking-miner now subscribes to system().last_runtime_upgrade()
instead to fix that.
The change to subxt-signer broke previous behaviour.
The major changes of this release:
- Trimming has been reworked such that the staking-miner "pre-trims" the solution instead relying on the remote node to perform the trimming.
- The default port number in the URI can now be omitted.
- All dependencies are fetched from crates.io and the staking-miner can now be published on crates.io
- New prometheus metrics "staking_miner_trim_started" and "staking_miner_trim_success" have been added to monitor the trimming status.
This release adds a subcommand info
to detect whether the metadata
of the staking-miner is compatible with a remote node.
$ staking-miner --uri wss://rpc.polkadot.io:443 info
Remote_node:
{
"spec_name": "polkadot",
"impl_name": "parity-polkadot",
"spec_version": 9370,
"impl_version": 0,
"authoring_version": 0,
"transaction_version": 20,
"state_version": 0
}
Compatible: NO
- add
info command
(#596)
- strip metadata (#595)
- chore(deps): bump clap from 4.3.3 to 4.3.4 (#602)
- chore(deps): bump clap from 4.3.2 to 4.3.3 (#601)
- chore(deps): bump log from 0.4.18 to 0.4.19 (#600)
- chore: fix clippy warnings (#599)
- chore(deps): clap v4 (#598)
- chore(deps): bump serde from 1.0.163 to 1.0.164 (#597)
- chore(deps): bump futures from 0.3.27 to 0.3.28 (#590)
- chore(deps): bump once_cell from 1.17.2 to 1.18.0 (#592)
- chore(deps): bump regex from 1.8.3 to 1.8.4 (#593)
This is the first release staking-miner-v2 which makes it production ready and the most noteable changes are:
- Add support for
emergency solutions
- Change
submission strategy if-leading
to only submit if the score is better. - Listen to
finalized heads
by default.
- update subxt (#571)
- chore(deps): bump once_cell from 1.17.1 to 1.17.2 (#582)
- chore(deps): bump log from 0.4.17 to 0.4.18 (#580)
- chore(deps): bump tokio from 1.28.1 to 1.28.2 (#581)
- chore(deps): bump regex from 1.8.2 to 1.8.3 (#577)
- chore: remove unused deps and features (#575)
- chore(deps): bump regex from 1.8.1 to 1.8.2 (#574)
- chore(deps): bump anyhow from 1.0.69 to 1.0.71 (#570)
- chore(deps): bump scale-info from 2.6.0 to 2.7.0 (#569)
- chore(deps): bump serde from 1.0.162 to 1.0.163 (#565)
- chore(deps): bump tokio from 1.28.0 to 1.28.1 (#560)
- chore(deps): bump serde from 1.0.160 to 1.0.162 (#554)
- improve README (#587)
- tests: read at most 1024 lines of logs before rpc server output (#556)
- helpers: parse rpc server addr (#552)
- change
submission strategy == if leading
to not submit equal score (#589)
Tested against:
- Polkadot v9420
- Kusama v9420
- Westend v9420
This is a release to support new runtime changes in polkadot v0.9.42.
commands
module to expose each sub-command, and put options next to them (#540)
- fix: update Cargo.lock for v0.1.3 (#499)
Tested against:
- Polkadot v9420
- Kusama v9420
- Westend v9420
This is a patch release that fixes a bug which takes the Weight::proof_size
into account.
- fix: use
Weight::proof_size
(#481)
- chore: upgrade subxt v0.27 (#464)
- chore(deps): bump once_cell from 1.17.0 to 1.17.1 (#463)
- chore(deps): bump secp256k1 in /staking-miner-playground (#470)
- chore(deps): bump tokio in /staking-miner-playground (#471)
- chore: adjust ci staking-miner-playground (#469)
- chore(deps): bump paste from 1.0.11 to 1.0.12 (#477)
- chore(deps): bump thiserror from 1.0.38 to 1.0.39 (#478)
- chore(deps): bump serde_json from 1.0.93 to 1.0.94 (#479)
- chore(deps): bump tokio from 1.25.0 to 1.26.0 (#476)
- chore(deps): bump assert_cmd from 2.0.9 to 2.0.10 (#493)
- chore(deps): bump assert_cmd from 2.0.8 to 2.0.9 (#492)
- chore(deps): bump serde from 1.0.155 to 1.0.156 (#490)
- chore(deps): bump serde from 1.0.154 to 1.0.155 (#487)
- chore(deps): bump hyper from 0.14.24 to 0.14.25 (#488)
- chore(deps): bump futures from 0.3.26 to 0.3.27 (#489)
- chore(deps): bump serde from 1.0.153 to 1.0.154 (#486)
- chore: remove unused dependencies (#485)
- chore(deps): bump wasmtime from 5.0.0 to 5.0.1 (#484)
- chore(deps): bump serde from 1.0.152 to 1.0.153 (#482)
- Bump hyper from 0.14.23 to 0.14.24 (#457)
- Bump serde_json from 1.0.91 to 1.0.93 (#460)
- Bump futures from 0.3.25 to 0.3.26 (#456)
- Bump tokio from 1.24.2 to 1.25.0 (#455)
- Bump bumpalo from 3.10.0 to 3.12.0 (#453)
- Bump tokio from 1.24.1 to 1.24.2 (#452)
Tested against:
- Polkadot v9390
- Kusama v9390
- Westend v9390
This is a release that adds a couple of new features/CLI options, a useful one is --dry-run
which will check the validity of
the mined solution which for example can spot if an account has too low balance but it requires that the RPC
endpoint exposes unsafe RPC methods
to work.
In addition, this release fixes another multiple solution bug.
- feat: add delay and log CLI args (#442)
- fix:
dryRun check
+fix multiple solutions bug
(#443)
- Bump tokio from 1.23.1 to 1.24.1 (#448)
- Bump assert_cmd from 2.0.7 to 2.0.8 (#449)
- Bump tokio from 1.23.0 to 1.23.1 (#447)
- Bump serde from 1.0.151 to 1.0.152 (#444)
- Bump once_cell from 1.16.0 to 1.17.0 (#446)
- Bump paste from 1.0.9 to 1.0.11 (#438)
- Bump serde from 1.0.149 to 1.0.151 (#439)
- Bump serde_json from 1.0.89 to 1.0.91 (#440)
- Bump thiserror from 1.0.37 to 1.0.38 (#441)
- Bump secp256k1 from 0.24.0 to 0.24.2 (#432)
- Bump scale-info from 2.3.0 to 2.3.1 (#434)
Tested against:
- Polkadot v9360
- Kusama v9360
- Westend v9360
This is a patch release that fixes a bug in --listen finalized
before it was possible to submit multiple solutions because the solution was regarded as finalized when it was included in block.
- fix:
--listen finalized
wait for finalized xt (#425)
- Bump jsonrpsee from 0.16.1 to 0.16.2 (#427)
- Bump assert_cmd from 2.0.6 to 2.0.7 (#428)
- Bump serde from 1.0.147 to 1.0.148 (#424)
- Bump serde_json from 1.0.88 to 1.0.89 (#423)
Tested against:
- Polkadot v9330
- Kusama v9330
- Westend v9330
The first release of staking miner v2.
Tested against:
- Polkadot v9330
- Kusama v9330
- Westend v9330