Andronik
aff88a864a
collator-protocol: short-term fixes for connectivity ( #4640 )
...
* collator-protocol: add to reserved peers on every relay parent
* bump collator slots from 25 to 100
* collator-protocol: reduce inactivity timeout from 24s to 5s
* try to satisfy spellcheck
* add connection log
* fmt
* bring a warn back
* gather validators across all active leaves
2022-01-04 12:58:47 +01:00
Robert Klotzner
83c8afcbb9
Don't change rep on timeout in collator protocol. ( #4642 )
...
* Don't change rep on timeout in collator protocol.
* Fix tests.
* Fixes.
2022-01-04 11:40:20 +00:00
dependabot[bot]
5f7726958d
Bump quote from 1.0.10 to 1.0.14 ( #4632 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.10 to 1.0.14.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.10...1.0.14 )
---
updated-dependencies:
- dependency-name: quote
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-01-02 20:49:25 +01:00
dependabot[bot]
bab7c8d4f1
Bump pin-project from 1.0.8 to 1.0.9 ( #4606 )
...
* Bump pin-project from 1.0.8 to 1.0.9
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/taiki-e/pin-project/releases )
- [Changelog](https://github.com/taiki-e/pin-project/blob/main/CHANGELOG.md )
- [Commits](https://github.com/taiki-e/pin-project/compare/v1.0.8...v1.0.9 )
---
updated-dependencies:
- dependency-name: pin-project
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Update pin-project to fix compilation
* Also bump the old ones
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-01-02 18:25:56 +01:00
Sergei Shulepov
72a92eaf9e
configuration: Rename validation_upgrade_{frequency -> cooldown} ( #4635 )
...
This just renames a member of `HostConfiguration` from
validation_upgrade_frequency to -//-_cooldown.
As was already pointed out in #4460 the existing name is a misnomer, the
member actually represents a minimum time period between upgrades, which
is neatly expressed by a word cooldown.
I've been planning this rename already for some time and the term is
already used in paras module:
https://github.com/paritytech/polkadot/blob/1394b70d493a3b4bea7a9ae14af094081bc84456/runtime/parachains/src/paras.rs#L1568-L1574
2021-12-30 20:24:47 +00:00
dependabot[bot]
86a9658f7c
Bump lru from 0.7.1 to 0.7.2 ( #4633 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.7.1 to 0.7.2.
- [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.1...0.7.2 )
---
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>
2021-12-29 20:53:06 +01:00
dependabot[bot]
ebfe0b7168
Bump proc-macro2 from 1.0.34 to 1.0.36 ( #4619 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.34 to 1.0.36.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.34...1.0.36 )
---
updated-dependencies:
- dependency-name: proc-macro2
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>
2021-12-29 01:57:10 +00:00
Sergei Shulepov
87c753e35c
collation-gen: don't hash validation code ( #4628 )
...
* runtime-api: add validation_code_hash API
This is the first step to close
https://github.com/paritytech/polkadot/issues/4524
* collation-gen: don't hash validation code
Closes https://github.com/paritytech/polkadot/issues/4524
2021-12-28 20:16:28 +00:00
Sergei Shulepov
91aff5d341
runtime-api: add validation_code_hash API ( #4629 )
...
This is the first step to close
https://github.com/paritytech/polkadot/issues/4524
2021-12-28 20:16:03 +00:00
Sergei Shulepov
3c226d9dcf
configuration: Consistency checks for PVF pre-checking ( #4580 )
...
As was suggested by Alexander Popiak [here][comment], this commit
checks the consistency of the configuration.
[comment]:
https://github.com/paritytech/polkadot/pull/4420#discussion_r764796519
2021-12-28 14:53:52 +01:00
sandreim
979fa1f5ab
Bump sleep from 10 to 30s ( #4613 )
...
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2021-12-27 18:44:42 +01:00
Sergei Shulepov
4d76878759
configuration: Unified consistency checks ( #4581 )
...
This commit refactors the consistency checks. Instead of each individual
setter performs its checks locally, we delegate those checks to the
already existing function `check_consistency`. This removes duplication
and simplifies the logic.
A motivating example of this one is the next PR in the stack that will
introduce a check for a field, which validity depends on the validity of
other two fields. Without this refactoring we will have to place a check
not only to the field in question, but also to the other two fields so
that if they are changed they do not violate consistency criteria. It's
easy to imagine how this can go unwieldy with the number of checks.
This also adds a test that verifies that the default chain spec host
configuration is consistent.
2021-12-27 14:09:13 +00:00
Andronik Ordian
9efb223a97
session_info: add dispute_period and random_seed ( #4547 )
2021-12-27 09:03:50 +00:00
Andronik Ordian
b342ae11d3
session-info: add new fields + migration ( #4545 )
...
* session_info: v2 + migration
* use primitives::v2
* use polkadot_primitives::v2
* impl primitives::v2
* fix approval-voting tests
* fix other tests
* hook storage migration up
* backwards compat (1)
* backwards compat (2)
* fmt
* fix tests
* FMT
* do not reexport v1 in v2
* fmt
* set storage version to 1
Co-authored-by: Javier Viola <javier@parity.io >
2021-12-27 08:01:30 +00:00
dependabot[bot]
2e360f0aac
Bump zstd from 0.9.0+zstd.1.5.0 to 0.9.1+zstd.1.5.1 ( #4597 )
...
Bumps [zstd](https://github.com/gyscos/zstd-rs ) from 0.9.0+zstd.1.5.0 to 0.9.1+zstd.1.5.1.
- [Release notes](https://github.com/gyscos/zstd-rs/releases )
- [Commits](https://github.com/gyscos/zstd-rs/compare/0.9.0...0.9.1 )
---
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>
2021-12-25 22:07:55 +01:00
Bastian Köcher
1d80a05ff0
Relaunch Rococo ( #4577 )
...
* changed Rococos epoch to 1h
* Changed assigned_slots parameters to match ecosystem needs
* Update rococo chain spec
Co-authored-by: Santi Balaguer <santiago.balaguer@gmail.com >
2021-12-25 08:46:51 +01:00
cheme
48dc675047
Companion for substrate#9732 ( #4104 )
...
* merge master (do not compile)
* fix
* lock
* update lock
* Update to refactoring.
* runtime version
* fmt
* remove trie patch
* remove patch
* No layout alias for bridge proof.
* update depupdate depss
* No switch until migration.
* master lock
* test
* test
* Revert "test"
This reverts commit 57325ef73332bf4b054aa4a667bb716fcf8a0d89.
* Revert "test"
This reverts commit ce74d0e2062806f72c0e9e9ca07b14165f43521e.
* rename feature
* state version as parameter, use the feature only on runtimes.
* update
* update to state version in runtime
* state version from storage
* update lockfile for substrate
Co-authored-by: parity-processbot <>
2021-12-24 09:27:35 +00:00
Robert Klotzner
0349595894
Better logs and metrics on PoV fetching. ( #4593 )
2021-12-24 08:11:29 +00:00
Bastian Köcher
b409837b70
Fix checking for the ParachainHost runtime api ( #4594 )
...
The function `has_api` checks that the api + version matches, which
isn't true anymore after bumping the version. The fix is to just compare
the runtime api version being at least `1`.
2021-12-23 20:27:03 +01:00
Bastian Köcher
97506a15c9
runtime-api: Fix runtime version checking ( #4595 )
...
The runtime version check `runtime_version <= version` was wrong, it
needs to be `>=`. Besides that the `WIDELY_DEPLOYED_API_VERSION` is
removed. The runtime version is already cached, aka we don't always call
into the runtime when requesting the runtime version. So, there is no
need to "optimize" this.
2021-12-23 20:26:40 +01:00
dependabot[bot]
18a47cf207
Bump syn from 1.0.82 to 1.0.83 ( #4590 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.82 to 1.0.83.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.82...1.0.83 )
---
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>
2021-12-23 18:47:42 +01:00
Robert Klotzner
846828f61c
First step in implementing #4386 ( #4437 )
...
* First step in implementing https://github.com/paritytech/polkadot/issues/4386
This PR:
- Reduces MAX_UNSHARED_UPLOAD_TIME to 150ms
- Increases timeout on collation fetching to 1200ms
- Reduces limit on needed backing votes in the runtime
This PR does not yet reduce the number of needed backing votes on the
node as this can only be meaningfully enacted once the changed limit in
the runtime is live.
* Fix tests.
* Guide updates.
* Review remarks.
* Bump minimum required backing votes to 2 in runtime.
* Make sure node side code won't make runtime vomit.
* cargo +nightly fmt
2021-12-23 16:41:34 +00:00
Sergei Shulepov
df2d4f313f
chore: rename for consistency ( #4582 )
2021-12-22 16:32:08 +01:00
Robert Habermeier
ca358e1288
Fix currently-checking-cache ( #4410 )
...
* alter currently-checking-set to launch work only on new candidates
* fmt
* fix compilation
* address review
* Introduce approvals cache test that ensures approval work is only triggered once for each Candidate Hash
* Fix formatting
* Address Feedback
* Move final message await into handle function
Co-authored-by: Chris Sosnin <chris125_@live.com >
Co-authored-by: Lldenaurois <Ljdenaurois@gmail.com >
2021-12-21 16:21:18 -06:00
Sergei Shulepov
3cb138d236
pvf-precheck: hook up runtime API ( #4542 )
...
This commit hooks up the API provided by #4457 to the runtime API
subsystem. In a following PR this API will be consumed by the PVF
pre-checking subsystem.
Co-authored-by: Chris Sosnin <chris125_@live.com >
Co-authored-by: Chris Sosnin <chris125_@live.com >
2021-12-21 15:15:30 +01:00
dependabot[bot]
478ac9589b
Bump bounded-vec from 0.4.0 to 0.5.0 ( #4082 )
...
Bumps [bounded-vec](https://github.com/ergoplatform/bounded-vec ) from 0.4.0 to 0.5.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.4.0...v0.5.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>
2021-12-21 13:33:40 +01:00
Bastian Köcher
a805a1a045
Substrate companion for change slot duration fetching ( #4556 )
...
* Substrate companion for change slot duration fetching
https://github.com/paritytech/substrate/pull/10509
* Fix bridges
* update lockfile for substrate
Co-authored-by: parity-processbot <>
2021-12-20 20:22:29 +00:00
Chris Sosnin
42964d514a
dispute-coordinator: fix underflow panic ( #4557 )
2021-12-20 11:52:21 +01:00
dependabot[bot]
9df7dea61f
Bump futures from 0.3.18 to 0.3.19 ( #4567 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.18 to 0.3.19.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.18...0.3.19 )
---
updated-dependencies:
- dependency-name: futures
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>
2021-12-20 11:43:46 +01:00
dependabot[bot]
14a8f03cc8
Bump lru from 0.7.0 to 0.7.1 ( #4566 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.7.0 to 0.7.1.
- [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.0...0.7.1 )
---
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>
2021-12-20 10:54:45 +01:00
Javier Viola
78c3284ce7
[Zombienet] fix test creds ( #4562 )
...
* remove custom kube file in creds
* typo in image name echo
2021-12-18 20:56:02 +01:00
Chris Sosnin
5e80287475
chain-api: stop ancestors lookup at block #0 ( #4560 )
2021-12-18 15:50:08 +01:00
Bernhard Schuster
8c5a172701
remove invalid dispute subsystem replace ( #4559 )
2021-12-18 14:12:01 +01:00
dependabot[bot]
745f4fd5af
Bump hyper from 0.14.15 to 0.14.16 ( #4550 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.15 to 0.14.16.
- [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.15...v0.14.16 )
---
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>
2021-12-18 13:13:46 +01:00
Bernhard Schuster
2457c26a08
enable disputes for known chains, except for polkadot ( #4464 )
...
* enable disputes, for all known chains but polkadot
* chore: fmt
* don't propagate disputes either
* review
* remove disputes feature
* remove superfluous line
* Update node/service/src/lib.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* fixup
* allow being a dummy
* rialto
* add an enum, to make things work better
* overseer
* fix test
* comments
* move condition out
* excess arg
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-12-17 17:50:48 +00:00
Bernhard Schuster
fad55b95fa
dispute statements node side limiting ( #4541 )
2021-12-17 15:50:26 +01:00
dependabot[bot]
b0a4f78edc
Bump serde from 1.0.131 to 1.0.132 ( #4551 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.131 to 1.0.132.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.131...v1.0.132 )
---
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>
2021-12-17 15:25:17 +01:00
dependabot[bot]
5ebe850075
Bump nix from 0.23.0 to 0.23.1 ( #4552 )
...
Bumps [nix](https://github.com/nix-rust/nix ) from 0.23.0 to 0.23.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.0...v0.23.1 )
---
updated-dependencies:
- dependency-name: nix
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>
2021-12-17 15:21:38 +01:00
Chris Sosnin
8b1514862d
Dispute coordinator: look for included candidates in non-finalized chain ( #4508 )
...
* Fetch ancestors of the activated leaf
* Replace param type
* Increase step size
* Request block numbers for ancestors
* Store activated leaves in lru cache
* Fix doc-comment
* Rework LRU usage
* Typos & formatting
* Handle errors better
* Introduce a size limit for the ancestry
* Return fatal error when fetching finalized block
* Update tests
* Add tests for ordering provider
* Better naming
* fix zombienet test, new version
* zombienet add debug
* debug zombienet
Co-authored-by: Javier Viola <javier@parity.io >
2021-12-17 12:07:28 +01:00
Javier Viola
2c0d7730d7
Support new version of zombienet ( #4528 )
...
* test new version of zombienet
* use default chain spec command
* use commit ref to get test files
* change test spec for zombienet new versionzombienet_tests/parachains/0001-parachains-smoke-test.toml
* changes for new version of zombienet
* use paritytech zombienet version
2021-12-16 18:23:21 +01:00
Bernhard Schuster
a558ee0b57
naming consistency ( #4539 )
2021-12-16 18:16:41 +01:00
sandreim
e75ad88ae8
Add support for wasm runtime metrics try #2 ( #4483 )
...
* Add runtime metrics provider
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Runner changes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Some sample metrics in paras_inherent
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update cargo toml
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* bug
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* more fmt after merge
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Refactor metric prefix override
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* remove bug comment
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add runtime metric primitives
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Impl trace event parsing
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update metrics
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo lock
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix target check
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Runtime metrics primitives
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Runtime metrics crate
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Node side runtime metric changes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* use runtime CounterVec instead of macro
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt nice
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* remove dead code
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* base58 decoding
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* base58 encoding
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix warn
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* typo
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Finish label support
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* please compile
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* add feature gate
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Comment cargo toml
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix cargo toml description
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update doc.
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* switch to `runtime-metrics` feature
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo toml
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* better ux
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* from_utf8_unchecked is safe
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add Counter and refactor
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* more fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* add integration test
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* dev deps
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* gitlab script update
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix merge damage
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Run tests twice
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* small fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* typo
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo lock
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* spellcheck happy ?
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* more fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Guard tracing init
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* missing copyright
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update lockfile for substrate
Co-authored-by: parity-processbot <>
2021-12-16 11:56:25 +00:00
dependabot[bot]
f23513a95f
Bump tokio from 1.14.0 to 1.15.0 ( #4537 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.14.0...tokio-1.15.0 )
---
updated-dependencies:
- dependency-name: tokio
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>
2021-12-16 12:09:57 +01:00
dependabot[bot]
26f3da058d
Bump mick-jaeger from 0.1.6 to 0.1.7 ( #4538 )
...
Bumps [mick-jaeger](https://github.com/tomaka/mick-jaeger ) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/tomaka/mick-jaeger/releases )
- [Commits](https://github.com/tomaka/mick-jaeger/commits )
---
updated-dependencies:
- dependency-name: mick-jaeger
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>
2021-12-16 11:54:27 +01:00
Robert Klotzner
f88d980252
Versi chainspec based on Rococo. ( #4485 )
...
* Versi chainspec based on Rococo.
* Fix.
* Fix compilation without features.
* Spelling
* Another typo.
* Support versi in native version
* 🤦
* Regenerated genesis for versi.
* Update cli/src/command.rs
Co-authored-by: Bastian Köcher <info@kchr.de >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2021-12-16 10:47:06 +00:00
dependabot[bot]
0891959f77
Bump proc-macro2 from 1.0.33 to 1.0.34 ( #4526 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.33 to 1.0.34.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.33...1.0.34 )
---
updated-dependencies:
- dependency-name: proc-macro2
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>
2021-12-16 08:38:00 +00:00
Bernhard Schuster
1d7efef4cd
fix compile with new compiler - dead code ( #4530 )
...
* make compiler happy
* node side compile warning quiet
* ffs
* malus: remove unused keystore
2021-12-15 17:11:07 +00:00
dependabot[bot]
a21ffd18eb
Bump serde_json from 1.0.72 to 1.0.73 ( #4523 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.72 to 1.0.73.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.72...v1.0.73 )
---
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>
2021-12-15 03:23:04 +00:00
Sergei Shulepov
1493fed1ed
PVF validation host: do not alter niceness ( #4525 )
...
We wanted to change niceness to accomodate the fact that some of the
preparation tasks are low priority. For example, when a node sees that
there is a new para was onboarded the node may start preparing right
away. Since all other activities are more important, such as network I/O
or validation of the backed candidates and preparation of the
immediatelly needed PVFs.
However, it turned out that this approach does not work: generally
non-root processes can only decrease niceness and they cannot increase
it to the previous value, as was assumed by the code.
Apart from that, https://github.com/paritytech/polkadot/pull/4123
assumes all PVFs are prepared in the same way. Specifically, that if a
PVF preparation failed before, then PVF pre-checking will also report
that it was failed, even though it could happen that preparation failed
due to being low-priority. In order to avoid such cases, we decided to
simplify the whole preparation model. Preparation under low priority
does not work well with that.
Closes https://github.com/paritytech/polkadot/issues/4520
2021-12-14 17:17:45 +01:00
Sergei Shulepov
2ccbf38b85
pvf-precheck: teach runtime-api to work with versions ( #4510 )
...
As part of #3211 we will need to add a couple of runtime APIs. That
change is coming in a following PR.
The runtime API for pre-checking will be introduced with a version bump
for `ParachainHost`. This commit prepares the ground for that change,
by introducing a error condition that signals that the given API is not
supported.
2021-12-14 13:06:58 +01:00