Mara Robin B
2bb89cc5c9
cargo fmt ( #5515 )
2022-05-12 09:42:58 -04:00
Mara Robin B
5e458f6acb
update weights ( #5507 )
...
* rococo: update weights
* polkadot: update weights
* kusama: update weights
* westend: update weights
2022-05-12 10:44:21 +00:00
Andronik
15e7536a4e
runtime/session_info: keep track of stash keys ( #5473 )
2022-05-12 09:36:57 +00:00
Kian Paimani
eb2448e1be
companion for 11350 ( #5489 )
...
* fix all runtimes
* fix staking miner
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-05-11 19:22:15 +00:00
Denis Pisarev
bca124a46f
CI: temporarily build docs with a nightly compiler ( #5508 )
2022-05-11 20:23:30 +02:00
Bernhard Schuster
d437a33e0b
polkadot-node-subsystem package rename mish mash cleanup ( #5502 )
...
* unify to polkadot-node-subsystem{,-test-helpers}
* chore: fmt
2022-05-11 15:32:38 +00:00
Bernhard Schuster
b67b7fa355
Avoid an excessive amount of unrelated errors on prior rustc error
...
`1.into()` -> `ParaId::from(1_u32)` (#5500 )
2022-05-11 16:11:48 +02:00
Niklas Adolfsson
718380119a
companion for #11395 ( #5499 )
...
* companion for 11395
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-05-11 14:24:07 +02:00
Chevdor
42ceb1c1b1
Release notes fixes ( #5494 )
...
* Move compiler information below priority information
* Show docker section by default
* Show a mention even if there are no host functions
* Fix the wording for the migrations
* Fix some wording
* Include free notes section
* Fix spacing issue
* Rename the free notes template
* Few minor changes including reworking the tag rendering
2022-05-11 11:20:34 +02:00
Davide Galassi
8837dc7e6f
Revert approval voting ( #5438 )
...
* Revert approval-voting subsystem
* Approval voting revert encapsulated within 'ops' module
* use 'get_stored_blocks' to get lower block height
* Fix error message
* Optionally shrink/delete stored blocks range
* range end number is last block number plus 1
* Apply code review suggestions
* Use tristate enum for block range in backend overlay
* Add clarification comment
* Add comments to private struct
2022-05-11 10:28:16 +02:00
Kian Paimani
9f21ec97b8
Add Nomination Pools to Kusama ( #5447 )
...
* add nomination pools to kusama
* Update runtime/kusama/src/lib.rs
Co-authored-by: Mara Robin B. <mara@broda.me >
* Update runtime/kusama/src/lib.rs
* probably fix build
* really fix build
* fix benches
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
* whitelist transactional storage limit
* make defensive
* fix
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/westend/src/weights/
* update
* fix benches
* cargo run --quiet --profile=production --features=runtime-benchmarks -- benchmark pallet --chain=kusama-dev --steps=50 --repeat=20 --pallet=pallet_nomination_pools --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --output=./runtime/kusama/src/weights/
* change head
* fmt
Co-authored-by: Mara Robin B. <mara@broda.me >
Co-authored-by: Parity Bot <admin@parity.io >
2022-05-11 07:35:05 +02:00
Kian Paimani
be8cbc8001
Companion for pools tweaks ( #5488 )
...
* add weights
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-05-10 18:42:37 +01:00
Robert Klotzner
7a602c47ab
Double grandpa gossip duration for Kusama and test networks ( #5448 )
...
* Double grandpa gossip duration.
* Make resend period slightly larger.
So it won't get triggered by additional grandpa delay.
* Bump other values as well.
* Don't change gossip duration on Polkadot.
(and Westend as it is meant to be a testbed for Polkadot)
2022-05-10 12:48:18 +00:00
Niklas Adolfsson
804d0f38a5
companion for #8783 - jsonrpsee ( #4344 )
...
* add jsonrpsee glue code
* diener --substrate dp-jsonrpsee-integration-2
* cargo fmt
* update substrate
* fix build
* update substrate
* fix tests
* update substrate
* update substrate
* revert Cargo.toml
* revert changes in Cargo.toml
* jsonrpsee v0.11
* fix staking miner
* chore: update jsonrpsee v0.12
* update companion
* update companion
* fix changes in substrate
* revert requires_full_sync removal
* fix: read WS address from polkadot output
* fit nits
* fix more nits
* update lockfile for {"substrate"}
* cargo fmt
Co-authored-by: parity-processbot <>
2022-05-10 12:13:38 +02:00
Alexander Samusev
2a89e5612b
[ci] change polkadot binary extra tag ( #5483 )
2022-05-09 17:40:18 +02:00
Andrei Sandu
e29d8e91da
Improve dispute-coordinator message burstiness handling ( #5471 )
...
* Increase message channel size to 2048
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Use unbounded channel for reading data
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-05-09 10:00:05 +00:00
dependabot[bot]
992705d127
Bump log from 0.4.16 to 0.4.17
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.16 to 0.4.17.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/commits/0.4.17 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-08 22:32:57 +02:00
dependabot[bot]
fbfd292435
Bump enumn from 0.1.3 to 0.1.4 ( #5453 )
...
Bumps [enumn](https://github.com/dtolnay/enumn ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/dtolnay/enumn/releases )
- [Commits](https://github.com/dtolnay/enumn/compare/0.1.3...0.1.4 )
---
updated-dependencies:
- dependency-name: enumn
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-07 21:02:14 +00:00
cheme
fc568486fa
update parity-db version ( #5472 )
2022-05-06 15:24:16 +02:00
Robert Klotzner
35a87e0fa3
Include log target for parachains-inherent. ( #5470 )
2022-05-06 13:20:56 +00:00
Tsvetomir Dimitrov
20e56a453c
Disputes which are unknown for the Runtime are sent with priority by the Provisioner when preparing inherent data ( #5336 )
...
* Implement MallocSizeOf for DisputeState
* Implementation of `Disputes` Runtime API message
* Modify on-chain dispute import
* Add feature flag for the new functionality
* Update node/core/provisioner/src/onchain_disputes.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* Add target to log messages
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Use `staging-client` feature to enable the client code using the staging runtime api
* Remove TODO comment
* Don't filter out DisputeState
* Fix disputes selection logic
* spelling
* Tests
* Rename `Disputes` message to `StagingDisputes`
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
* Code review feedback
- Logging
- Separate error module
- Add additional fields for GetOnchainDisputesErr
- logging and impl MallocSizeOf
- fix impl MallocSizeOf for DisputeState
- fix tests
* Update node/core/provisioner/src/error.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/core/provisioner/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Apply suggestions from code review
dummy metrics instance
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
* Revert "Apply suggestions from code review"
This reverts commit 6dc518cbf77e037ff4760d315938a68c806e662e.
* Code review feedback: #[cfg(test)] for new_dummy() in metrics
* Code review feedback: break the disputes generation logic in separate functions
* Code review feedback - align_eight
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
Co-authored-by: Andronik <write@reusable.software >
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
2022-05-06 12:58:04 +00:00
Vsevolod Stakhov
673a32d968
Use grid topology for bitfileds distribution messages ( #5389 )
...
* Move NewGossipTopology -> SessionGridTopology outside as this implementation is shared
* Add method to return peers difference between topologies
* Implement basic grid topology usage for the bitfield distribution
* Fix tests
* Oops, fix tests
* Add some tests for random routing
* Add a unit test for topology distribution
* Store the current and the previous topology to match sessions boundaries
* Update tests
* Update node/network/bitfield-distribution/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/protocol/src/grid_topology.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/bitfield-distribution/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Add some debug
* Fix tests as HashSet order is undefined
Co-authored-by: Andronik <write@reusable.software >
2022-05-06 12:24:11 +00:00
Sergejs Kostjucenko
53a1db59bc
[ci] update approval rules ( #5467 )
...
* update approval rules
* change approval count
* Apply suggestions from code review
Co-authored-by: João Paulo Silva de Souza <77391175+joao-paulo-parity@users.noreply.github.com >
Co-authored-by: João Paulo Silva de Souza <77391175+joao-paulo-parity@users.noreply.github.com >
2022-05-06 14:52:11 +03:00
Roman Gafiyatullin
d9f6c206a9
A companion PR to the https://github.com/paritytech/substrate/pull/10995 ( #5446 )
...
* Add BlockBackend::requires_full_sync() implementation
* do not specify --pruning explicitly
* update lockfile for {"substrate"}
* Please re-run the CI
* Please re-run the CI
Co-authored-by: Roman Gafiyatullin <rg@rgmbp-16-m1.lan >
Co-authored-by: parity-processbot <>
2022-05-06 11:33:06 +00:00
dependabot[bot]
48fb8bfb4e
Bump nix from 0.23.1 to 0.24.1
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.23.1 to 0.24.1.
- [Release notes](https://github.com/nix-rust/nix/releases )
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nix-rust/nix/compare/v0.23.1...v0.24.1 )
---
updated-dependencies:
- dependency-name: nix
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-06 02:26:47 +02:00
Chevdor
5ef032a1da
Upgrade gha ( #5462 )
...
* Bump actions/checkout to v3
* Fix naming
* Upgrade to GHA chevdor/srtool v0.4
2022-05-05 18:16:56 +02:00
Bernhard Schuster
abf882c591
dyn overseer channel capacity ( #5454 )
...
* allow runtime adjustment of signal channel size
Closes #5436
2022-05-05 17:22:17 +02:00
Jun Jiang
2e1a3441f9
add force_batch weight entry to runtimes ( #5452 )
2022-05-05 14:39:30 +00:00
dependabot[bot]
3a01f0697f
Bump trybuild from 1.0.60 to 1.0.61
...
Bumps [trybuild](https://github.com/dtolnay/trybuild ) from 1.0.60 to 1.0.61.
- [Release notes](https://github.com/dtolnay/trybuild/releases )
- [Commits](https://github.com/dtolnay/trybuild/compare/1.0.60...1.0.61 )
---
updated-dependencies:
- dependency-name: trybuild
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-05 12:36:10 +02:00
dependabot[bot]
0493fed686
Bump tokio from 1.17.0 to 1.18.1
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.17.0 to 1.18.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.17.0...tokio-1.18.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-05 01:19:55 +02:00
Robert Klotzner
1213a3a0b9
Make versi-staging match previous configs ( #5416 )
...
Also get rid of pointless versi chainspec.
2022-05-04 22:20:57 +02:00
André Silva
82cb3c0570
Companion for substrate#11113 ( #5406 )
...
* runtime: use ParentBlockRandomness instead of CurrentBlockRandomness
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-05-04 17:14:17 +00:00
João Paulo Silva de Souza
5246fc0195
customize check-dependent-* for release engineering ( #5425 )
2022-05-04 16:45:30 +02:00
dependabot[bot]
bd5db20e7c
Bump thiserror from 1.0.30 to 1.0.31 ( #5439 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.30...1.0.31 )
---
updated-dependencies:
- dependency-name: thiserror
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-04 13:53:53 +00:00
Andronik
69af87a199
more verbose assignment cert errors ( #5433 )
...
* more verbose assignment cert errors
* rename a variant to InvalidAssignmentKey
2022-05-04 14:45:11 +02:00
Web3 Smith
9cdfbb4c8d
Update MMR Runtime API - add proof batching ( #4700 )
...
* update runtime apis
* rebase
* update apis
* update apis
* minor fix
* minor fix
* minro fixes
* update api
* style fix
* update lockfile for {"substrate"}
Co-authored-by: acatangiu <adrian@parity.io >
Co-authored-by: parity-processbot <>
2022-05-04 11:26:32 +00:00
Shawn Tabrizi
dde3a74102
bump sp-io and parity-db
2022-05-04 02:00:17 +02:00
Robert Klotzner
8dbc4d8a6e
Reduce log verbosity ( #5440 )
...
* Reduce log verbosity
* Update node/network/availability-recovery/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
Co-authored-by: Andronik <write@reusable.software >
2022-05-03 14:04:07 +02:00
dependabot[bot]
b7a5044e82
Bump serde from 1.0.136 to 1.0.137 ( #5429 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.136 to 1.0.137.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.136...v1.0.137 )
---
updated-dependencies:
- dependency-name: serde
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-03 10:27:13 +00:00
Sergejs Kostjucenko
d54e3f7cb7
remove vault from ci ( #5420 )
2022-05-03 00:11:15 +03:00
Robert Klotzner
2bbae6e6ef
Increase timeout, as it seems to be hit on CI ( #5427 )
...
occasionally.
If this keeps being a problem, we might also increase the channel size:
https://github.com/paritytech/polkadot/blob/49f7e5cce45c44b6fcbad3c612b92657eb7a52df/node/subsystem-test-helpers/src/lib.rs#L239
2022-05-02 12:50:35 +02:00
Andronik
6bfa097142
make spellcheck green again ( #5428 )
2022-05-02 10:20:45 +02:00
asynchronous rob
a641ba1e7a
have av-store bail when recv() fails ( #5418 )
2022-05-01 15:22:23 +00:00
dependabot[bot]
e4199f900f
Bump syn from 1.0.91 to 1.0.92
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.91 to 1.0.92.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.91...1.0.92 )
---
updated-dependencies:
- dependency-name: syn
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-30 00:09:01 +02:00
asynchronous rob
5142bb98bc
break provisioner/candidate-backing cycle ( #5419 )
2022-04-29 14:00:42 +00:00
Roman
44f3e6f6ab
Companion for substrate#11009 ( #5414 )
...
* Downgrade zeroize to v1.4.3
* Update Substrate
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-04-29 12:07:57 +00:00
dependabot[bot]
47eaca3eee
Bump clap from 3.1.10 to 3.1.12 ( #5381 )
...
Bumps [clap](https://github.com/clap-rs/clap ) from 3.1.10 to 3.1.12.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.10...v3.1.12 )
---
updated-dependencies:
- dependency-name: clap
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-04-29 04:18:06 +00:00
Kian Paimani
dfaec1505d
add nomination pools to westend runtime ( #5405 )
...
* add nomination pools to westend rutnime
* Fix buikd
* fit some shit
* add real weights from substrate weights computed on the same bench machine
2022-04-28 18:16:24 +00:00
Davide Galassi
bbdfc3d9c6
Chain-selection subsystem data revert ( #5350 )
...
* Chain-selection subsystem data revert
* Cargo fmt
* Better code comments
* Remove unwraps
* Document public method
* Remove duplicated 'ChainSelectionSubsystem' impl block
* Fix typos
* Nitpicks
* Revert returns a service Error
* Removed superflous error handling
* Apply suggestions from code review
* Rename tree 'revert' to 'revert_to'
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
2022-04-28 17:44:14 +02:00
Robert Klotzner
ac23b3f96c
Quick'n dirty Versi chainspec config. ( #5412 )
...
* Quick'n dirty Versi chainspec config.
* Right order
* Fix wrong variable usage
* Fix weird typo.
* Update node/service/src/chain_spec.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-04-28 17:10:14 +02:00