dependabot[bot]
6fdd026010
Bump tracing from 0.1.30 to 0.1.31 ( #4941 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.30 to 0.1.31.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.30...tracing-0.1.31 )
---
updated-dependencies:
- dependency-name: tracing
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-02-18 09:54:13 +00:00
Robert Klotzner
93b7263019
Better spam slots handling ( #4845 )
...
* Only bypass spam slots on actualy approval/backing vote import.
* Fix spam slot treatment.
* More tests.
* Make sure backing statements import works.
* Aaaaaand the actual proper fix.
* Better docs + spelling fixes.
* Fix.
* Typo
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
* Fix doc.
* Update node/core/dispute-coordinator/src/real/initialized.rs
* minor rewording, line wrap
* fix test case
* Fix obsolete comment.
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
2022-02-17 15:18:52 +01:00
dependabot[bot]
ec815011e2
Bump proc-macro-crate from 1.1.0 to 1.1.2 ( #4936 )
...
Bumps [proc-macro-crate](https://github.com/bkchr/proc-macro-crate ) from 1.1.0 to 1.1.2.
- [Release notes](https://github.com/bkchr/proc-macro-crate/releases )
- [Commits](https://github.com/bkchr/proc-macro-crate/commits )
---
updated-dependencies:
- dependency-name: proc-macro-crate
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-02-17 11:25:48 +01:00
dependabot[bot]
71c1388290
Bump serde_json from 1.0.78 to 1.0.79 ( #4916 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.78 to 1.0.79.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.78...v1.0.79 )
---
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-02-14 12:54:41 +01:00
dependabot[bot]
98a1343cd9
Bump rand from 0.8.4 to 0.8.5 ( #4917 )
...
Bumps [rand](https://github.com/rust-random/rand ) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/rust-random/rand/releases )
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/rand/compare/0.8.4...0.8.5 )
---
updated-dependencies:
- dependency-name: rand
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-02-14 11:37:02 +01:00
dependabot[bot]
85f4740591
Bump smallvec from 1.7.0 to 1.8.0 ( #4898 )
...
Bumps [smallvec](https://github.com/servo/rust-smallvec ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases )
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.7.0...v1.8.0 )
---
updated-dependencies:
- dependency-name: smallvec
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-02-12 00:09:01 +01:00
dependabot[bot]
5f648ae997
Bump tokio from 1.15.0 to 1.16.1 ( #4899 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.15.0 to 1.16.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.15.0...tokio-1.16.1 )
---
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>
2022-02-11 23:18:24 +01:00
dependabot[bot]
f00f24e656
Bump tracing from 0.1.29 to 0.1.30 ( #4897 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.29 to 0.1.30.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.29...tracing-0.1.30 )
---
updated-dependencies:
- dependency-name: tracing
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-02-11 23:17:19 +01:00
Mara Robin B
167df32561
Bump version ( #4904 )
...
* Bump spec_version
* Bump version to 0.9.17
2022-02-11 20:43:39 +01:00
sandreim
a0ebff4909
Add more specific errors ( #4905 )
...
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-02-11 18:32:55 +01:00
Andronik
128421b5dd
collator-protocol: fix wrong warning ( #4909 )
...
* collator-protocol: fix wrong warning
* collator-protocol: add debug log
2022-02-11 18:31:50 +01:00
dependabot[bot]
ca81c0b50f
Bump parking_lot from 0.11.2 to 0.12.0 ( #4890 )
...
Bumps [parking_lot](https://github.com/Amanieu/parking_lot ) from 0.11.2 to 0.12.0.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.11.2...0.12.0 )
---
updated-dependencies:
- dependency-name: parking_lot
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-02-11 10:10:20 +00:00
dependabot[bot]
cb611c255c
Bump futures from 0.3.19 to 0.3.21 ( #4886 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.19 to 0.3.21.
- [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.19...0.3.21 )
---
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>
2022-02-11 10:13:02 +01:00
dependabot[bot]
c062849f7f
Bump hyper from 0.14.16 to 0.14.17 ( #4895 )
...
Bumps [hyper](https://github.com/hyperium/hyper ) from 0.14.16 to 0.14.17.
- [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.16...v0.14.17 )
---
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-02-10 22:02:31 +00:00
dependabot[bot]
94caa93a14
Bump serde_json from 1.0.74 to 1.0.78 ( #4889 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.74 to 1.0.78.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.74...v1.0.78 )
---
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-02-10 10:03:01 +01:00
Vsevolod Stakhov
84f55cc8d5
Create a more rigid overseer builder pattern that fails at compile time ( #4753 )
...
Introduces `Missing<Field>` and `Init<Field>` states, that are used in place of builder generics, and make this possible.
2022-02-09 17:01:16 +01:00
dependabot[bot]
40e172bb32
Bump syn from 1.0.84 to 1.0.86 ( #4870 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.84 to 1.0.86.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.84...1.0.86 )
---
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-02-09 15:40:34 +01:00
dependabot[bot]
f853c31f7d
Bump quote from 1.0.14 to 1.0.15 ( #4880 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.14 to 1.0.15.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.14...1.0.15 )
---
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-02-09 14:04:30 +01:00
dependabot[bot]
2a95f4fc43
Bump futures-util from 0.3.19 to 0.3.21 ( #4883 )
...
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.19 to 0.3.21.
- [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.19...0.3.21 )
---
updated-dependencies:
- dependency-name: futures-util
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-02-09 11:08:09 +01:00
dependabot[bot]
6ed0c3c853
Bump color-eyre from 0.5.11 to 0.6.0 ( #4884 )
...
Bumps [color-eyre](https://github.com/yaahc/color-eyre ) from 0.5.11 to 0.6.0.
- [Release notes](https://github.com/yaahc/color-eyre/releases )
- [Changelog](https://github.com/yaahc/color-eyre/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yaahc/color-eyre/compare/v0.5.11...v0.6.0 )
---
updated-dependencies:
- dependency-name: color-eyre
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-02-09 11:00:30 +01:00
dependabot[bot]
a3bc1f4869
Bump indexmap from 1.7.0 to 1.8.0 ( #4876 )
...
Bumps [indexmap](https://github.com/bluss/indexmap ) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/bluss/indexmap/releases )
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.rst )
- [Commits](https://github.com/bluss/indexmap/compare/1.7.0...1.8.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-02-08 21:47:06 +01:00
dependabot[bot]
ad2e8e5006
Bump assert_cmd from 2.0.2 to 2.0.4 ( #4866 )
...
Bumps [assert_cmd](https://github.com/assert-rs/assert_cmd ) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/assert-rs/assert_cmd/releases )
- [Changelog](https://github.com/assert-rs/assert_cmd/blob/master/CHANGELOG.md )
- [Commits](https://github.com/assert-rs/assert_cmd/compare/v2.0.2...v2.0.4 )
---
updated-dependencies:
- dependency-name: assert_cmd
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-02-08 21:42:35 +01:00
dependabot[bot]
684894aabc
Bump zstd from 0.9.1+zstd.1.5.1 to 0.9.2+zstd.1.5.1 ( #4868 )
...
Bumps [zstd](https://github.com/gyscos/zstd-rs ) from 0.9.1+zstd.1.5.1 to 0.9.2+zstd.1.5.1.
- [Release notes](https://github.com/gyscos/zstd-rs/releases )
- [Commits](https://github.com/gyscos/zstd-rs/compare/0.9.1...v0.9.2 )
---
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-02-08 20:16:18 +01:00
dependabot[bot]
2ffcb55609
Bump serde from 1.0.132 to 1.0.136 ( #4869 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.132 to 1.0.136.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.132...v1.0.136 )
---
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-02-08 20:14:22 +01:00
Robert Habermeier
1ae121ff27
Ignore redundant dispute messages ( #4854 )
...
* ignore duplicate dispute votes
* fmt and TODOs
* tests
* fmt
2022-02-07 15:54:56 -06:00
Bastian Köcher
bb69c82cc5
collation-generation: Support compressed PoVs directly ( #4825 )
...
This adds support for returning a compressed PoV directly to the
collation generation. This is mainly to not requiring to compress a PoV
twice.
2022-02-07 20:14:08 +01:00
Bastian Köcher
59cddb9f23
Forward enable_overseer_always ( #4858 )
...
Cumulus actually uses the `build_full` function. I missed that.
2022-02-07 16:05:53 +00:00
Bernhard Schuster
aa2af6a460
allow overseer to be enabled anyways ( #4840 )
...
Closes #4763
2022-02-07 10:46:27 +01:00
Chevdor
7e9a58fc99
Version bumps to v0.9.16 and 9160 ( #4767 )
...
* Bump spec_version
* Bump version to 0.9.16
2022-02-02 15:22:32 +01:00
Bernhard Schuster
0ef0108264
reduce forwarded number of disputes by one order of magnitude
2022-02-02 12:39:39 +01:00
sandreim
50828ad145
Update pvf metric histogram buckets ( #4818 )
...
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-01-31 17:28:58 +00:00
Andronik
9ce2798d5b
dispute-coordinator: more useful logs
2022-01-30 21:50:40 +01:00
sandreim
806cb541b7
Refactor and fix usage of get_session_index() and get_session_info_by_index() ( #4735 )
...
* Rename/refactor around get_session_index
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* choose proper head for fetching session
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* revert rename
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix comments
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* renaming and more comments
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Run Fetch task in correct session
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Log warning when ancestors unavailable
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-01-26 15:17:46 +00:00
sandreim
2661930b77
relay chain selection and dispute-coordinator fixes and improvements (#4752 )
...
* Dont error in finality_target_with_longest_chain
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add error flag
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add error flag in dispute-coordinator
Make sure to send errors to subsystems requesting data depending on missing session info
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Scrape ancestors
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix naming
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* 💬 fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* consume
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* typo
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Bump scraped blocks LRU capacity
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* 🧯 🔥
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* remove prints
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Increase scraped blocks cache size
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* more review fixes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* another fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix target_ancestor
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Scrape up to max finalized block
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* undo comment change
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Limit ancestry lookup to last finalized block or
max finality lag
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* debug damage
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-01-26 14:06:27 +00:00
Bastian Köcher
109f73092f
Fix tests ( #4787 )
2022-01-26 12:35:09 +00:00
Robert Habermeier
7c07192c6e
log concluded disputes ( #4785 )
2022-01-26 08:59:04 +00:00
Chris Sosnin
0e2eb6d26c
availability-distribution: look for leaf ancestors within the same session ( #4596 )
...
* availability-distribution: look for leaf ancestors
* Re-use subsystem-util
* Rework ancestry tasks scheduling
* Requester tests
* Improve readability for ancestors lookup
2022-01-25 22:52:07 -06:00
Qinxuan Chen
f4ec9b0341
Companion for substrate#10632 ( #4689 )
...
* Companion for substrate#10632
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* cargo format
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix bags-list
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Update Substrate
* Fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* Fix bridges test
* FMT
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-01-25 10:58:17 +00:00
Bastian Köcher
8756678a83
polkadot-test-service: Enable wasmtime feature ( #4762 )
...
We use the `Compiled` wasm execution and for that the `wasmtime` needs
to be enabled.
2022-01-21 15:18:21 +00:00
Bernhard Schuster
b7a05fd40b
[runtime] follow up relay chain cleanups ( #4657 )
...
* fix miscalculation of remaining weight
* rename a var
* move out enforcing filtering by dropping inherents
* prepare for dispute statement validity check being split off
* refactor
* refactor, only check disputes we actually want to include
* more refactor and documentation
* refactor and minimize inherent checks
* chore: warnings
* fix a few tests
* fix dedup regression
* fix
* more asserts in tests
* remove some asserts
* chore: fmt
* skip signatures checks, some more
* undo unwatend changes
* Update runtime/parachains/src/paras_inherent/mod.rs
Co-authored-by: sandreim <54316454+sandreim@users.noreply.github.com >
* cleanups, checking CheckedDisputeStatments makes no sense
* integrity, if called create_inherent_inner, it shall do the checks, and not rely on enter_inner
* review comments
* use from impl rather than into
* remove outdated comment
* adjust tests accordingly
* assure no weight is lost
* address review comments
* remove unused import
* split error into two and document
* use assurance, O(n)
* Revert "adjust tests accordingly"
This reverts commit 3cc9a3c449f82db38cea22c48f4a21876603374b.
* fix comment
* fix sorting
* comment
Co-authored-by: sandreim <54316454+sandreim@users.noreply.github.com >
2022-01-20 11:00:29 +00:00
Sergei Shulepov
fb0258e735
pvf-checker-subsystem: metrics ( #4741 )
...
* pvf-checker-subsystem: metrics
This commits adds metrics to the PVF pre-checking subsystem.
* Apply suggestions from code review
Co-authored-by: sandreim <54316454+sandreim@users.noreply.github.com >
Co-authored-by: sandreim <54316454+sandreim@users.noreply.github.com >
2022-01-18 16:44:11 +00:00
Andronik
762d77e3ec
refactor runtime cache for SessionInfo ( #4723 )
2022-01-15 20:10:09 +00:00
Robert Klotzner
fc594e5254
Report the actual missing session. ( #4722 )
2022-01-15 10:41:24 +00:00
Alexander Popiak
401540eefc
Add fast-runtime Cargo Feature for Quick Test Runs ( #4332 )
...
* add fast-runtime feature for reduced session times
* make democracy periods fast on fast-runtime
* propagate fast-runtime feature through cargo.toml files
* add fast motion and term durations to Kusama
* Update runtime/westend/Cargo.toml
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* set session time to 2 minutes to avoid block production issues
* formatting
* update Substrate
* set democracy fast periods back to 1min
* set launch period and enactment period to 1 block in fast-runtime
* remove unnecessary westend period configs
* add prod_or_test macro to allow specifying prod, test and env values for parameter types
* move prod_or_test macro into common module and use it consistently
* rename macro to prod_or_fast
* cargo +nightly fmt
* bump impl_versions
* newline
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* add note that env variable is evaluated at compile time
* newline
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* newline
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
* cargo fmt
* impl_version: 0
* impl_version: 0
* use prod_or_fast macro for LeasePeriod and LeaseOffset
* use prod_or_fast macro in WND and ROC constants
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com >
Co-authored-by: Giles Cope <gilescope@gmail.com >
2022-01-13 20:08:24 +00:00
sandreim
6e268a48f6
Add node authority status metric ( #4699 )
...
* Check authority status on active leaves update
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo changes
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add metric for authority status
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Revert "Fix tests"
This reverts commit 5bd56bb367ec0b01ecca04498b3974ab67bf3189.
* Revert "cargo changes"
This reverts commit ffea18fe3ca12b27e6471ad9f44592799ec90956.
* Revert "Check authority status on active leaves update"
This reverts commit 55a30ac81bf32a72e0b79ca2e7bb612344a5c43d.
* Test fixups
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* undo damage
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* dont update status on runtime errors
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix inconsistency
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Dont derive primitive Default
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* add dummy_session_info helper
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* unset parachain validator status if no longer authority
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* damn
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* 🤦
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-01-13 17:41:10 +00:00
Andronik
5e308e3fee
runtime-api: do not cache None SessionInfo ( #4706 )
...
* approval-voting: add more logs
* approval-voting: query finalized block on startup and increase look back
* runtime-api: do not cache None SessionInfo
2022-01-13 08:15:59 +00:00
Andronik
d4ff5699f0
approval-voting: query finalized block on startup and increase look back ( #4705 )
...
* approval-voting: add more logs
* approval-voting: query finalized block on startup and increase look back
2022-01-13 08:15:39 +00:00
Robert Klotzner
f2bdd99532
Add some docs to prevent a time loop. ( #4702 )
...
* Add some docs to prevent a time loop.
* Review remarks.
2022-01-13 08:15:13 +00:00
Andronik
fc7e6047d9
approval-voting: add more logs ( #4704 )
2022-01-12 19:22:47 +00:00
Seun Lanlege
88cfa86d72
bye bye tes-runner ( #4680 )
2022-01-10 15:38:24 +01:00