Andrei Sandu
eb00a21ef7
dispute-coordinator: fix earliest session checks for pruning and import ( #6358 )
...
* RollingSession: add fn contains
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* handle_import_statements fix ancient dispute check
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* work with earliest session instead of latest
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update comment
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-11-28 17:43:13 +01:00
Andrei Sandu
c261353380
Make rolling session more resilient in case of long finality stalls ( #6106 )
...
* Impl dynamic window size. Keep sessions for unfinalized chain
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Stretch also in contructor plus tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix approval-voting tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* grunting: dispute coordinator tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* add session window column
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* integrate approval vote and fix tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix rolling session tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Small refactor
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* WIP, tests failing
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix approval voting tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix dispute-coordinator tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* remove uneeded param
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix loose ends
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* allow failure and tests for it
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix comment
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* comment fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* style fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* new col doesn't need to be ordered
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt and spellcheck
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* db persist tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Add v2 config and cols
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* DB upgrade WIP
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Fix comments
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* add todo
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* update to parity-db to "0.4.2"
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* migration complete
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* One session window size
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix merge damage
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix build errors
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fmt
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* comment fix
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix build
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* make error more explicit
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* add comment
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* refactor conflict merge
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* rename col_data
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* add doc comment
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix build
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* migration: move all cols to v2
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-11-08 18:16:31 +01:00
Boluwatife Bakre
8eb1f4617f
Use a more typesafe approach for managing indexed data ( #6150 )
...
* Fix for issue #2403
* Nightly fmt
* Quick documentation fixes
* Default Implementation
* iter() function integrated
* Implemented iter functionalities
* Fmt
* small change
* updates node-network
* updates in dispute-coordinator
* Updates
* benchmarking fix
* minor fix
* test fixes in runtime api
* Update primitives/src/v2/mod.rs
Co-authored-by: Andronik <write@reusable.software >
* Update primitives/src/v2/mod.rs
Co-authored-by: Andronik <write@reusable.software >
* Update primitives/src/v2/mod.rs
Co-authored-by: Andronik <write@reusable.software >
* Update primitives/src/v2/mod.rs
Co-authored-by: Andronik <write@reusable.software >
* Update primitives/src/v2/mod.rs
Co-authored-by: Andronik <write@reusable.software >
* Removal of [index], shorting of FromIterator, Renaming of GroupValidators to ValidatorGroups
* Removal of ops import
* documentation fixes for spell check
* implementation of generic type
* Refactoring
* Test and documentation fixes
* minor test fix
* minor test fix
* minor test fix
* Update node/network/statement-distribution/src/lib.rs
Co-authored-by: Andronik <write@reusable.software >
* Update primitives/src/v2/mod.rs
Co-authored-by: Andronik <write@reusable.software >
* Update primitives/src/v2/mod.rs
Co-authored-by: Andronik <write@reusable.software >
* removed IterMut
* Update node/core/dispute-coordinator/src/import.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/core/dispute-coordinator/src/initialized.rs
Co-authored-by: Andronik <write@reusable.software >
* Update primitives/src/v2/mod.rs
Co-authored-by: Andronik <write@reusable.software >
* fmt
* IterMut
* documentation update
Co-authored-by: Andronik <write@reusable.software >
* minor adjustments and new TypeIndex trait
* spelling fix
* TypeIndex fix
Co-authored-by: Andronik <write@reusable.software >
2022-10-22 08:39:11 +00:00
Mara Robin B
f8cc39a761
sync versions with current release (0.9.31) ( #6176 )
...
* Bump spec_version to 9310
* bump transaction_version (0.9.31) (#6171 )
* Bump transaction_version for polkadot
* Bump transaction_version for kusama
* Bump transaction_version for rococo
* Bump transaction_version for westend
* Bump transaction_version for polkadot
* Bump transaction_version for kusama
* Bump transaction_version for rococo
* Bump transaction_version for westend
* Bump crate versions (0.9.31)
2022-10-22 00:08:53 -04:00
Andronik
af6a5cd96a
update kvdb & co ( #6111 )
...
* toml changes
* REVERTME: patch
* adapt parachains db interface
* fix Cargo.toml patch after master rebase
* fix av-store
* fix chain-selection
* fix parachains-db?
* Revert "fix Cargo.toml patch after master rebase"
This reverts commit 3afcbf033c86027b3f2b909d83ec703591bdd287.
* Revert "REVERTME: patch"
This reverts commit 464b717cf4142d3d09c3d77b83700b632d8c5f54.
* Use `Ok` imported from prelude
Co-authored-by: Bastian Köcher <info@kchr.de >
* update lockfile for {"substrate"}
* Revert "update lockfile for {"substrate"}"
This reverts commit fdc623de226f7645741b86c4b1a7d030fed2172d.
* cargo update -p sp-io
Co-authored-by: Bastian Köcher <info@kchr.de >
Co-authored-by: parity-processbot <>
2022-10-05 22:36:51 +00:00
dependabot[bot]
a64cc4a860
Bump lru from 0.7.8 to 0.8.0 ( #6060 )
...
* Bump lru from 0.7.8 to 0.8.0
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.7.8 to 0.8.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.7.8...0.8.0 )
---
updated-dependencies:
- dependency-name: lru
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Change `LruCache` paramerter to `NonZeroUsize`
* Change type of `session_cache_lru_size` to `NonZeroUsize`
* Add expects instead of unwrap
Co-authored-by: Bastian Köcher <info@kchr.de >
* Use match to get rid of expects
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-10-04 11:28:21 +00:00
Andrei Sandu
7114a8cfca
Keep sessions in window for the full unfinalized chain ( #6054 )
...
* Impl dynamic window size. Keep sessions for unfinalized chain
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Stretch also in contructor plus tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix approval-voting tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* grunting: dispute coordinator tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-10-04 13:36:42 +03:00
Andrei Sandu
d7eaaeee65
Remove orchestra and metered channel ( #6086 )
...
* Use orchestra and metered channel from repo
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Update node/subsystem-util/Cargo.toml
Co-authored-by: Andronik <write@reusable.software >
* Update node/subsystem-types/Cargo.toml
Co-authored-by: Andronik <write@reusable.software >
* Update node/metrics/Cargo.toml
Co-authored-by: Andronik <write@reusable.software >
* Update node/overseer/Cargo.toml
Co-authored-by: Andronik <write@reusable.software >
* Update node/overseer/Cargo.toml
Co-authored-by: Andronik <write@reusable.software >
* update cargo lock
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
Co-authored-by: Andronik <write@reusable.software >
2022-10-03 12:26:23 +02:00
Mara Robin B
1acc3fa150
Sync versions with current release (v0.9.29) ( #5982 )
...
* Bump transaction_version for westend
* Bump transaction_version for rococo
* Bump transaction_version for kusama
* Bump transaction_version for polkadot
* Bump spec_version to 9290
* Bump crate versions
2022-09-09 11:24:06 +00:00
Mara Robin B
fc97080cb2
version bumps (0.9.28) ( #5933 )
...
* Bump crate versions
* Bump spec_version to 9280 for kusama
* Bump spec_version to 9280 for polkadot
* Bump spec_version to 9280 for rococo
* Bump spec_version to 9280 for westend
* update Cargo.lock
Co-authored-by: parity-processbot <>
2022-08-29 18:01:58 +02:00
dependabot[bot]
80fae17118
Bump futures-util from 0.3.21 to 0.3.23 ( #5922 )
...
* Bump futures-util from 0.3.21 to 0.3.23
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.21 to 0.3.23.
- [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.21...0.3.23 )
---
updated-dependencies:
- dependency-name: futures-util
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix deprecated warning
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-08-29 08:03:29 +00:00
dependabot[bot]
427e7c1ab3
Bump async-trait from 0.1.56 to 0.1.57 ( #5919 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.56 to 0.1.57.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.56...0.1.57 )
---
updated-dependencies:
- dependency-name: async-trait
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-24 21:13:45 +00:00
Chevdor
85dabbd850
Backport crate version bumps to 0.9.27 ( #5826 )
...
* Bump crate versions
* Update cargo.lock
2022-07-28 10:03:27 +00:00
Bernhard Schuster
3240cb5e4d
split NetworkBridge into two subsystems ( #5616 )
...
* foo
* rolling session window
* fixup
* remove use statemetn
* fmt
* split NetworkBridge into two subsystems
Pending cleanup
* split
* chore: reexport OrchestraError as OverseerError
* chore: silence warnings
* fixup tests
* chore: add default timenout of 30s to subsystem test helper ctx handle
* single item channel
* fixins
* fmt
* cleanup
* remove dead code
* remove sync bounds again
* wire up shared state
* deal with some FIXMEs
* use distinct tags
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* use tag
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* address naming
tx and rx are common in networking and also have an implicit meaning regarding networking
compared to incoming and outgoing which are already used with subsystems themselvesq
* remove unused sync oracle
* remove unneeded state
* fix tests
* chore: fmt
* do not try to register twice
* leak Metrics type
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
Co-authored-by: Andronik <write@reusable.software >
2022-07-12 16:22:36 +00:00
Chevdor
9fc4e16eff
Version bump to v0.9.26/9260 ( #5755 )
...
* Bump spec_version to 9260
* Version bump to v0.9.26
2022-07-06 10:31:45 +00:00
dependabot[bot]
09b10fa25e
Bump parity-scale-codec from 3.1.2 to 3.1.5 ( #5720 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.1.2 to 3.1.5.
- [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-3.1.2...parity-scale-codec-3.1.5 )
---
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>
2022-06-27 10:27:49 +00:00
Mara Robin B
97f9b840e4
bump versions to 0.9.25 ( #5684 )
...
* kusama: bump spec_version to 9250
* polkadot: bump spec_version to 9250
* rococo: bump spec_version to 9250
* westend: bump spec_version to 9250
* bump version to 0.9.25
* bump transaction version (polkadot & kusama) (#5690 )
* kusama: bump transaction_version to 12
* polkadot: bump transaction_version to 13
2022-06-21 13:02:04 +00: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
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
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
Bernhard Schuster
450ca2baca
overseer becomes orchestra ( #5542 )
...
* rename overseer-gen to orchestra
Also drop `gum` and use `tracing`.
* make orchestra compile as standalone
* introduce Spawner trait to split from sp_core
Finalizes the independence of orchestra from polkadot-overseer
* slip of the pen
* other fixins
* remove unused import
* Update node/overseer/orchestra/proc-macro/src/impl_builder.rs
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
* Update node/overseer/orchestra/proc-macro/src/impl_builder.rs
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
* orchestra everywhere
* leaky data
* Bump scale-info from 2.1.1 to 2.1.2 (#5552 )
Bumps [scale-info](https://github.com/paritytech/scale-info ) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/paritytech/scale-info/releases )
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md )
- [Commits](https://github.com/paritytech/scale-info/compare/v2.1.1...v2.1.2 )
---
updated-dependencies:
- dependency-name: scale-info
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>
* Add missing markdown code block delimiter (#5555 )
* bitfield-signing: remove util::jobs usage (#5523 )
* Switch to pooling copy-on-write instantiation strategy for WASM (companion for Substrate#11232) (#5337 )
* Switch to pooling copy-on-write instantiation strategy for WASM
* Fix compilation of `polkadot-test-service`
* Update comments
* Move `max_memory_size` to `Semantics`
* Rename `WasmInstantiationStrategy` to `WasmtimeInstantiationStrategy`
* Update a safety comment
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
* Fix build
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Malte Kliemann <mail@maltekliemann.com >
Co-authored-by: Chris Sosnin <48099298+slumber@users.noreply.github.com >
Co-authored-by: Koute <koute@users.noreply.github.com >
2022-05-19 13:42:02 +01:00
Mara Robin B
3b685fbf91
version bumps (0.9.22) ( #5495 )
...
* bump versions to 0.9.22
* bump spec_version to 9220
2022-05-16 13:24:24 +02:00
Bernhard Schuster
511891dcce
refactor+feat: allow subsystems to send only declared messages, generate graphviz ( #5314 )
...
Closes #3774
Closes #3826
2022-05-12 17:39:05 +02:00
Bernhard Schuster
d437a33e0b
polkadot-node-subsystem package rename mish mash cleanup ( #5502 )
...
* unify to polkadot-node-subsystem{,-test-helpers}
* chore: fmt
2022-05-11 15:32:38 +00:00
dependabot[bot]
992705d127
Bump log from 0.4.16 to 0.4.17
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.16 to 0.4.17.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/commits/0.4.17 )
---
updated-dependencies:
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-05-08 22:32:57 +02:00
cheme
fc568486fa
update parity-db version ( #5472 )
2022-05-06 15:24:16 +02:00
dependabot[bot]
bd5db20e7c
Bump thiserror from 1.0.30 to 1.0.31 ( #5439 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.30...1.0.31 )
---
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>
2022-05-04 13:53:53 +00:00
Shawn Tabrizi
dde3a74102
bump sp-io and parity-db
2022-05-04 02:00:17 +02:00
Robert Klotzner
f820db494f
dispute-coordinator: Cleanup + Bug fixes ( #5323 )
...
* Make import confirmation oneshot optional.
* Cleanup for further improvements.
* Queue adoptions.
* Fix fieldname
* Use correct relay parent
* Fix scraper tests.
* Small optimization.
* Fix all tests.
* Fix other tests.
* fmt
* spelling
* Fix warning.
2022-04-19 14:51:02 +02:00
dependabot[bot]
6b9bdbe1c2
Bump parity-db from 0.3.9 to 0.3.11 ( #5261 )
...
Bumps [parity-db](https://github.com/paritytech/parity-db ) from 0.3.9 to 0.3.11.
- [Release notes](https://github.com/paritytech/parity-db/releases )
- [Commits](https://github.com/paritytech/parity-db/commits/v0.3.11 )
---
updated-dependencies:
- dependency-name: parity-db
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-04-18 22:55:18 +02:00
Mara Robin B
7ed275bff8
bump version to 0.9.19 ( #5290 )
2022-04-08 11:48:43 +00:00
dependabot[bot]
cccf59d742
Bump lru from 0.7.4 to 0.7.5 ( #5251 )
...
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] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 14:22:25 +02:00
dependabot[bot]
f04e6065dd
Bump lru from 0.7.3 to 0.7.4 ( #5244 )
...
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] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-04 13:55:11 +02:00
Qinxuan Chen
74078d8eb9
Comanion for substrate#11136 ( #5218 )
...
* Comanion for substrate#11136
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* revert changes in bridge
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
2022-04-04 11:13:34 +02:00
dependabot[bot]
d9f454f903
Bump log from 0.4.14 to 0.4.16 ( #5187 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.14 to 0.4.16.
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/commits )
---
updated-dependencies:
- dependency-name: log
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-03-30 13:23:27 +02:00
dependabot[bot]
9f4b839b06
Bump async-trait from 0.1.52 to 0.1.53 ( #5213 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.52 to 0.1.53.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.52...0.1.53 )
---
updated-dependencies:
- dependency-name: async-trait
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-03-30 12:04:49 +02:00
Vsevolod Stakhov
af94fc9534
Try to fix out of view statements ( #5177 )
...
This issue happens when some peer sends a good but already known Seconded statement and the statement-distribution code does not update the statements_received field in the peer_knowledge structure. Subsequently, a Valid statement causes out-of-view message that is incorrectly emitted and causes reputation lose.
This PR also introduces a concept of passing the specific pseudo-random generator to subsystems to make it easier to write deterministic tests. This functionality is not really necessary for the specific issue and unit test but it can be useful for other tests and subsystems.
2022-03-24 20:18:43 +00:00
cheme
183b52e7db
update parity-db ( #5175 )
2022-03-22 09:55:57 +00:00
Bernhard Schuster
6e3b5f1888
bitfield dist logging cleanup and enhancements ( #5147 )
...
* split metrics from bitfield signing
* cleanup all logging
* add a unit test for subset generation
* chore: add one more test to assert need is properly represented
* u8 as usize
* chore: overseer fixin
* fix test
* Update node/network/bitfield-distribution/src/metrics.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* Update node/network/bitfield-distribution/src/metrics.rs
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
* fallout from suggested rename
* consistency
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
2022-03-18 13:44:38 +00:00
dependabot[bot]
61a6004cf1
Bump parity-scale-codec from 3.1.0 to 3.1.2 ( #5153 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.1.0 to 3.1.2.
- [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/commits )
---
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>
2022-03-18 10:32:49 +00:00
Bernhard Schuster
d631f1dea8
observability: tracing gum, automatically cross ref traceID ( #5079 )
...
* add some gum
* bump expander
* gum
* fix all remaining issues
* last fixup
* Update node/gum/proc-macro/src/lib.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* change
* netowrk
* fixins
* chore
* allow optional fmt str + args, prep for expr as kv field
* tracing -> gum rename fallout
* restrict further
* allow multiple levels of field accesses
* another round of docs and a slip of the pen
* update ADR
* fixup lock fiel
* use target: instead of target=
* minors
* fix
* chore
* Update node/gum/README.md
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
2022-03-15 11:05:16 +00:00
dependabot[bot]
3335ddc0da
Bump parity-scale-codec from 3.0.0 to 3.1.0 ( #5096 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.0.0 to 3.1.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/v3.0...parity-scale-codec-v3.1.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>
2022-03-14 19:34:46 +01:00
Dan Shields
6fc2da146f
Bump all spec version to 9180 and versions to 0.9.18 ( #5083 )
...
* bump all spec version to 9180 and versions to 0.9.18
* all to 0.9.18
* lock update
2022-03-11 10:19:47 +01:00
dependabot[bot]
a863bfe69d
Bump tracing from 0.1.31 to 0.1.32 ( #5075 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.31 to 0.1.32.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.31...tracing-0.1.32 )
---
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-03-10 09:45:57 +00:00
Robert Habermeier
49f7e5cce4
Finish migration to v2 primitives ( #5037 )
...
* remove v0 primitives from polkadot-primitives
* first pass: remove v0
* fix fallout in erasure-coding
* remove v1 primitives, consolidate to v2
* the great import update
* update runtime_api_impl_v1 to v2 as well
* guide: add `Version` request for runtime API
* add version query to runtime API
* reintroduce OldV1SessionInfo in a limited way
2022-03-09 14:01:13 -06:00
cheme
d5ddb1a809
paritydb support for parachains db. ( #4838 )
...
* parity db subsystem without cache and no splitted column
* fmt
* fix path (auto from parity-db fail)
* lru cache for db column with cache
* Revert "lru cache for db column with cache"
This reverts commit ae177bc5e107a075eff6a21f651218ada6599b74.
* Write_lock mutex
* theoric code for bridges
* revert changes
* Revert bridge changes
* fix spec_version
* update parity db
* test purge-db
* Use specific ordered collection with paritydb.
* Revert "Use specific ordered collection with paritydb."
This reverts commit 8b66d0a4ae914cba1af0f44050d45dd6d9327c6b.
* fix chain selection tests.
* remove patch
* fix auto.
* Remove useless exists directory method
* purge chain without parity-db removal
* spellcheck
* renamings and filtering.
* fix assertion
* format
* update parity-db and fmt
* Auto keep using rocksdb when it exists.
* Revert "Auto keep using rocksdb when it exists."
This reverts commit cea49b32ae590bdce31fed5c45f3c028ae0c7564.
* Update kvdb version.
2022-03-03 11:49:38 +00:00
dependabot[bot]
44ceb6ddd3
Bump lru from 0.7.2 to 0.7.3 ( #5008 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.7.2 to 0.7.3.
- [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.2...0.7.3 )
---
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-03-02 01:16:13 +00:00
Bernhard Schuster
d946582707
fatality based errors ( #4448 )
...
* seed commit for fatality based errors
* fatality
* first draft of fatality
* cleanup
* differnt approach
* simplify
* first working version for enums, with documentation
* add split
* fix simple split test case
* extend README.md
* update fatality impl
* make tests passed
* apply fatality to first subsystem
* fatality fixes
* use fatality in a subsystem
* fix subsystemg
* fixup proc macro
* fix/test: log::*! do not execute when log handler is missing
* fix spelling
* rename Runtime2 to something sane
* allow nested split with `forward` annotations
* add free license
* enable and fixup all tests
* use external fatality
Makes this more reviewable.
* bump fatality dep
Avoid duplicate expander compilations.
* migrate availability distribution
* more fatality usage
* chore: bump fatality to 0.0.6
* fixup remaining subsystems
* chore: fmt
* make cargo spellcheck happy
* remove single instance of `#[fatal(false)]`
* last quality sweep
* fixup
2022-02-25 17:25:26 +00:00