- Apr 12, 2022
-
-
Tsvetomir Dimitrov authored
* Move `trait ParachainHost` to a separate version independent module `trait ParachainHost` is no longer part of a specific primitives version. Instead there is a single trait for stable and staging api versions. The trait contains stable AND staging methods. The latter are explicitly marked as unstable. * Fix `use` primitives `polkadot_primitives::v2` becomes `polkadot_primitives::runtime_api` * Staging API declaration and stubs Introduces the concept for 'staging functions' in runtime API. These functions are still in testing and they are meant to be used only within test networks (Westend). They coexist with the stable calls for technical reasons - maintaining different runtime APIs for different networks is hard to implement. Check the doc comments in source files for more details how the staging API should be used. * Add new staging method - get_session_disputes() Add `staging_get_session_disputes` to `ParachainHost` as the first method of the staging API. * Hide vstaging runtime api implementations behind feature flag * Fix test runtime * fn staging_get_session_disputes() is renamed to fn staging_get_disputes()
-
Denis_P authored
-
- Apr 11, 2022
-
-
Bastian Köcher authored
* Prepare for rust 1.60 * change ci image to staging * empty commit for pipeline rerun * ci image production Co-authored-by: Alexander Samusev <[email protected]> Co-authored-by: alvicsam <[email protected]>
-
- Apr 09, 2022
-
-
dependabot[bot] authored
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.36 to 1.0.37. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.36...1.0.37) --- updated-dependencies: - dependency-name: proc-macro2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Sergei Shulepov authored
The PVF host is designed to avoid spawning tasks to minimize knowledge of outer code. Using `async_std::task::spawn` (or Tokio's counterpart) deemed unacceptable, `SpawnNamed` undesirable. Instead there is only one task returned that is spawned by the candidate-validation subsystem. The tasks from the sub-components are polled by that root task. However, the way the tasks are bundled was incorrect. There was a giant select that was polling those tasks. Particularly, that implies that as soon as one of the arms of that select goes into await those sub-tasks stop getting polled. This is a recipe for a deadlock which indeed happened here. Specifically, the deadlock happened during sending messages to the execute queue by calling [`send_execute`](https://github.com/paritytech/polkadot/blob/a68d9be3/node/core/pvf/src/host.rs#L601). When the channel to the queue reaches the capacity, the control flow is suspended until the queue handles those messages. Since this code is essentially reached from [one of the select arms](https://github.com/paritytech/polkadot/blob/a68d9be3/node/core/pvf/src/host.rs#L371), the queue won't be given the control and thus no further progress can be made. This problem is solved by bundling the tasks one level higher instead, by `selecting` over those long-running tasks. We also stop treating returning from those long-running tasks as error conditions, since that can happen during legit shutdown.
-
- Apr 08, 2022
-
-
dependabot[bot] authored
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.90 to 1.0.91. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.90...1.0.91) --- updated-dependencies: - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
João Paulo Silva de Souza authored
-
Mara Broda authored
-
Mara Broda authored
-
Mara Broda authored
-
Robert Klotzner authored
-
Mara Broda authored
-
Sergejs Kostjucenko authored
-
Koute authored
* Print out original the runtime API error * Improved error handling in approval voting block import * Fix test * Update comment
-
João Paulo Silva de Souza authored
-
- Apr 07, 2022
-
-
Oliver Tale-Yazdi authored
* Restructure benchmark commands Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Add benchmark storage test Signed-off-by: Oliver Tale-Yazdi <[email protected]> * cargo update -p sp-io * Revert "cargo update -p sp-io" This reverts commit c321b570cef806934acfb7e1a18f543a681b9927. * cargo update -p sp-io Signed-off-by: Oliver Tale-Yazdi <[email protected]> * update lockfile for {"substrate"} * remove `useless_attribute` * Remove rococo-native cfg Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Make cumulus build Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Fix benchmark commands for the CI Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Make cumulus build Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Make cumulus build Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Disable new bench commands for rococo Signed-off-by: Oliver Tale-Yazdi <[email protected]> * Make cumulus build Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: parity-processbot <>
-
dependabot[bot] authored
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.6 to 3.1.8. - [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.6...v3.1.8) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Shawn Tabrizi authored
* new migration * use new migration in runtime
-
João Paulo Silva de Souza authored
syntax in accordance to https://github.com/paritytech/pr-custom-review/tree/5814820aa0e5d35412f31dc02f9d130a8b138cae#configuration-syntax rules in accordance to https://github.com/paritytech/pr-custom-review/blob/da1d81b9fd39705cc8b37f59235283801c818708/rules.md
-
Stephen Shelton authored
* Replace TransactionByteFee with LengthToFee * s/ConstantModifierFee/ConstantMultiplier/ * fmt * Remove duplicate import * fmt * Update runtime/test-runtime/src/lib.rs * update lockfile for {"substrate"} Co-authored-by: Shawn Tabrizi <[email protected]> Co-authored-by: parity-processbot <>
-
dependabot[bot] authored
Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.7.4 to 0.7.5. - [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.4...0.7.5) --- updated-dependencies: - dependency-name: lru dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Sergejs Kostjucenko authored
* Fix paths to vault secrets * Fix paths
-
Niklas Adolfsson authored
* staking miner: update jsonrpsee v0.10.1 * update lockfile for {"substrate"} Co-authored-by: parity-processbot <>
-
- Apr 06, 2022
-
-
Amar Singh authored
* add epoch index to well known keys * fmt
-
dependabot[bot] authored
Bumps [femme](https://github.com/lrlna/femme) from 2.1.1 to 2.2.0. - [Release notes](https://github.com/lrlna/femme/releases) - [Commits](https://github.com/lrlna/femme/compare/2.1.1...2.2.0) --- updated-dependencies: - dependency-name: femme dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Mara Broda authored
-
- Apr 04, 2022
-
-
Robert Klotzner authored
* Better metrics. - Fix time metric - Add counters * Typo * Better docs.
-
Pierre Besson authored
* update rococo sudo in chain specification * update rococo chainspec JSON to v2.1 * Update node/service/src/chain_spec.rs Co-authored-by: Robert Habermeier <[email protected]>
-
Javier Viola authored
* bump zombienet version * update path for zombienet scripts * bump version and move from extra_args to args Co-authored-by: Andrei Sandu <[email protected]>
-
Nikos Kontakis authored
* Add ws in polkadot, kusama, rococo and westend chainspecs * run update * revert beefy-gadget source Co-authored-by: Bastian Köcher <[email protected]>
-
dependabot[bot] authored
Bumps [lru](https://github.com/jeromefroe/lru-rs) from 0.7.3 to 0.7.4. - [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.3...0.7.4) --- updated-dependencies: - dependency-name: lru dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Qinxuan Chen authored
* Comanion for substrate#11136 Signed-off-by: koushiro <[email protected]> * revert changes in bridge Signed-off-by: koushiro <[email protected]>
-
cheme authored
* update * unsafe * switch remote * update rpc usage * update cargo.lock * lock from master * updated lock
-
- Apr 03, 2022
-
-
dependabot[bot] authored
Bumps [kvdb-rocksdb](https://github.com/paritytech/parity-common) from 0.15.1 to 0.15.2. - [Release notes](https://github.com/paritytech/parity-common/releases) - [Commits](https://github.com/paritytech/parity-common/compare/kvdb-rocksdb-v0.15.1...kvdb-rocksdb-v0.15.2) --- updated-dependencies: - dependency-name: kvdb-rocksdb dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [indexmap](https://github.com/bluss/indexmap) from 1.8.0 to 1.8.1. - [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.0...1.8.1) --- updated-dependencies: - dependency-name: indexmap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [paste](https://github.com/dtolnay/paste) from 1.0.6 to 1.0.7. - [Release notes](https://github.com/dtolnay/paste/releases) - [Commits](https://github.com/dtolnay/paste/compare/1.0.6...1.0.7) --- updated-dependencies: - dependency-name: paste dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.16 to 1.0.17. - [Release notes](https://github.com/dtolnay/quote/releases) - [Commits](https://github.com/dtolnay/quote/compare/1.0.16...1.0.17) --- updated-dependencies: - dependency-name: quote dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- Apr 02, 2022
-
-
Mara Broda authored
-
dependabot[bot] authored
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.9 to 0.3.10. - [Release notes](https://github.com/tokio-rs/tracing/releases) - [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.9...tracing-subscriber-0.3.10) --- updated-dependencies: - dependency-name: tracing-subscriber dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.89 to 1.0.90. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.89...1.0.90) --- updated-dependencies: - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-