dependabot[bot]
fcbe5f1d34
Bump syn from 1.0.94 to 1.0.95 ( #5539 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.94 to 1.0.95.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.94...1.0.95 )
---
updated-dependencies:
- dependency-name: syn
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 20:33:52 +00:00
dependabot[bot]
1a6753237d
Bump femme from 2.2.0 to 2.2.1 ( #5534 )
...
Bumps [femme](https://github.com/lrlna/femme ) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/lrlna/femme/releases )
- [Commits](https://github.com/lrlna/femme/commits )
---
updated-dependencies:
- dependency-name: femme
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 08:16:51 +00:00
Andrei Sandu
7f3001a491
Add counter for bounded channel sends that block. ( #5490 )
...
* Add counter for bounded channel sends that block.
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix typos
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix bounded sent metric
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* refactor a bit and test
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Return disconnect errors early.
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* future proof error handling
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-05-17 08:01:48 +00:00
dependabot[bot]
b701797421
Bump zstd from 0.10.0+zstd.1.5.2 to 0.10.2+zstd.1.5.2 ( #5527 )
...
Bumps [zstd](https://github.com/gyscos/zstd-rs ) from 0.10.0+zstd.1.5.2 to 0.10.2+zstd.1.5.2.
- [Release notes](https://github.com/gyscos/zstd-rs/releases )
- [Commits](https://github.com/gyscos/zstd-rs/commits )
---
updated-dependencies:
- dependency-name: zstd
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 13:31:23 +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]
439709bcce
Bump syn from 1.0.92 to 1.0.94 ( #5528 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.92 to 1.0.94.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.92...1.0.94 )
---
updated-dependencies:
- dependency-name: syn
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:17:35 +00:00
Bernhard Schuster
7f0180cef7
disable graph and expand features by default ( #5530 )
...
See https://github.com/paritytech/ci_cd/issues/433
2022-05-16 09:05:36 +02:00
dependabot[bot]
5afc2fd26a
Bump serde_json from 1.0.79 to 1.0.81 ( #5466 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.79 to 1.0.81.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.79...v1.0.81 )
---
updated-dependencies:
- dependency-name: serde_json
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-15 23:47:47 -04: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
Bernhard Schuster
26340b9054
more ParaId::from uses ( #5514 )
2022-05-12 16:46:19 +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
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
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
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
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
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
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
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
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
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
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
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
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
Pierre Besson
6a0c11d03c
update Rococo chainspec JSON to v2_2 ( #5407 )
2022-04-28 14:54:56 +02:00
asynchronous rob
9c1a3bd18b
backing: refactor off of jobs system ( #5377 )
...
* backing: refactor off of jobs system
* rename FailedToSpawnBg
* refactor: backing uses fatality
* fix service compilation
2022-04-27 22:19:45 +00:00
Vsevolod Stakhov
f84cb5f0f3
Reduce log severity ( #5404 )
2022-04-27 16:10:42 +01:00
Adrian Catangiu
8e7663ba3d
service: use deny-list instead of allow-list for BEEFY ( #5331 )
...
* use deny-list instead of allow-list for BEEFY
Instead of allowing BEEFY to run on specific test nets,
inverse the condition to explicitly disallow BEEFY on
production chains that we don't want it to run on yet.
This allows other test chains (other than Rococo/Wococo)
that use the polkadot service file to enable and test BEEFY.
Signed-off-by: Adrian Catangiu <adrian@parity.io >
* address review comments
* throw error if BEEFY enabled on production networks
Signed-off-by: acatangiu <adrian@parity.io >
2022-04-26 13:24:09 +00:00
Koute
b049d4f1c9
Add hardware benchmark telemetry (Companion for Substrate#11062) ( #5206 )
...
* Align to changes in Substrate
* Align to the newest changes in substrate
* Rename `--disable-hardware-benchmarks` to `--no-hardware-benchmarks`
* Fix `polkadot-test-service` compilation
* Fix compilation of test parachains
2022-04-26 09:16:31 +00:00
Bernhard Schuster
033950ca36
metrics separation ( #5391 )
...
* split metrics from collation generation
* move metrics to separate file out of backing
* split bitfield signing metrics
* split candidate validation metrics
* split chain api metrics
* split metrics from runtime API
* util is not used in backed metrics mod
* fmt
* missing types
* sure
2022-04-25 17:17:29 +00:00
Squirrel
c01a9ea524
polkadot-like testnets should be 10 decimal places ( #5369 )
...
* polkadot is 10 decimal places
* cargo fmt
* Update node/service/src/chain_spec.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* name change
* update test also
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2022-04-25 17:17:11 +00:00
Squirrel
35f6712c5e
fast-runtime tweak ( #5201 )
...
* These should be included in fast-runtime
2022-04-25 17:23:47 +01:00
dependabot[bot]
08f5cc9ca6
Bump bounded-vec from 0.5.0 to 0.6.0 ( #5372 )
...
Bumps [bounded-vec](https://github.com/ergoplatform/bounded-vec ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/ergoplatform/bounded-vec/releases )
- [Changelog](https://github.com/ergoplatform/bounded-vec/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/ergoplatform/bounded-vec/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: bounded-vec
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-22 16:56:55 +02:00
Vsevolod Stakhov
a5742b9ec1
Extract peers grid topology related code to a separate unit ( #5365 )
...
* Initial attempt to extract grid topology related code
* Use shared code in the approval distribution subsystem
* Fix spellcheck issues
* Moe Aggression stuff back to the approval-distribution subsystem
* Cargo fmt
2022-04-22 11:19:36 +01:00