Juan
b95cc76d7c
Replace Index for Nonce ( #7374 )
...
* replace Index for Nonce
* remove extra Nonce
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-07-14 08:13:39 +00:00
Lulu
1abddc2efe
Add publish = false to test-parachains and staking-miner ( #7481 )
...
These crates should not be pushed.
See: https://forum.parity.io/t/renaming-squated-crates-in-substrate-polkadot-cumulus/1964
2023-07-10 15:22:13 +02:00
Koute
8eda0a039f
Bump parity-scale-codec to 3.6.1 ( #7382 )
2023-06-21 19:24:24 +09:00
Sam Johnson
7f5f3bb20a
bump serde to 1.0.163 ( #7315 )
...
* bump serde to 1.0.163
* bump ci
* update lockfile for {"substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-31 17:41:43 +00:00
Chevdor
54584ee9f6
Add staking-miner bin ( #7273 )
...
* Add staking-miner bin
* Fix build and doc
---------
Co-authored-by: parity-processbot <>
2023-05-24 15:23:34 +02:00
Przemek Rzad
34b92b75c5
Update Staking Miner Readme ( #6926 )
...
* Update Staking Miner readme
* Update README.md
* Update utils/staking-miner/README.md
* Update utils/staking-miner/README.md
* Update utils/staking-miner/README.md
---------
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
2023-05-09 16:06:47 +02:00
Liam Aharon
ac09a84115
Companion for #13923 ( #7111 )
...
* make staking miner compatible with new OnlineConfig
* remove dead code
2023-04-21 18:47:12 +10:00
s0me0ne-unkn0wn
64660ee8d2
Remove years from copyright notes ( #7034 )
...
* Happy New Year!
* Remove year entierly
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove years from copyright notice in the entire repo
---------
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-04-08 20:38:35 +00:00
Niklas Adolfsson
bf8559a37c
staking miner: less aggresive submissions ( #6978 )
...
* staking miner: less aggresive submissions
We have noticed that the staking-miner performs many concurrent RPC calls (more than 256).
Probably because these batch request are getting bigger because the state is growing.
So let's relax this and mine solutions sequentially i.e, mine solution
one solution at the time and not in concurrently.
* add check if self hasn't submitted after mining
2023-03-30 16:01:18 +02:00
Tsvetomir Dimitrov
95f0ca271e
Bump parity-scale-codec to v 3.4.0 ( #6945 )
2023-03-23 15:15:03 +00:00
Oliver Tale-Yazdi
894dcad54b
Delete unused Cargo.lock ( #6870 )
...
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-03-13 17:52:30 +00:00
dependabot[bot]
36f014d3a9
Bump tokio from 1.24.1 to 1.24.2 ( #6671 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 10:16:25 +01:00
Keith Yeung
1790d0ae36
Bump parity-scale-codec to 3.3.0 ( #6666 )
2023-02-03 14:03:38 +00:00
Przemek Rzad
caa5464c15
Add a CI check ensuring the code has license headers ( #6609 )
...
* Introduce a job scanning and ensuring there are licenses
* Showcase a red test
* Add missing licenses
* Cleanup
* Extend the check
* Add missing licenses
* CI trigger
2023-02-03 12:02:23 +00:00
dependabot[bot]
6fdaef92d5
Bump tokio from 1.22.0 to 1.24.1 ( #6523 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.22.0 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.22.0...tokio-1.24.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-09 12:05:11 +00:00
Kian Paimani
a3c81fe2a9
companion for try-runtime revamp ( #6187 )
...
* update to reflect latest try-runtime stuff
* update to latest version
* fix
* fix miner
* update
* update
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-12-15 09:10:16 +00:00
Niklas Adolfsson
8db9bb5dfd
companion for #12663 jsonrpsee v0.16 ( #6339 )
...
* companion for #12663 jsonrpsee v0.16.1
* update substrate
* merge master
* Update rpc/Cargo.toml
Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com >
* Update utils/staking-miner/Cargo.toml
Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com >
* update lockfile for {"substrate"}
Co-authored-by: Alexandru Vasile <60601340+lexnv@users.noreply.github.com >
Co-authored-by: parity-processbot <>
2022-12-12 12:40:37 +01:00
João Paulo Silva de Souza
067b2ab926
Companion of Substrate PR 12837 ( #6385 )
...
* rename some crates for publishing to crates.io
* s/remote-ext/frame-remote-externalities
* cargo update
2022-12-06 12:30:49 +00:00
Squirrel
be403051dc
Set polkadot version in one place ( #6095 )
...
* rust 1.64 enables workspace properties
* add edition, repository and authors.
* of course, update the version in one place.
Co-authored-by: Andronik <write@reusable.software >
2022-12-05 11:36:16 +00:00
Dmitry Markin
f2f5345ac2
Upgrade tokio to 1.22.0 ( #6262 )
...
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
2022-12-05 13:15:06 +03:00
Mara Robin B
b76086c617
sync versions with current release (0.9.33) ( #6363 )
...
* westend: update transaction version
* polkadot: update transaction version
* kusama: update transaction version
* Bump spec_version to 9330
* bump versions to 0.9.33
2022-11-30 10:32:20 +02:00
Ankan
a3fefccbeb
[Companion] Bound Election and Staking by MaxActiveValidators ( #6157 )
...
* add maximum winners to multi phase election provider
* fallback to noelection
* fmt
* missing values
* convert boundedvec to inner before sort
* dont clone
* pr feedback
* update lockfile for {"substrate"}
* run onchain election on westend benchmark
Co-authored-by: parity-processbot <>
2022-11-09 12:00:03 +01:00
Niklas Adolfsson
e1ccb8499d
staking miner: remove needless queue check ( #6221 )
...
* staking miner: remove needless queue check
If the queue is full and the "mined solution" is better than solutions in the queue according to the "strategy"
then the solution with worse score will be kicked out from the queue.
Thus, the check can be removed completly.
* fix compile warns
2022-11-08 16:19:48 +00:00
Mara Robin B
f8cc39a761
sync versions with current release (0.9.31) ( #6176 )
...
* Bump spec_version to 9310
* bump transaction_version (0.9.31) (#6171 )
* Bump transaction_version for polkadot
* Bump transaction_version for kusama
* Bump transaction_version for rococo
* Bump transaction_version for westend
* Bump transaction_version for polkadot
* Bump transaction_version for kusama
* Bump transaction_version for rococo
* Bump transaction_version for westend
* Bump crate versions (0.9.31)
2022-10-22 00:08:53 -04:00
Kian Paimani
7e3ac821e9
Companion for EPM duplicate submissions ( #6115 )
...
* make it work
* add migration
* fix
* Update utils/staking-miner/src/opts.rs
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
* Update utils/staking-miner/src/monitor.rs
* small tweaks
* Update utils/staking-miner/src/opts.rs
Co-authored-by: Bastian Köcher <info@kchr.de >
* fmt
* fix print'
* fmt
* update lockfile for {"substrate"}
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
Co-authored-by: parity-processbot <>
2022-10-19 20:45:23 +00:00
Niklas Adolfsson
400ee474a5
companion for #12212 ( #6162 )
...
* companion for #12212
* cargo fmt
* fix build
* update Cargo.lock
* update Cargo.lock
2022-10-18 20:09:37 +02:00
Sebastian Kunert
99f705537b
Update clap to version 4 ( #6128 )
...
* Move clap to 4.0.9
* Remove "deprecated" feature flag
* Convert to default_value_t
* update lockfile for {"substrate"}
* Add group(skip) to avoid naming conflict
* More group(skip)
Co-authored-by: parity-processbot <>
2022-10-18 09:02:41 +00:00
Alexandru Vasile
bc9da4d5d0
Companion for #12328 ( #6058 )
...
* staking-miner: Adjust `TransactionStatus` update
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* update lockfile for {"substrate"}
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Co-authored-by: parity-processbot <>
2022-10-11 09:28:00 +00:00
Niklas Adolfsson
d9ea02c09a
staking miner: CLI make request and connection timeout configurable ( #6004 )
...
* staking miner: CLI request and connection timeout
Make it possible to configure the `connection timeout` and `request timeout` via CLI flags.
* cargo fmt
2022-09-26 20:56:12 +00:00
Sergej Sakac
8ea6076fe5
Companion for #11981 ( #5915 )
...
* Companion for #11981
* more renaming
* fmt
* fixes
* add generic type
* Companion for #11831
* fix
* revert changes
* Delete rename-outer-enum.diff
* revert
* Update run_benches_for_runtime.sh
* rename type Call & type Event
* passing tests
* fmt
* small fixes
* commit
* fix
* fmt
* commit
* error fixes
* fix
* small fix in test
* Update lib.rs
* Update lib.rs
* Update lib.rs
* Update lib.rs
* Update lib.rs
* Update lib.rs
* Update lib.rs
* remove RuntimeCall from pallet_grandpa
* last fix
* commit
* rename
* merge fix
* update lockfile for {"substrate"}
* cargo +nightly fmt
* fix
Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-09-12 23:03:47 +00:00
Mara Robin B
1acc3fa150
Sync versions with current release (v0.9.29) ( #5982 )
...
* Bump transaction_version for westend
* Bump transaction_version for rococo
* Bump transaction_version for kusama
* Bump transaction_version for polkadot
* Bump spec_version to 9290
* Bump crate versions
2022-09-09 11:24:06 +00:00
Mara Robin B
fc97080cb2
version bumps (0.9.28) ( #5933 )
...
* Bump crate versions
* Bump spec_version to 9280 for kusama
* Bump spec_version to 9280 for polkadot
* Bump spec_version to 9280 for rococo
* Bump spec_version to 9280 for westend
* update Cargo.lock
Co-authored-by: parity-processbot <>
2022-08-29 18:01:58 +02:00
dependabot[bot]
6aef4711dc
Bump tokio from 1.18.2 to 1.19.2 ( #5678 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.18.2 to 1.19.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.18.2...tokio-1.19.2 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 13:12:03 +02:00
Alexandru Vasile
d84433bd7f
Companion for #11939 ( #5846 )
...
* Bump jsonrpsee to v0.15.1
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update cargo.lock
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Minimal update to Cargo.lock
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* update substrate
* update lockfile for {"substrate"}
* update substrate master
* Allow benchmark checks to fail
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
Co-authored-by: parity-processbot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-08-03 12:23:16 +02:00
Chevdor
85dabbd850
Backport crate version bumps to 0.9.27 ( #5826 )
...
* Bump crate versions
* Update cargo.lock
2022-07-28 10:03:27 +00:00
Chevdor
9b086257e2
staking-miner: Add handling of SIGTERM, SIGKILL, SIGQUIT and SIGINT (#5780 )
...
* Add handling of SIGTERM, SIGINT and SIGQUIT
Fix #5649
* Fix signals and log levels
* Add missing imports
* Add sig count to the logs
2022-07-19 09:32:56 +02:00
Chevdor
9fc4e16eff
Version bump to v0.9.26/9260 ( #5755 )
...
* Bump spec_version to 9260
* Version bump to v0.9.26
2022-07-06 10:31:45 +00:00
Niklas Adolfsson
6d672f0951
fix(staking miner): check latest state in solution ( #5744 )
2022-07-01 15:05:01 +00:00
Niklas Adolfsson
ef198a579c
staking-miner: CLI flag delay solution x secs ( #5734 )
...
* staking-miner: CLI flag delay solution x secs
* Update utils/staking-miner/src/monitor.rs
* Update utils/staking-miner/src/opts.rs
* more logging
* add more verbose logging
* Update utils/staking-miner/src/opts.rs
Co-authored-by: David <dvdplm@gmail.com >
* Update utils/staking-miner/src/opts.rs
Co-authored-by: David <dvdplm@gmail.com >
* remove redundant check
Co-authored-by: David <dvdplm@gmail.com >
2022-06-30 10:46:37 +00:00
Chevdor
700f19e2ed
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 >
2022-06-25 16:46:18 +02:00
Mara Robin B
97f9b840e4
bump versions to 0.9.25 ( #5684 )
...
* kusama: bump spec_version to 9250
* polkadot: bump spec_version to 9250
* rococo: bump spec_version to 9250
* westend: bump spec_version to 9250
* bump version to 0.9.25
* bump transaction version (polkadot & kusama) (#5690 )
* kusama: bump transaction_version to 12
* polkadot: bump transaction_version to 13
2022-06-21 13:02:04 +00:00
Georges
2ba1c54fc7
Companion to combine iteratons and tolerance in sp-npos-elections API #11498 ( #5581 )
...
* Fixing staking miner
* cargo update -p sp-io
* fix spell
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2022-06-15 20:57:26 -04:00
Niklas Adolfsson
77f4cab60c
Companion for #11661 ( #5676 )
...
* bump jsonrpsee v0.14.0
* update Cargo.lock
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-06-14 23:48:31 +02:00
Mara Robin B
7eba8f2162
bump to 0.9.23 ( #5593 )
...
* bump version to 0.9.23
* bump spec_version to 9230
2022-05-27 10:18:23 +02:00
dependabot[bot]
2907a7aeae
Bump jsonrpsee from 0.13.0 to 0.13.1 ( #5533 )
...
Bumps [jsonrpsee](https://github.com/paritytech/jsonrpsee ) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/paritytech/jsonrpsee/releases )
- [Changelog](https://github.com/paritytech/jsonrpsee/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/jsonrpsee/compare/v0.13.0...v0.13.1 )
---
updated-dependencies:
- dependency-name: jsonrpsee
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 23:02:09 +02:00
Mara Robin B
3b685fbf91
version bumps (0.9.22) ( #5495 )
...
* bump versions to 0.9.22
* bump spec_version to 9220
2022-05-16 13:24:24 +02:00
dependabot[bot]
f8aea61e71
Bump tokio from 1.18.1 to 1.18.2 ( #5529 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.18.1 to 1.18.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.18.1...tokio-1.18.2 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 11:19:36 +00:00
dependabot[bot]
d319e0da9d
Bump tracing-subscriber from 0.3.10 to 0.3.11 ( #5300 )
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.3.10 to 0.3.11.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.10...tracing-subscriber-0.3.11 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 03:59:46 +00:00
Bernhard Schuster
511891dcce
refactor+feat: allow subsystems to send only declared messages, generate graphviz ( #5314 )
...
Closes #3774
Closes #3826
2022-05-12 17:39:05 +02:00
Mara Robin B
2bb89cc5c9
cargo fmt ( #5515 )
2022-05-12 09:42:58 -04:00