dependabot[bot]
5ac497d431
Bump env_logger from 0.8.1 to 0.8.2 ( #1981 )
...
Bumps [env_logger](https://github.com/env-logger-rs/env_logger ) from 0.8.1 to 0.8.2.
- [Release notes](https://github.com/env-logger-rs/env_logger/releases )
- [Changelog](https://github.com/env-logger-rs/env_logger/blob/master/CHANGELOG.md )
- [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.8.1...v0.8.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-19 14:18:18 +01:00
Andronik Ordian
0a8a607a58
update most of the dependencies ( #1946 )
...
* update tiny-keccak to 0.2
* update deps except bitvec and shared_memory
* fix some warning after futures upgrade
* remove useless package rename caused by bug in cargo-upgrade
* revert parity-util-mem *
* remove unused import
* cargo update
* remove all renames on parity-scale-codec
* remove the leftovers
* remove unused dep
2020-11-17 11:16:31 +01:00
Bernhard Schuster
f345123748
introduce errors with info ( #1834 )
2020-10-27 08:10:03 +01:00
Rakan Alhneiti
bd75a4ce18
Update to work with async keystore – Companion PR for #7000 ( #1740 )
...
* Fix keystore types
* Use SyncCryptoStorePtr
* Borrow keystore
* Fix unused imports
* Fix polkadot service
* Fix bitfield-distribution tests
* Fix indentation
* Fix backing tests
* Fix tests
* Fix provisioner tests
* Removed SyncCryptoStorePtr
* Fix services
* Address PR feedback
* Address PR feedback - 2
* Update CryptoStorePtr imports to be from sp_keystore
* Typo
* Fix CryptoStore import
* Document the reason behind using filesystem keystore
* Remove VALIDATORS
* Fix duplicate dependency
* Mark sp-keystore as optional
* Fix availability distribution
* Fix call to sign_with
* Fix keystore usage
* Remove tokio and fix parachains Cargo config
* Typos
* Fix keystore dereferencing
* Fix CryptoStore import
* Fix provisioner
* Fix node backing
* Update services
* Cleanup dependencies
* Use sync_keystore
* Fix node service
* Fix node service - 2
* Fix node service - 3
* Rename CryptoStorePtr to SyncCryptoStorePtr
* "Update Substrate"
* Apply suggestions from code review
* Update node/core/backing/Cargo.toml
* Update primitives/src/v0.rs
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
* Fix wasm build
* Update Cargo.lock
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com >
2020-10-09 10:54:03 +00:00
Andronik Ordian
579614d127
implement remaining subsystem metrics ( #1770 )
...
* overseer metrics: messages relayed
* provisioner metrics: cosmetic changes
* candidate selection metrics: cosmetic changes
* availability bitfields metrics
* availability distribution metrics
* PoV distribution metrics
* statement-distribution: small simplification
* statement-distribution: extract log target into a const
* statement-distribution: metrics
* address review nits
2020-10-01 12:08:03 +02:00
Fedor Sakharov
98660cbd94
Collator protocol subsystem ( #1659 )
...
* WIP
* The initial implementation of the collator side.
* Improve comments
* Multiple collation requests
* Add more tests and comments to validator side
* Add comments, remove dead code
* Apply suggestions from code review
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
* Fix build after suggested changes
* Also connect to the next validator group
* Remove a Future impl and move TimeoutExt to util
* Minor nits
* Fix build
* Change FetchCollations back to FetchCollation
* Try this
* Final fixes
* Fix build
Co-authored-by: Peter Goodspeed-Niklaus <coriolinus@users.noreply.github.com >
2020-09-10 16:54:59 +03:00
Fedor Sakharov
cc19f13468
use own timeout in tests instead of smol-timeout ( #1618 )
2020-08-20 20:27:09 +03:00
Robert Habermeier
a6b1d91d6e
Network bridge refactoring impl ( #1537 )
...
* update networking types
* port over overseer-protocol message types
* Add the collation protocol to network bridge
* message sending
* stub for ConnectToValidators
* add some helper traits and methods to protocol types
* add collator protocol message
* leaves-updating
* peer connection and disconnection
* add utilities for dispatching multiple events
* implement message handling
* add an observedrole enum with equality and no sentry nodes
* derive partial-eq on network bridge event
* add PartialEq impls for network message types
* add Into implementation for observedrole
* port over existing network bridge tests
* add some more tests
* port bitfield distribution
* port over bitfield distribution tests
* add codec indices
* port PoV distribution
* port over PoV distribution tests
* port over statement distribution
* port over statement distribution tests
* update overseer and service-new
* address review comments
* port availability distribution
* port over availability distribution tests
2020-08-12 11:16:28 +00:00
Bernhard Schuster
4bdfd02f93
impl availability distribution
...
Closes #1237
2020-08-10 15:02:30 +02:00
Peter Goodspeed-Niklaus
9fda6cb416
break out subsystem-util and subsystem-test-helpers into individual crates ( #1553 )
...
* break out subsystem-util and subsystem-test-helpers into individual crates
* cause all packages to check successfully
2020-08-07 16:51:36 +02:00
Bastian Köcher
8f3317d056
Update scale codec to latest version to fix bug in future rustc version ( #1491 )
...
* Update scale codec to latest version to fix bug in future rustc version
Companion of: https://github.com/paritytech/substrate/pull/6746
* 'Update substrate'
Co-authored-by: parity-processbot <>
2020-07-28 20:43:38 +00:00
Ashley
7c7b02ece0
Companion PR for Various small improvements to service construction.. ( #1472 )
...
* Initial commit
Forked at: 1ed17cd467
Parent branch: origin/master
* Refactor
* Refactor
* Remove macro
* WIP
Forked at: 1ed17cd467
Parent branch: origin/master
* CLEANUP
Forked at: 1ed17cd467
Parent branch: origin/master
* small fix
* fix for browser
* Switch branch
* Rewrite service builds
* Update branch
* Fix sp-core branch
* Switch branch back and update
Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com >
2020-07-28 20:18:11 +02:00
Bernhard Schuster
a1c704d446
implement bitfield distribution subsystem ( #1368 )
...
* feat bitfield distribution
* feat bitfield distribution part 2
* pair programming with rustc & cargo
* lets go
* move bitfield-distribution to the node/network folder
* shape shifting
* lunchtime
* ignore the two fn recursion for now
* step by step
* triplesteps
* bandaid commit
* unordered futures magic
* chore
* reword markdown
* clarify
* lacks abortable processing impl details
* slimify
* fix: warnings and avoid ctx.clone() improve comments
* review comments
* fix details
* make sure outgoing messages are tracked
* fix name
* fix subsystem
* partial test impl
* relax context bounds
* test
* X
* X
* initial test
* fix relay_message not tracked when origin is self
* fix/guide: grammar
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
* work around missing Eq+PartialEq
* fix: add missing message to provisioner
* unify per_job to job_data
* fix/review: part one
* fix/review: more grumbles
* fix/review: track incoming messages per peer
* fix/review: extract fn, avoid nested matches
* fix/review: more tests, simplify test
* fix/review: extend tests to cover more cases
* chore/rename: Tracker -> ProtocolState
* chore check and comment rewording
* feat test: invalid peer message
* remove ignored test cases and unused macros
* fix master merge fallout + warnings
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2020-07-23 15:46:22 +03:00