André Silva
fc7f6dbfd9
Companion for substrate#9128 ( #3268 )
...
* support async selectchain
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-20 11:39:20 +00:00
dependabot[bot]
03813cdc10
Bump kvdb-rocksdb from 0.11.0 to 0.11.1 ( #3315 )
...
Bumps [kvdb-rocksdb](https://github.com/paritytech/parity-common ) from 0.11.0 to 0.11.1.
- [Release notes](https://github.com/paritytech/parity-common/releases )
- [Commits](https://github.com/paritytech/parity-common/compare/kvdb-rocksdb-v0.11.0...kvdb-rocksdb-v0.11.1 )
---
updated-dependencies:
- dependency-name: kvdb-rocksdb
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-20 03:22:08 +02:00
André Silva
85936d2862
Companion for substrate#9138 ( #3294 )
...
* fix babe params
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-19 21:08:00 +00: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
Robert Habermeier
b70da7bff7
Block weight ChainAPI ( #3301 )
...
* guide: ChainApiMessage::BlockWeight
* node: BlockWeight ChainAPI
* fix compile issue
* implement ChainApi::BlockWeight
* add test for ChainApi::BlockWeight
* update substrate
Co-authored-by: André Silva <andrerfosilva@gmail.com >
2021-06-19 19:19:07 +02:00
Andreas Doerr
be2d1ce01b
Bump BEEFY ( #3302 )
2021-06-19 17:46:06 +02:00
Andronik Ordian
ad9c02886d
improved gossip topology ( #3270 )
...
* gossip-support: gossip topology
* some fixes
* handle view update for newly added gossip peers
* fix neighbors calculation
* fix test
* resolve TODOs
* typo
* guide updates
* spaces in the guide
* sneaky spaces
* hash randomness
* address some review nits
* use unbounded in bridge for subsystem msg
2021-06-18 14:30:35 -05:00
dependabot[bot]
dc286de7af
Bump derive_more from 0.99.11 to 0.99.14 ( #3248 )
...
Bumps [derive_more](https://github.com/JelteF/derive_more ) from 0.99.11 to 0.99.14.
- [Release notes](https://github.com/JelteF/derive_more/releases )
- [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md )
- [Commits](https://github.com/JelteF/derive_more/compare/v0.99.11...v0.99.14 )
---
updated-dependencies:
- dependency-name: derive_more
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-18 07:28:26 +02:00
Zeke Mostov
6f8c8ec387
Companion #9019 (max rpc payload override) ( #3276 )
...
* Companion #9019 (max rpc payload override)
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-17 15:14:06 +00:00
André Silva
4b3ec9c97d
bridges: update finality-grandpa to 0.14.1 ( #3266 )
...
* bridges: update finality-grandpa
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-16 13:23:39 +00:00
Bernhard Schuster
44a8aa23d5
malus - mockable overseer mvp ( #3224 )
2021-06-16 12:45:21 +02:00
Shawn Tabrizi
2fbd705ed5
Companion for #8920 (Control Staking) ( #3260 )
...
* update weight apis
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-16 09:17:26 +02:00
Keith Yeung
7d82d93f34
Companion for #8949 ( #3216 )
...
* Remove Call part imports of the offences and authority discovery pallets
* Remove non-existent Call enum variants
* Move ValidateUnsigned impl to be under #[pallet::validate_unsigned] in claims pallet
* Remove unused imports
* Remove Call part import for randomness collective flip pallet
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-16 04:13:21 +00:00
Shawn Tabrizi
da71128daf
Companion for #9106 (remove_all with size limit) ( #3257 )
...
* update apis
* fix api
* rename to `KillStorageResult`
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-15 13:52:54 +00:00
Martin Pugh
396b38b355
Bump version, spec_version & substrate in prep for release v0.9.5 ( #3238 )
...
* bump spec_version and version
* bump substrate
* remove migrations
* Revert "remove migrations"
This reverts commit ceeab924d1cd5c2d3d05f24ab28315f0566f89d8.
* remove stale migration for kusama + westend
2021-06-14 23:10:45 +02:00
André Silva
d8d61bad36
implement dispute participation subsystem ( #3234 )
...
* implement dispute participation subsystem
* guide: minor fix in dispute participation
* Update node/core/dispute-participation/src/lib.rs
Co-authored-by: Andronik Ordian <write@reusable.software >
* dispute: add comments to participation logic
* dispute-coordinator: fix test compilation
* implementers-guide: update dispute participation
* dispute-participation: add error for missing validation code
* dispute-participation: add tests
* Update node/core/dispute-participation/src/lib.rs
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
* guide: update overseer protocol dispute participation message
* dispute-participation: remove duplication in tests
Co-authored-by: Andronik Ordian <write@reusable.software >
Co-authored-by: Robert Habermeier <rphmeier@gmail.com >
2021-06-14 15:41:02 -05:00
Guillaume Thiolliere
0ca6ee45b5
companion for staking/election: prolonged era and emergency mode for governance submission. ( #3201 )
...
* companion
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-14 14:33:55 +00:00
Qinxuan Chen
e05bd988ed
Companion for #9061 ( #3200 )
...
* migrate pallet-randomness-collective-flip to new pallet attr macro
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* fix
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* some nits
Signed-off-by: koushiro <koushiro.cqx@gmail.com >
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-14 11:29:39 +00:00
Robert Habermeier
5bc2b2779d
Dispute Coordinator Subsystem ( #3150 )
...
* skeleton for dispute-coordinator
* add coordinator and participation message types
* begin dispute-coordinator DB
* functions for loading
* implement strongly-typed DB transaction
* add some tests for DB transaction
* core logic for pruning
* guide: update candidate-votes key for coordinator
* update candidate-votes key
* use big-endian encoding for session, and implement upper bound generator
* finish implementing pruning
* add a test for note_current_session
* define state of the subsystem itself
* barebones subsystem definition
* control flow
* more control flow
* implement session-updating logic
* trace
* control flow for message handling
* Update node/core/dispute-coordinator/src/lib.rs
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
* Update node/subsystem/src/messages.rs
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
* some more control flow
* guide: remove overlay
* more control flow
* implement some DB getters
* make progress on importing statements
* add SignedDisputeStatement struct
* move ApprovalVote to shared primitives
* add a signing-payload API to explicit dispute statements
* add signing-payload to CompactStatement
* add relay-parent hash to seconded/valid dispute variatns
* correct import
* type-safe wrapper around dispute statements
* use checked dispute statement in message type
* extract rolling session window cache to subsystem-util
* extract session window tests
* approval-voting: use rolling session info cache
* reduce dispute window to match runtime in practice
* add byzantine_threshold and supermajority_threshold utilities to primitives
* integrate rolling session window
* Add PartialOrd to CandidateHash
* add Ord to CandidateHash
* implement active dispute update
* add dispute messages to AllMessages
* add dispute stubs to overseer
* inform dispute participation to participate
* implement issue_local_statement
* implement `determine_undisputed_chain`
* fix warnings
* test harness for dispute coordinator tests
* add more helpers to test harness
* add some more helpers
* some tests for dispute coordinator
* ignore wrong validator indices
* test finality voting rule constraint
* add more tests
* add variants to network bridge
* fix test compilation
* remove most dispute coordinator functionality
as of #3222 we can do most of the work within the approval voting subsystem
* Revert "remove most dispute coordinator functionality"
This reverts commit 9cd615e8eb6ca0b382cbaff525d813e753d6004e.
* Use thiserror
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
* Update node/core/dispute-coordinator/src/lib.rs
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
* extract tests to separate module
* address nit
* adjust run_iteration API
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
Co-authored-by: Bernhard Schuster <bernhard@ahoi.io >
2021-06-13 06:35:18 -05:00
Shawn Tabrizi
7f344df160
Companion for #9085 (pub calls) ( #3214 )
...
* update to use pub dispatchables
* update Substrate
* Update claims.rs
* remove warning
Co-authored-by: parity-processbot <>
2021-06-12 19:13:16 +01:00
Shawn Tabrizi
7e7b40d11c
Bump Substrate ( #3215 )
...
* fix warning
* Update lib.rs
2021-06-12 12:41:38 +02:00
Bastian Köcher
c8cf749aab
Substrate companion #9074 ( #3204 )
...
* Substrate companion #9074
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-11 17:52:31 +00:00
Shawn Tabrizi
d7213d33ba
Companion for #9018 (transfer_all) ( #3184 )
...
* update weights
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-11 16:32:41 +00:00
Bastian Köcher
9a66a597af
Companion for Substrate#9082 ( #3208 )
...
* Companion for Substrate#9082
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-11 15:39:02 +00:00
dependabot[bot]
73f368904b
Bump pin-project from 1.0.4 to 1.0.7 ( #3199 )
...
Bumps [pin-project](https://github.com/taiki-e/pin-project ) from 1.0.4 to 1.0.7.
- [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.4...v1.0.7 )
---
updated-dependencies:
- dependency-name: pin-project
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-11 16:55:44 +02:00
Folyd
1d3a9d81d6
Companion to substrate#8943: Disable color-eyre default features ( #3203 )
...
* Disable color-eyre default features
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-10 18:03:30 +00:00
Zeke Mostov
b2c9305d77
Companion to #8966 ( #3186 )
...
* update rustls to be compat with jsronrpsee 0.2.0
* Stub try-cli when feat not enabled
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-09 22:40:04 +00: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
Keith Yeung
99d49ad7c9
Companion for #8990 ( #3194 )
...
* Use new naming scheme for all Event enums generated by construct_runtime
* Use new naming scheme for all GenesisConfig fields generated by construct_runtime
* Fix overlooked GenesisConfig field renaming
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-09 10:07:04 +00:00
Bastian Köcher
f6cbe8e8d8
polkadot-service: Make native runtime configurable ( #3189 )
...
* polkadot-service: Make native runtime configurable
This pull requests adds support for configuring the native runtimes used
by polkadot-service. While this whole pr doesn't change that much for
polkadot, besides not having the light-node enabled for the default
polkadot binary. However, downstream projects (parachains) will have a
much better compile time. In cumulus for example the `cargo test --all
--release` is about 4m faster to compile.
* Fixes
* Fix
* Enable rococo-native
* Fix light client
* 🤦
* Fixes
2021-06-08 22:05:20 +02:00
Lldenaurois
2abaca3a8c
Remove candidate selection ( #3148 )
...
* Create validator_side module
* Subsume Candidate Selection
* Add test to ensure candidate backing logic is correct
* Ensure secondings are adequately cleaned up and address test flakyness
* Address Feedback
2021-06-08 14:07:19 -04:00
Niklas Adolfsson
6b1f457078
Companion for #9036 ( #3191 )
...
* deps: cargo update -p rustls
* fix build
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-08 16:47:06 +00:00
André Silva
9c014f7c8b
node: fix babe worker params ( #2956 )
...
* node: fix babe worker params
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-04 22:01:09 +00:00
dependabot[bot]
15d6399a37
Bump wasm-bindgen-futures from 0.4.19 to 0.4.23 ( #3177 )
...
Bumps [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen ) from 0.4.19 to 0.4.23.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: wasm-bindgen-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-04 13:31:05 +02:00
Gavin Wood
3d6df31cbe
Named reserve companion ( #3176 )
...
* fix build
* fix tests
* update
* fix
* update
* Bump
Co-authored-by: Bryan Chen <xlchen1291@gmail.com >
2021-06-04 11:17:59 +02:00
Arkadiy Paronyan
8223d3ae71
Update for the new substrate client API ( #2890 )
...
* Update for the new substrate client API
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-04 07:21:46 +00:00
Martin Pugh
5fcf3e0cea
bump spec version ( #3171 )
...
* bump spec version
* bump beefy
2021-06-03 18:30:49 +00:00
Martin Pugh
b63184e4ec
Bump version, substrate, beefy in prep for v0.9.4 ( #3169 )
...
* bump version, substrate, beefy
* bump substrate
2021-06-03 17:05:31 +02:00
Shaun Wang
88e25f1669
Companion PR for Substrate #8824 (Migrate pallet-democracy to pallet attribute macro) ( #3030 )
...
* Add type parameter for democracy genesis config.
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-03 06:28:00 -04:00
Gavin Wood
cac84659a2
Bump Substrate ( #3153 )
2021-06-02 00:17:47 +02:00
Sergei Shulepov
2239b93d31
Companion for PR 8913 ( #3114 )
...
* Companion for PR 8913
polkadot companion: https://github.com/paritytech/substrate/pull/8913
* update Substrate
Co-authored-by: parity-processbot <>
2021-06-01 13:03:34 +02: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
Shawn Tabrizi
b7c2cfc1e4
Companion for #8793 (Simple MaxEncodedLen) ( #3118 )
...
* ProxyType MaxEncodedLen
* import
* import
* fix dep and bump substrate
* Update Cargo.lock
2021-05-28 20:50:16 +00:00
Roman Proskuryakov
3d04a0cce0
Companion PR for #8748 ( #2990 )
...
* Replace NetworkStatusSinks with Arc<NetworkService>
* update Substrate
Co-authored-by: parity-processbot <>
2021-05-27 14:27:52 +00:00
André Silva
444aafdf83
primitives: export the current slot number storage key ( #3022 )
2021-05-27 12:41:49 +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
Jon Häggblad
0a024e30b0
Companion for substrate#8724 ( #2994 )
...
* runtime: create migrations for grandpa storage prefix
* runtime: address review comments
* runtime: update spec_version
* westend: fix incorrect merge
* runtime: change to v3.1 from v4 for grandpa migrations
* cargo.lock: manually specify pallet-grandpa in lock file
* cargo.lock: fix typo
* update substrate
* update substrate
Co-authored-by: André Silva <andrerfosilva@gmail.com >
2021-05-26 19:12:46 +00:00
dependabot[bot]
5cf0444d7f
Bump pretty_assertions from 0.6.1 to 0.7.2 ( #3113 )
...
Bumps [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions ) from 0.6.1 to 0.7.2.
- [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases )
- [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md )
- [Commits](https://github.com/colin-kiegel/rust-pretty-assertions/compare/v0.6.1...v0.7.2 )
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-26 20:39:37 +02:00
André Silva
e3edb71ed7
grandpa: enable observer for light client ( #3019 )
...
* grandpa: enable observer for light client
* update Substrate
* service: fix missing import
* runtime: bump spec versions
Co-authored-by: parity-processbot <>
2021-05-26 17:22:15 +00:00
Kian Paimani
0da48f736a
Companion for substrate/pull/8903 ( #3099 )
...
* add stuff
* Update runtime/polkadot/src/lib.rs
* Update runtime/kusama/src/lib.rs
* update Substrate
Co-authored-by: parity-processbot <>
2021-05-26 12:50:50 +02:00