Martin Pugh
08b8929c32
bump versions ( #4285 )
2021-11-15 14:05:12 +01:00
Andronik Ordian
fa1080a03a
req/resp: use IfDisconnected::ImmediateError ( #4253 )
...
* req/resp: use IfDisconnected::ImmediateError
* remove outdated comments
* fmt
2021-11-12 17:01:52 +00:00
sandreim
b0f89bbfbc
Per subsystem CPU usage tracking ( #4239 )
...
* SubsystemContext: add subsystem name str
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* Overseer builder proc macro changes
* initilize SubsystemContext name field.
* Add subsystem name in TaskKind::launch_task()
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* Update ToOverseer enum
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* Assign subsystem names to orphan tasks
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* cargo fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* SubsystemContext: add subsystem name str
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* Overseer builder proc macro changes
* initilize SubsystemContext name field.
* Add subsystem name in TaskKind::launch_task()
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* Update ToOverseer enum
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* Assign subsystem names to orphan tasks
Signed-off-by: Andrei Sandu <sandu.andrei@gmail.com >
* cargo fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Rebase changes for new spawn() group param
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add subsystem constat in JobTrait
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add subsystem string
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix spawn() calls
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* cargo fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix more tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Address PR review feedback #1
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Address PR review round 2
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fixes
- remove JobTrait::Subsystem
- fix tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update Cargo.lock
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-11-11 18:53:37 +00:00
Bernhard Schuster
edac78d03c
availability recovery type name clarifications ( #4203 )
...
* minor changes
* fmt
* rename to expressive types
* chore: fixup
* chore: remove `Data` prefixes
* address review comments
* guide items
* sourcer -> source, add `FromValdiators` suffix
2021-11-08 13:43:23 +00:00
Shawn Tabrizi
1031a57d8b
Fix XCM Teleport Benchmark ( #4146 )
...
* fix xcm benchmark
* fix overflow
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::fungible --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
* fix spelling
* fmt
* cargo run --quiet --release --features=runtime-benchmarks -- benchmark --chain=westend-dev --steps=50 --repeat=20 --pallet=pallet_xcm_benchmarks::fungible --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --header=./file_header.txt --template=./xcm/pallet-xcm-benchmarks/template.hbs --output=./runtime/westend/src/weights/xcm/pallet_xcm_benchmarks_fungible.rs
Co-authored-by: Parity Bot <admin@parity.io >
2021-10-27 15:13:39 +02:00
Martin Pugh
5f00ecbff2
Bump version to v0.9.12 ( #4089 )
...
* bump version
* update Cargo.lock
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-10-15 16:28:20 +02:00
dependabot[bot]
e017422166
Bump thiserror from 1.0.29 to 1.0.30 ( #4048 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.29...1.0.30 )
---
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>
2021-10-11 10:17:23 +00:00
dependabot[bot]
561219eef6
Bump tracing from 0.1.28 to 0.1.29 ( #4023 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.28 to 0.1.29.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.28...tracing-0.1.29 )
---
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>
2021-10-06 17:52:24 +00:00
dependabot[bot]
2635cc4431
Bump lru from 0.6.6 to 0.7.0 ( #4012 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.6.6 to 0.7.0.
- [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.6.6...0.7.0 )
---
updated-dependencies:
- dependency-name: lru
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-10-06 11:06:12 +02:00
Martin Pugh
72eab56e88
Bump version, tx_version and spec_version in prep for v0.9.11 ( #3970 )
...
* bump version and spec_version
* bump transaction version
* Bump of the default value in CI
* bump tx version for westend and kusama
Co-authored-by: Wilfried Kopp <wilfried@parity.io >
2021-09-30 14:44:19 +02:00
Bernhard Schuster
c57a1e7934
remove AllSubsystems and AllSubsystemsGen types ( #3874 )
...
* introduce the OverseerConnector, use it
* introduce is_relay_chain to RelayChainSelection
* Update node/service/src/lib.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* avoid the deferred setting of `is_relay_chain` in `RelayChainSelection`
* positive assertion is not mandated, only the negative one, to avoid a stall
* cleanup: overseer residue
* spellcheck
* fixin
* groundwork to obsolete Overseer::new and AllSubsystemsGen proc-macro
* Now all malus & tests can be ported to the builder pattern.
Obsoletes `Overseer::new`, `AllSubsystemsGen` derive macro, `AllSubsystems`.
* spellcheck
* adjust tests, minor fixes
* remove derive macro AllSubsystemsGen
* add forgotten file dummy.rs
* remove residue
* good news everyone!
* spellcheck
* address review comments
* fixup imports
* make it conditional
* fixup docs
* reduce import
* chore: fmt
* chore: fmt
* chore: spellcheck / nlprules
* fixup malus variant-a
* fmt
* fix
* fixins
* pfmt
* fixins
* chore: fmt
* remove expanded overseer generation
* tracing version
* Update node/network/statement-distribution/src/lib.rs
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
* use future::ready instead
* silence warning
* chore: fmt
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2021-09-29 14:24:56 +00:00
dependabot[bot]
c0719034a1
Bump parity-scale-codec from 2.3.0 to 2.3.1 ( #3959 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases )
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/parity-scale-codec/compare/parity-scale-codec-v2.3.0...parity-scale-codec-v2.3.1 )
---
updated-dependencies:
- dependency-name: parity-scale-codec
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-09-29 11:57:24 +02:00
dependabot[bot]
724a1b4885
Bump tracing from 0.1.27 to 0.1.28 ( #3937 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.27 to 0.1.28.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.27...tracing-0.1.28 )
---
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>
2021-09-27 07:57:14 +02:00
dependabot[bot]
4f70899f6b
Bump parity-scale-codec from 2.2.0 to 2.3.0 ( #3833 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases )
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/parity-scale-codec/compare/v2.2...parity-scale-codec-v2.3.0 )
---
updated-dependencies:
- dependency-name: parity-scale-codec
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-09-23 00:29:41 +00:00
dependabot[bot]
b9e1f09b30
Bump tracing from 0.1.26 to 0.1.27 ( #3841 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.26 to 0.1.27.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.26...tracing-0.1.27 )
---
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>
2021-09-14 12:23:05 +02:00
Robert Klotzner
a14b667723
Fix flaky availability-recovery test ( #3812 )
...
* Increase timeout in tests.
Fixes #3798
* Fix timeout.
2021-09-08 12:56:45 +00:00
Lldenaurois
2bd84151ed
Add tests and modify as_vec implementation ( #3715 )
...
* Add tests and modify as_vec implementation
* Address feedback
* fix typo in test
2021-09-06 13:24:04 +02:00
dependabot[bot]
c71a221097
Bump futures from 0.3.16 to 0.3.17 ( #3742 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.16 to 0.3.17.
- [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.16...0.3.17 )
---
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-09-04 21:16:23 +02:00
Robert Klotzner
ffcde1e5e7
Fixes/improvements for disputes ( #3753 )
...
* More debugging output.
* Fix chain selection in case of disputes.
* Fix flaky test.
2021-09-01 14:25:56 -05:00
Robert Klotzner
e56efb82d9
Further improved availability recovery ( #3711 )
...
* WiP.
* Things compile.
* cargo fmt
* Passing tests + fix warnings.
* Metrics for availability recovery.
* Basic test.
* Fix typos and actually check for overflow.
* cargo fmt
* Register metrics.
* More tests.
* Fix warning.
* cargo +nightly fmt
* Fix metrics
* Get rid of unsafe.
* tabify
* spellcheck
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Bastian Köcher <info@kchr.de >
2021-08-27 18:59:23 +02:00
Lldenaurois
9b45483cb1
backing-availability-audit: Move ErasureChunk Proof to BoundedVec ( #3626 )
...
* backing-availability-audit: Move ErasureChunk Proof to BoundedVec
* WIP
* Touch up
* Fix spelling mistake
* Address Feedback
2021-08-24 12:50:33 -04:00
Robert Klotzner
489a8e6da1
Fill up requests slots via launch_parallel_requests ( #3681 )
...
in case waiting for the next response takes too long.
2021-08-24 15:05:25 +02:00
Robert Klotzner
d6abe70c06
Better logs. ( #3650 )
2021-08-19 20:07:59 +02:00
dependabot[bot]
1c039fda48
Bump env_logger from 0.8.4 to 0.9.0 ( #3608 )
...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.8.4 to 0.9.0.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.4...v0.9.0 )
---
updated-dependencies:
- dependency-name: env_logger
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-08-13 12:42:26 +02:00
Robert Klotzner
55154a8d37
Remove request multiplexer ( #3624 )
...
* WIP: Get rid of request multiplexer.
* WIP
* Receiver for handling of incoming requests.
* Get rid of useless `Fault` abstraction.
The things the type system let us do are not worth getting abstracted in
its own type. Instead error handling is going to be merely a pattern.
* Make most things compile again.
* Port availability distribution away from request multiplexer.
* Formatting.
* Port dispute distribution over.
* Fixup statement distribution.
* Handle request directly in collator protocol.
+ Only allow fatal errors at top level.
* Use direct request channel for availability recovery.
* Finally get rid of request multiplexer
Fixes #2842 and paves the way for more back pressure possibilities.
* Fix overseer and statement distribution tests.
* Fix collator protocol and network bridge tests.
* Fix tests in availability recovery.
* Fix availability distribution tests.
* Fix dispute distribution tests.
* Add missing dependency
* Typos.
* Review remarks.
* More remarks.
2021-08-12 13:11:36 +02:00
dependabot[bot]
a4527cbc49
Bump thiserror from 1.0.24 to 1.0.26 ( #3592 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.24 to 1.0.26.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.24...1.0.26 )
---
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>
2021-08-07 19:42:37 +00:00
dependabot[bot]
05ec3d9875
Bump lru from 0.6.5 to 0.6.6 ( #3583 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.6.5 to 0.6.6.
- [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.6.5...0.6.6 )
---
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-08-06 20:17:36 +02:00
Chevdor
789017cc76
Version bumps to 0.9.9 ( #3576 )
...
* chore: version bump to 0.9.9
* bump from 0.9.0 to 0.9.9
2021-08-06 16:39:13 +02:00
Sergei Shulepov
68c03f66f3
Mass replace ,); pattern ( #3580 )
...
This is an artifact left by rustfmt which is not dare to remove the
comma being conservative.
2021-08-05 19:53:17 +02:00
Shawn Tabrizi
ff5d56fb76
cargo +nightly fmt ( #3540 )
...
* cargo +nightly fmt
* add cargo-fmt check to ci
* update ci
* fmt
* fmt
* skip macro
* ignore bridges
2021-08-02 10:47:33 +00:00
Andronik Ordian
e1be821fe1
change ActiveLeaves to contain at most one activated ( #3525 )
...
* change ActiveLeaves to contain at most one activated
* fix test
2021-07-27 16:45:15 +02:00
Bernhard Schuster
3c9104daff
refactor overseer into proc-macro based pattern ( #2962 )
2021-07-08 21:09:26 +02:00
Robert Klotzner
f293fb1025
Fix busy loops. ( #3392 )
2021-07-01 08:44:13 +02:00
Andronik Ordian
ffc6f7c731
make ctx.spawn blocking ( #3337 )
...
* make spawn sync
* improve error type
2021-06-21 20:43:40 -05:00
dependabot[bot]
a5c6d30ccd
Bump env_logger from 0.8.2 to 0.8.4 ( #3298 )
...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.8.2 to 0.8.4.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.2...v0.8.4 )
---
updated-dependencies:
- dependency-name: env_logger
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-06-19 22:53:16 +02:00
Andronik Ordian
cbeb7d0afd
tabify tests ( #3220 )
...
* tabify tests
* move mod tests; up
2021-06-12 15:39:18 +02:00
dependabot[bot]
4de30aa5d9
Bump futures from 0.3.14 to 0.3.15 ( #3178 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.14 to 0.3.15.
- [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.14...0.3.15 )
---
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-06-09 16:37:25 +02:00
Andronik Ordian
29b531f4ec
remove tracing::intrument annotations ( #3197 )
...
* remove tracing::intrument annotations
* remove unused param and leftover
* more leftovers
2021-06-09 10:35:18 +00:00
Robert Habermeier
963993d288
Reversion Safety tools for overseer and subsystems ( #3104 )
...
* guide: reversion safety
* guide: manage reversion safety in subsystems
* add leaf status to ActivatedLeaf
* add an LRU-cache to overseer for staleness detection
* update ActivatedLeaf usages in tests to contain status field
* add variant where missed accidentally
* add some helpers to LeafStatus
* address grumbles
2021-05-31 20:54:05 +02:00
dependabot[bot]
5316cbbc66
Bump tracing from 0.1.25 to 0.1.26 ( #3120 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.25 to 0.1.26.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.25...tracing-0.1.26 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-27 09:51:35 +02:00
François Garillot
d4ddf8d7e8
Simplify some Option / Result / ? operator patterns ( #2920 )
...
* Simplify some Option / Result / ? operator patterns
When they identically match a combinator on those types.
Tool-aided by [comby-rust](https://github.com/huitseeker/comby-rust ).
* adjust review comments
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
2021-04-25 20:51:01 +00:00
Andronik Ordian
2ff5c9b995
tests: use future::join instead of future::select ( #2813 )
...
* tests/av-store: use future::join instead of future::select
* tests/backing: use future::join instead of future::select
* tests/provisioner: use future::join instead of future::select
* tests/av-dist: use future::join instead of future::select
* tests/av-recovery: use future::join instead of future::select
* tests/bridge: use future::join instead of future::select
* tests/collator-protocol: use future::join instead of future::select
* tests/stmt-dist: use future::join instead of future::select
* fix tests
2021-04-05 18:30:27 +02:00
Robert Habermeier
11b8e4c821
Collation protocol: stricter validators ( #2810 )
...
* guide: declare one para as a collator
* add ParaId to Declare messages and clean up
* fix build
* fix the testerinos
* begin adding keystore to collator-protocol
* remove request_x_ctx
* add core_for_group
* add bump_rotation
* add some more helpers to subsystem-util
* change signing_key API to take ref
* determine current and next para assignments
* disconnect collators who are not on current or next para
* add collator peer count metric
* notes for later
* some fixes
* add data & keystore to test state
* add a test utility for answering runtime API requests
* fix existing collator tests
* add new tests
* remove sc_keystore
* update cargo lock
Co-authored-by: Andronik Ordian <write@reusable.software >
2021-04-03 21:48:58 +02:00
Robert Habermeier
5da762e728
Avoid querying the local validator in availability recovery ( #2792 )
...
* guide: don't request availability data from ourselves
* add QueryAllChunks message
* implement QueryAllChunks
* remove unused relay_parent from StoreChunk
* test QueryAllChunks
* fast paths make short roads
* test early exit behavior
2021-04-01 15:57:41 +02:00
Robert Habermeier
e65cad69ec
Fix future-polling loop in availability and add a better early-exit ( #2779 )
...
* onto the front
* fix early exit for waiting for requests
* add logging back
2021-03-31 17:35:17 +02:00
Robert Habermeier
08d5b268a0
Retry availability until the receiver of the request is dropped ( #2763 )
...
* guide updates
* keep interactions alive until receivers drop
* retry indefinitely
* cancel approval tasks on finality
* use swap_remove instead of remove
2021-03-30 17:33:38 +02:00
Robert Klotzner
0a9fe852df
Move non runtime related stuff into node/primitives ( #2743 )
...
* Remove stuff out of the runtime that does not belong there.
There might be more, but it is a start.
* White space fixes.
* Fix tests.
* Leave whitespace in ui tests alone.
* Add back zstd for no reason.
* Fix browser wasm (hopefully)
2021-03-29 02:15:44 +02:00
Robert Habermeier
064df81ee4
Add block number to activated leaves and associated fixes ( #2718 )
...
* add number to `ActivatedLeavesUpdate`
* update subsystem util and overseer
* use new ActivatedLeaf everywhere
* sort view
* sorted and limited view in network bridge
* use live block hash only if it's newer
* grumples
2021-03-26 13:06:40 +01:00
Robert Habermeier
8a396c678f
Port availability recovery to use req/res ( #2694 )
...
* add AvailableDataFetchingRequest
* rename AvailabilityFetchingRequest to ChunkFetchingRequest
* rename AvailabilityFetchingResponse to Chunk_
* add AvailableDataFetching request
* add available data fetching request to availability recovery message
* remove availability recovery message
* fix
* update network bridge
* port availability recovery to request/response
* use validators.len(), not shuffling
* fix availability recovery tests
* update guide
* Update node/network/availability-recovery/src/lib.rs
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
* Update node/network/availability-recovery/src/lib.rs
Co-authored-by: Arkadiy Paronyan <arkady.paronyan@gmail.com >
* remove println
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
Co-authored-by: Arkadiy Paronyan <arkady.paronyan@gmail.com >
2021-03-25 15:34:24 +01:00
Arkadiy Paronyan
de85c05102
Tweaked logging ( #2695 )
...
* Tweaked logging
* Debug for Statement
2021-03-24 18:06:44 +00:00