Commit Graph

3346 Commits

Author SHA1 Message Date
Chevdor 5c2da4e4d8 Let PR titles spread accross multiple lines in the release notes (#5521) 2022-06-21 10:46:41 +02:00
Bastian Köcher afd8fc5dee Companion: Bump syn (#5701)
* Companion: Bump syn

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
2022-06-20 11:09:06 +00:00
dependabot[bot] 1ce193e11b Bump hyper from 0.14.18 to 0.14.19 (#5607)
Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.18 to 0.14.19.
- [Release notes](https://github.com/hyperium/hyper/releases)
- [Changelog](https://github.com/hyperium/hyper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hyperium/hyper/compare/v0.14.18...v0.14.19)

---
updated-dependencies:
- dependency-name: hyper
  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-06-18 23:49:11 +02:00
Qinxuan Chen 6c1c27c1ff Remove futures 0.1 (#5699)
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
2022-06-18 14:01:33 +00:00
Mara Robin B 4d8fdf2e68 remove stale migrations (#5694)
* polkadot: remove stale migrations

* kusama: remove stale migrations
2022-06-17 22:19:01 +00:00
dependabot[bot] aab44db13a Bump indexmap from 1.8.1 to 1.9.0 (#5689)
Bumps [indexmap](https://github.com/bluss/indexmap) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/bluss/indexmap/releases)
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/bluss/indexmap/compare/1.8.1...1.9.0)

---
updated-dependencies:
- dependency-name: indexmap
  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-06-17 17:06:31 +02:00
Robert Klotzner 1dc991374b Get rid of unnecessary clone. (#5685) 2022-06-16 19:15:20 +00:00
joe petrowski e58032e2e0 Remove Kusama Nomination Pools Init (#5605)
* remove kusama nomination pools init

* remove OnRuntimeUpgrade import

* remove stale migrations from westend

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
2022-06-16 17:53:13 +00:00
Keith Yeung 2c85668512 Companion for paritytech/substrate#11631 (#5671)
* Companion for paritytech/substrate#11631

* Fixes

* Update sp-runtime

* Fixes

* update lockfile for {"substrate"}

* remove unused

Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
2022-06-16 13:36:01 -04:00
Keith Yeung 2dfc7cec47 Allow relay chain council to send XCMs (#5597)
* Allow relay chain council to send XCMs

* Update runtime/kusama/src/xcm_config.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

* spellcheck

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
Co-authored-by: joepetrowski <joe@parity.io>
2022-06-16 13:37:49 +00:00
ZhiYong a3125b9f47 Companion for substrate#11618 (#5677)
* Companion for substrate#11618

* Fix

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
2022-06-16 02:05:22 +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
dependabot[bot] 345fe4fa23 Bump lru from 0.7.5 to 0.7.7 (#5675)
Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.7.5 to 0.7.7.
- [Release notes](https://github.com/jeromefroe/lru-rs/releases)
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.7.5...0.7.7)

---
updated-dependencies:
- dependency-name: lru
  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-06-14 19:16:30 +00:00
Nazar Mokrynskyi 9a31f9a918 Companion PR for Substrate 11537 (#5619)
* Companion PR for https://github.com/paritytech/substrate/pull/11537

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
2022-06-14 18:08:13 +00:00
Vsevolod Stakhov 7f4205c462 Improve handling of the generic baggage fields (#5656)
* Parse generic baggage types more carefully to preserve inner structure

* Add example

* Way too many clones

* Allow multiple generic arguments for baggage fields

* Try to detect errors earlier

* Support more types for the baggage fields, get rid of the path constraint
2022-06-14 12:38:26 +00:00
Bernhard Schuster 11357d4095 secondary filtering (#4783)
* filter again if it's the first statement and spam slots were applied

* Update runtime/parachains/src/disputes.rs

Co-authored-by: Andronik <write@reusable.software>

* fixins

* add a proper test case, simplify some code

Co-authored-by: Andronik <write@reusable.software>
2022-06-14 12:31:35 +00:00
André Silva 46bf80c5df Companion for substrate#11302 (#5667)
* bridges: bump finality-grandpa version

* bridges: fix tests

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
2022-06-14 11:22:44 +00:00
Kian Paimani 5d8c842b45 add weights for pool::chill (#5670)
* add weights for pool::chill

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
2022-06-13 23:02:02 +00:00
Kian Paimani 48385183db Enable nomination pool slashing on Kusama and westend (#5661)
* enable pool slashes on Kusama and westend

* fix
2022-06-13 20:41:10 +00:00
Keith Yeung f3c49cb790 Companion for paritytech/substrate#11584 (#5633)
* Companion for paritytech/substrate#11584

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
2022-06-13 18:34:45 +00:00
Robert Klotzner c3c10ce4c4 Fix a storage leak in parachains db (#5594)
* Fix cleanup of old votes.

* Cleanup.

* Get rid of redundant import

* Tests + logging

* Fix db key name.

* Add some reasoning to batch size.

* Add dispute data to indexed columns

* Fix fmt

* Add helper function.

* Fix typos.

* Update node/core/dispute-coordinator/src/db/v1.rs

Co-authored-by: Andronik <write@reusable.software>

* Update node/core/dispute-coordinator/src/db/v1.rs

Co-authored-by: Andronik <write@reusable.software>

* Add metric for how long cleanup takes.

Co-authored-by: Andronik <write@reusable.software>
2022-06-13 15:38:42 +02:00
Dominique 215ae1f134 Changed Bonding & SlashDefer Duration in Westend (#5634) 2022-06-07 16:05:58 +00:00
Bernhard Schuster bd7383db5b add missing absolute path specifier (#5646) 2022-06-07 12:24:27 +01:00
dependabot[bot] 45fb4baa21 Bump crossbeam-utils from 0.8.5 to 0.8.8 (#5644)
Bumps [crossbeam-utils](https://github.com/crossbeam-rs/crossbeam) from 0.8.5 to 0.8.8.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-utils-0.8.5...crossbeam-utils-0.8.8)

---
updated-dependencies:
- dependency-name: crossbeam-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-07 10:23:00 +00:00
Bernhard Schuster 753d6f29e0 [orchestra] extract graph logic and enhance with cycle detection + coloring (#5614)
* extract graph

* move into scope

* remove dead code

* add special nodes

* avoid some clones

* better doc

* maybe better to use 

* print all cycles, or an error

Currently kosaraju_scc returns invalid cycles, which is yet to be investigated.

* don't print tiny cycles, if there is nothing to unvisited anymore, there is a cycle

* make print better

* fmt ffs

* correct: cycle -> scc

A strongly connected cluster contains at least one cycl, but could include more.
So this should be distringuished in the implementation to avoid some confusion.

* fix loop exit condition

* add a test for kosaraju behavior

* unify on 'component'

* disable graph by default

https://github.com/paritytech/ci_cd/issues/433

* chore: fmt

* move graph only to graph_helpers
2022-06-06 16:35:31 +00:00
Chevdor 425b277273 Add release branch check and refactoring (#5622)
* Add release branch chheck and refactoring

* Fix trigger patterns
2022-06-02 13:53:20 +02:00
Chevdor d57352b74f Replace problematic unicode chars (#5621) 2022-06-01 22:50:05 +02:00
Oliver Tale-Yazdi 4206f8f45a Cleanup macro magic (#5270)
* Cleanup macro magic

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Make sign_call infallible

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Fix build

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* cargo update -p sp-io

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

Co-authored-by: parity-processbot <>
2022-06-01 10:28:14 +00:00
Bastian Köcher 31bff68f94 Require signed authority discovery records (#5591)
Nodes are already publishing signed records since 0.9.17, but now we
also enable the validation of the signature.
2022-05-31 14:43:49 +02:00
Gavin Wood 5f350d4d69 Companion for #11124 (#5615)
* Bump

* Formatting
2022-05-31 11:59:54 +01:00
Robert Klotzner 72723c8a9f Request backed candidates unbounded. (#5610)
We are awaiting on the oneshot anyways, so we have back pressure. By
using the unbounded channel make log messages like the following less
likely (due to higher priority):

	2022-05-30 13:46:38
2022-05-30 11:46:38.565  WARN tokio-runtime-worker parachain::provisioner: failed to assemble or send inherent data err=CanceledBackedCandidates(Canceled)
2022-05-30 22:04:12 +02:00
Mara Robin B 3ea40ba1f7 update weights (#5601)
* polkadot: update weights

* kusama: update weights

* westend: update weights

* rococo: update weights
2022-05-30 12:41:11 +02:00
Gavin Wood 026848c932 Companion to Substrate #11490 (#5603)
* Fix warnings

* Bump
2022-05-30 11:21:03 +01:00
Mara Robin B f814695d5d [ci] Upstream benchmark script changes from https://github.com/paritytech/substrate/pull/11493 (#5586)
* [ci] Upstream benchmark script changes from https://github.com/paritytech/substrate/pull/11493

* Update scripts/ci/run_benches_for_runtime.sh

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Update scripts/ci/run_benches_for_runtime.sh

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-05-30 08:45:32 +00:00
Vsevolod Stakhov 6fa4a0e3c7 Check unbounded channel first when polling for subsystem mesages (#5566)
* Prefer unbounded channel when selecting rx events

* Fix tests

* Forgotten fmt recursion

* Extract strategy functor to allow easier modifications
2022-05-27 18:17:33 +02:00
Vsevolod Stakhov 13900dfeea Improve forceApprove logging (#5595)
* Add some meaningful logging to the force approval to understand why it fails

* Add original block into the log to simplify logs lurking

* Update node/core/approval-voting/src/import.rs

Co-authored-by: asynchronous rob <rphmeier@gmail.com>

Co-authored-by: asynchronous rob <rphmeier@gmail.com>
2022-05-27 09:32:24 +00: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
Chris Sosnin c9316799ea Remove Job trait (#5600) 2022-05-26 14:26:51 -05:00
Kian Paimani dc4a455911 remove pallet-nicks from everywhere (#5587)
* remove pallet-nicks from everywhere

* Update Cargo.lock

* Update Cargo.lock

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
2022-05-25 15:25:43 +00:00
Squirrel ba4975a690 renamed to align with cumulus (#5570) 2022-05-25 11:46:16 +00:00
Nazar Mokrynskyi c090fb4c2e Companion for #11415 (WeightToFee) (#5525)
* Companion for https://github.com/paritytech/substrate/pull/11415

* Rename `WeightToFee::calc()` to `WeightToFee::wight_to_fee()`

* Fix typo

* Fix compile errors

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
2022-05-25 10:06:01 +02:00
Niklas Adolfsson 69aa11f680 fix: --feature fast-runtime on westend (#5585)
The westend runtime was missing the fast runtime for `EpochDuration`
which caused the epoch be 1 hour which isn't fast.

This PR changes the `EpochDuration` to 2 minutes when `--fast-runtime`
is enabled, the same as polkadot and kusama.
2022-05-24 15:24:43 +00:00
Bernhard Schuster 032d623e8c orchestra license headers (#5588) 2022-05-24 13:10:03 +02:00
Bernhard Schuster fd51ecbe70 prepare orchestra crate publishing (#5579) 2022-05-24 11:06:47 +02:00
Chris Sosnin d0453cf24d Migrate provisioner subsystem (#5568) 2022-05-23 14:43:58 -05:00
João Paulo Silva de Souza 1ccd68dd15 use API for pr-custom-review (#5576) 2022-05-23 15:14:28 +02:00
Qinxuan Chen e4f6f8d76a Companion for substrate#11469 (#5569)
* Comanion for substrate#11469

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* Remove extra Rpc naming in the structs

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* Update Substrate

Co-authored-by: Bastian Köcher <info@kchr.de>
2022-05-21 08:37:55 +00:00
Bisola Olasehinde 5409510510 Migrate brigdes pallet to named events (#5575)
* bridges-dispatch

* bridges-messages

* bridges-token-swap
2022-05-20 21:11:59 +00:00
dependabot[bot] 909f65d0cd Bump actions/upload-artifact from 2 to 3 (#5547)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 17:39:30 +03:00