Commit Graph

2012 Commits

Author SHA1 Message Date
Robert Habermeier d4e8f2a3da set session-info availability cores based on scheduler (#3134)
this will account for 'dummy' cores due to maxValidatorsPerCore
2021-05-28 18:06:55 -05: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
Bastian Köcher cc0457423c Use proper host configuration everywhere (#3130)
* Use proper host configuration everywhere

* Fix dumb errors
2021-05-28 21:41:24 +02:00
Xiliang Chen cc0466c84c enable Config for Paras on Kusama & Westend (#3129)
* enable Config for Paras

* fix
2021-05-28 10:52:32 +02:00
Hernando Castano 8d36e7c6f3 Allow bridge relayers to be built from repo (#3069)
* Bump Rococo/Wococo `spec_version` used by the bridge relayer

* Prevent bridge relayer from being part of workspace

This allows us to build the relayer without pulling in all its
dependencies into the Polkadot repo by indicating its manifest path when
building.

* Revert "Bump Rococo/Wococo `spec_version` used by the bridge relayer"

This reverts commit 90fdeecbba2ed2a75fc220dbc14fb4fa792dfc6e.
2021-05-27 15:27:07 -04: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
Denis Pisarev 6e5d90a972 WIP: CI: simnet to run pinned versions (#3051)
* CI: simnet to run pinned versions

* CI: explanation and tag

* dummy commit to trigger pipeline

* try with a new tag

* update new simnet stable version

Co-authored-by: radupopa2010 <radupopa2010@yahoo.com>
2021-05-27 15:02:30 +02: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
Bastian Köcher 418086bc42 Dependabot: Fix labels and ignore try-runtime-* (#3119) 2021-05-26 21:04:01 +00: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
Andronik Ordian 44704a57e1 dependabot: ignore beefy git updates (#3111)
It should rather be updated manually with proper `Cargo.lock` updates at least until we switch to crates.io versions. See #3109 as an example of that (bad) update.
2021-05-26 16:47:32 +02:00
Bastian Köcher 7f34d76fd4 Add UsageProvider trait to AbstractClient (#3106)
* Add `UsageProvider` trait to `AbstractClient`

* Fix
2021-05-26 13:15:45 +02: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
Kian Paimani d682ab82d2 Companion for substrate/pull/8889 (#3096)
* Update lock file

* revert

* fix properly

* update Substrate

Co-authored-by: parity-processbot <>
2021-05-26 00:09:35 +00:00
Andronik Ordian 701be9aa03 validator_discovery: small tweak in retrying logic (#3102)
* validator_discovery: small tweak in retrying logic

* validator_discovery: use timeouts instead
2021-05-25 20:59:14 +02:00
Bastian Köcher 332cfad83a Introduce polkadot code substitute (#3093)
* Introduce polkadot code substitute

This introduces a code substitute for the on-chain wasm of Polkadot from
block
`0x86aa36a140dfc449c30dbce16ce0fea33d5c3786766baa764e33f336841b9e29`
on wards. The underlying problem was that there exists some
miscompilation by the rust compiler in the wasm runtime that results in
state mismatches between the native/wasm runtime of the
the 0.8.30 release. This resulted in blocks being authored by the native
runtime not being importable by nodes using the wasm runtime. The
on-chain wasm is replaced by a wasm build from the 0.8.30 using the
rustc nightly from 1.03.2021.

* update the wasm substitute blob

* update Substrate

Co-authored-by: André Silva <andrerfosilva@gmail.com>
Co-authored-by: parity-processbot <>
2021-05-25 14:39:57 +00:00
Giuseppe Bertone 56092fdda0 Remove memory limits (#3076) 2021-05-24 13:19:52 +02:00
Martin Pugh 2174d9475e bump version & substrate (#3085) 2021-05-24 12:36:30 +02:00
Robert Habermeier 92fa699f87 clear PVF cache artifacts on startup (#3084) 2021-05-24 08:59:47 +01:00
Robert Habermeier ec43a848b9 add the correct indirection to reward points for backing (#3082) 2021-05-22 19:01:37 -05:00
Shawn Tabrizi 75cb6a1bd4 Add Proxy Calls to Westend and Kusama (#3080) 2021-05-22 18:13:48 -05:00
stanly-johnson 052bf6aa2f bump rocksdb to 6.17.3 (again) (#3077) 2021-05-22 15:33:27 +02:00
Robert Habermeier 02faeede88 Some more debug logging (#3073)
* log validator index when importing statement

* log validation failures in debug
2021-05-22 09:25:41 +02:00
Andronik Ordian 44d02faa62 network-bridge: downgrade log level of benefit rep change (#3068)
* network-bridge: downgrade log level of benefit rep change

* remove it as we log it at higher level
2021-05-21 19:16:20 -05:00
Bernhard Schuster e8652e73db cargo spellcheck (#3067) 2021-05-22 00:15:47 +00:00
Robert Klotzner 9b06a38bb6 State can be finished due to Share message. (#3070)
* State can be finished due to `Share` message.

Therefoe a task can still be running in that state. Removed panic and
changed state name to reflect possibility of `Share` message.

* bump spec versions in kusama, polkadot and westend again III

* properly bump for the upcoming release

Co-authored-by: Andronik Ordian <write@reusable.software>
2021-05-21 20:04:43 +02:00
Pierre Krieger 17907c7e6c Add parachain_desired_peer_count metric (#3035) 2021-05-21 16:47:04 +02:00
Sergei Shulepov 20ab68270f Put WIP artifacts next to ready ones (#3057)
* Put WIP artifacts next to ready ones

Fixes #3044

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2021-05-21 09:53:03 +02:00
Shawn Tabrizi 25bbcfd724 Add OnSwap hook for crowdloans. (#3017) 2021-05-20 22:41:08 +02:00
Bastian Köcher 6a0b7b4164 Add AuxStore as super trait of AbstractClient (#3066) 2021-05-20 15:28:41 +02:00
Bastian Köcher 14f5d314f4 New Rococo genesis (#3065) 2021-05-20 11:44:13 +00:00
Martin Pugh d061d0c407 bump substrate (#3062) 2021-05-20 10:11:36 +00:00
Andronik Ordian 2e70f4ea08 validator-discovery: basic retrying logic (#3059)
* validator_discovery: less flexible, but simpler design

* fix test

* remove unused struct

* smol optimization

* validator_discovery: basic retrying logic

* add a test

* add more tests

* update the guide

* more test logic

* Require at least 2/3 connectivity.

* Fix test.

* Update node/network/gossip-support/src/lib.rs

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>

* Update node/network/gossip-support/src/lib.rs

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>

Co-authored-by: Robert Klotzner <robert.klotzner@gmx.at>
Co-authored-by: Robert Klotzner <eskimor@users.noreply.github.com>
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
2021-05-20 10:05:44 +00:00
Gavin Wood 933c9ac2bf Reserves for bids during ending period persist until auction done (#3058)
* Reserves for bids during ending period persist until auction done

* Fixes

* Fixes

* Fixes

* Fixes

* Update auctions.rs
2021-05-20 10:15:52 +02:00
Shaun Wang 3137d94d11 Migrate crowdloan pallet to pallet attribute macro. (#3036) 2021-05-19 20:14:20 +00:00
Andronik Ordian 98c06f5b57 validator_discovery: less flexible, but simpler design (#3052)
* validator_discovery: less flexible, but simpler design

* fix test

* remove unused struct

* smol optimization
2021-05-19 18:54:13 +02:00
Robert Klotzner 44c03a3633 Actually connect to new validators at session boundary. (#3055)
* Actually connect to new validators at session boundary.

* Add tracing.
2021-05-19 11:29:55 +00:00
Sergei Shulepov 46e5316a77 Register ReadRuntimeVersionExt (#3045)
* Register ReadRuntimeVersionExt

* Update Substrate

This includes the fix of compilation for macOS platforms.
2021-05-19 12:33:33 +02:00
Martin Pugh fe97c3a3a2 Bump version & spec version in prep for v0.9.2 (#3046)
* bump version & spec version

* update Cargo.lock

* bump substrate
2021-05-18 23:03:45 +02:00
Martin Pugh 077e3fa6e3 Remove host configuration set migration from Kusama & Westend (#3050)
* remove weights migration from kusama

* remove migrations in westend also
2021-05-18 23:03:30 +02:00
Gavin Wood ec73e6e34e Statemint can teleport into Kusama (#3042)
* Statemint can teleport into Kusama

* Bump

* Fixes

* Fixes
2021-05-18 17:52:11 +02:00
Shaun Wang 8d30172a8f Update auctions pallet to FRAME v2 (#3031)
* Migrate auctions pallet to pallet attribute macro.

* Rename extra constants.
2021-05-18 11:40:15 +00:00
Bernhard Schuster 2a6f460e4c reword error: channel is _terminated and_ empty (#3041) 2021-05-18 07:51:46 +02:00
Denis Pisarev e9615fc9df CI: remove unnecessary jobs while simnet is under work (#3043) 2021-05-17 15:31:38 +02:00
Martin Pugh fa4f91fbed [CI][WIP] Fix check_labels (#3039)
* fix check_labels

* runtime change test. revert me

* Revert "runtime change test. revert me"

This reverts commit 6bec7e34f522555f9ac84332721c191d547bdf16.
2021-05-17 12:46:56 +02:00
Xiliang Chen d4072c652f Fix ArtifactId::path (#3027)
* issue with ArtifactId::path

* fix artifacts path

* Wrap an overly long line

Co-authored-by: Sergei Shulepov <s.pepyakin@gmail.com>
2021-05-15 14:04:09 +02:00
Pierre Krieger 78b87c47a8 Grab stream of networking events earlier (#3025) 2021-05-14 17:51:44 +02:00