Squirrel
be8e626806
Set clippy lints in workspace (requires rust 1.74) ( #2390 )
...
We currently use a bit of a hack in `.cargo/config` to make sure that
clippy isn't too annoying by specifying the list of lints.
There is now a stable way to define lints for a workspace. The only down
side is that every crate seems to have to opt into this so there's a
*few* files modified in this PR.
Dependencies:
- [x] PR that upgrades CI to use rust 1.74 is merged.
---------
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: Branislav Kontur <bkontur@gmail.com >
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
2023-12-13 15:11:07 +01:00
Oliver Tale-Yazdi
48ea86f0e8
Add descriptions to all published crates ( #2029 )
...
Missing descriptions (47):
- [x] `cumulus/client/collator/Cargo.toml`
- [x] `cumulus/client/relay-chain-inprocess-interface/Cargo.toml`
- [x] `cumulus/client/cli/Cargo.toml`
- [x] `cumulus/client/service/Cargo.toml`
- [x] `cumulus/client/relay-chain-rpc-interface/Cargo.toml`
- [x] `cumulus/client/relay-chain-interface/Cargo.toml`
- [x] `cumulus/client/relay-chain-minimal-node/Cargo.toml`
- [x] `cumulus/parachains/pallets/parachain-info/Cargo.toml`
- [x] `cumulus/parachains/pallets/ping/Cargo.toml`
- [x] `cumulus/primitives/utility/Cargo.toml`
- [x] `cumulus/primitives/aura/Cargo.toml`
- [x] `cumulus/primitives/core/Cargo.toml`
- [x] `cumulus/primitives/parachain-inherent/Cargo.toml`
- [x] `cumulus/test/relay-sproof-builder/Cargo.toml`
- [x] `cumulus/pallets/xcmp-queue/Cargo.toml`
- [x] `cumulus/pallets/dmp-queue/Cargo.toml`
- [x] `cumulus/pallets/xcm/Cargo.toml`
- [x] `polkadot/erasure-coding/Cargo.toml`
- [x] `polkadot/statement-table/Cargo.toml`
- [x] `polkadot/primitives/Cargo.toml`
- [x] `polkadot/rpc/Cargo.toml`
- [x] `polkadot/node/service/Cargo.toml`
- [x] `polkadot/node/core/parachains-inherent/Cargo.toml`
- [x] `polkadot/node/core/approval-voting/Cargo.toml`
- [x] `polkadot/node/core/dispute-coordinator/Cargo.toml`
- [x] `polkadot/node/core/av-store/Cargo.toml`
- [x] `polkadot/node/core/chain-api/Cargo.toml`
- [x] `polkadot/node/core/prospective-parachains/Cargo.toml`
- [x] `polkadot/node/core/backing/Cargo.toml`
- [x] `polkadot/node/core/provisioner/Cargo.toml`
- [x] `polkadot/node/core/runtime-api/Cargo.toml`
- [x] `polkadot/node/core/bitfield-signing/Cargo.toml`
- [x] `polkadot/node/network/dispute-distribution/Cargo.toml`
- [x] `polkadot/node/network/bridge/Cargo.toml`
- [x] `polkadot/node/network/collator-protocol/Cargo.toml`
- [x] `polkadot/node/network/approval-distribution/Cargo.toml`
- [x] `polkadot/node/network/availability-distribution/Cargo.toml`
- [x] `polkadot/node/network/bitfield-distribution/Cargo.toml`
- [x] `polkadot/node/network/gossip-support/Cargo.toml`
- [x] `polkadot/node/network/availability-recovery/Cargo.toml`
- [x] `polkadot/node/collation-generation/Cargo.toml`
- [x] `polkadot/node/overseer/Cargo.toml`
- [x] `polkadot/runtime/parachains/Cargo.toml`
- [x] `polkadot/runtime/common/slot_range_helper/Cargo.toml`
- [x] `polkadot/runtime/metrics/Cargo.toml`
- [x] `polkadot/xcm/pallet-xcm-benchmarks/Cargo.toml`
- [x] `polkadot/utils/generate-bags/Cargo.toml`
- [x] `substrate/bin/minimal/runtime/Cargo.toml`
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: alindima <alin@parity.io >
Co-authored-by: ordian <noreply@reusable.software >
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
Co-authored-by: Marcin S <marcin@realemail.net >
Co-authored-by: alindima <alin@parity.io >
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
Co-authored-by: Dmitry Markin <dmitry@markin.tech >
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com >
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
2023-11-09 17:37:28 +02:00
Lulu
495d24d730
Add ci check for parity-publish and fix current check issues ( #1887 )
...
Co-authored-by: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-10-31 18:04:31 +00:00
shuoer86
19f38ca3aa
Fix typos ( #1878 )
2023-10-16 10:01:01 +02:00
dependabot[bot]
711132c961
Bump thiserror from 1.0.47 to 1.0.48 ( #1396 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48 )
---
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>
Co-authored-by: Liam Aharon <liam.aharon@hotmail.com >
2023-09-05 09:27:19 +02:00
Przemek Rzad
bfb241d7f3
Add missing licenses and tune the scanning workflow ( #1288 )
...
* Add missing Cumulus licenses
* Typo
* Add missing Substrate licenses
* Single job checking the sub-repos in steps
* Remove dates
* Remove dates
* Add missing (C)
* Update FRAME UI tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update more UI tests
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-08-30 15:45:49 +03:00
Oliver Tale-Yazdi
dcda0e50f5
Fix build profiles ( #1229 )
...
* Fix build profiles
Closes https://github.com/paritytech/polkadot-sdk/issues/1155
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Manually set version to 1.0.0
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use workspace repo
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* 'Authors and Edition from workspace
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-08-29 13:39:41 +02:00
alvicsam
f441a5fc93
Diener workspacify
...
Signed-off-by: alvicsam <alvicsam@gmail.com >
2023-08-25 11:05:17 +02:00
dependabot[bot]
0fbe8d4a43
Bump thiserror from 1.0.46 to 1.0.47 ( #3034 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.46 to 1.0.47.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.46...1.0.47 )
---
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>
2023-08-18 21:56:08 +00:00
dependabot[bot]
840ca86741
Bump thiserror from 1.0.44 to 1.0.46 ( #3024 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.44 to 1.0.46.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.46 )
---
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>
2023-08-17 06:14:20 +00:00
dependabot[bot]
381e6422a3
Bump async-trait from 0.1.72 to 0.1.73 ( #3010 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.72 to 0.1.73.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.72...0.1.73 )
---
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>
2023-08-15 09:57:03 +02:00
dependabot[bot]
56d225c281
Bump async-trait from 0.1.71 to 0.1.72 ( #2920 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.71 to 0.1.72.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.71...0.1.72 )
---
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>
2023-07-22 15:49:26 +00:00
dependabot[bot]
55218f8133
Bump thiserror from 1.0.43 to 1.0.44 ( #2922 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.43...1.0.44 )
---
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>
2023-07-22 13:50:44 +00:00
dependabot[bot]
559e301f06
Bump parity-scale-codec from 3.6.3 to 3.6.4 ( #2909 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.6.3 to 3.6.4.
- [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.6.3...parity-scale-codec-v3.6.4 )
---
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>
2023-07-21 09:57:00 +02:00
asynchronous rob
406f92ad90
Asynchronous-backing compatible Aura, not plugged in ( #2573 )
...
* rough draft of potential parent search
* get things compiling
* fmt
* add new function to all RelayChainInterface implementations
* fix compilation
* set slot and timestamp based on relay parent, prepare for find-parent
* skeleton of new aura logic
* fmt
* introduce a collator module in the Aura crate
* extract different implementations into own modules
* make interface more convenient
* docs and todos for lookahead
* refactor basic collator to use new collator utility
* some more refactoring
* finish most of the control flow for new aura
* introduce backend as parameter
* fix compilation
* fix a couple more TODOs
* add an `announce_block` function to collator service
* announce with barrier
* rename block announcement validator to be more specific
* fmt
* clean up unused import errors
* update references to BlockAnnounceValidator
* rename unstable_reimpl
* add AuraUnincludedSegmentApi
* finish rename
* integrate AuraUnincludedSegmentApi
* add a new block announcement validator for backwards compatibility
* add some naive equivocation defenses
* rustfmt
* clean up remaining TODO [now]s
* fmt
* try to fix inprocess-interface
* actually fix compilation
* ignored -> rejected rephrase
* fix test compilation
* fmt
* clippy
2023-07-11 13:56:09 +02:00
dependabot[bot]
edb79e46e5
Bump thiserror from 1.0.41 to 1.0.43 ( #2845 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.41 to 1.0.43.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.41...1.0.43 )
---
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>
2023-07-09 07:58:02 +00:00
dependabot[bot]
28bd109a3e
Bump async-trait from 0.1.70 to 0.1.71 ( #2834 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.70 to 0.1.71.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.70...0.1.71 )
---
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>
2023-07-06 10:20:21 +00:00
dependabot[bot]
68c41b1ee7
Bump thiserror from 1.0.40 to 1.0.41 ( #2824 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.40...1.0.41 )
---
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>
2023-07-05 11:19:09 +00:00
dependabot[bot]
8dae85f5f8
Bump async-trait from 0.1.68 to 0.1.70 ( #2823 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.68 to 0.1.70.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.68...0.1.70 )
---
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>
2023-07-05 08:28:34 +00:00
Web3 Philosopher
9c183893ae
introduce a method for fetching relay chain header to RelayChainInterface ( #2794 )
...
* introduce a method for fetching header to RelayChainInterface
* cargo fmt
* return Option<Header>
2023-07-04 16:27:31 +02:00
dependabot[bot]
7f2238a218
Bump parity-scale-codec from 3.6.2 to 3.6.3 ( #2816 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.6.2 to 3.6.3.
- [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-v3.6.2...v3.6.3 )
---
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>
2023-07-04 13:06:41 +00:00
dependabot[bot]
0305686e03
Bump parity-scale-codec from 3.6.1 to 3.6.2 ( #2804 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.6.1 to 3.6.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/compare/parity-scale-codec-v3.6.1...parity-scale-codec-v3.6.2 )
---
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>
2023-06-30 21:28:15 +00:00
dependabot[bot]
5a16ebc3a5
Bump parity-scale-codec from 3.5.0 to 3.6.1 ( #2760 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.5.0 to 3.6.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-v3.5.0...parity-scale-codec-v3.6.1 )
---
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>
2023-06-20 13:50:12 +02:00
dependabot[bot]
45841c0ce9
Bump parity-scale-codec from 3.4.0 to 3.5.0 ( #2523 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.4.0 to 3.5.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.4.0...parity-scale-codec-v3.5.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>
2023-05-04 21:30:01 +00:00
Sebastian Kunert
6c896b1ee6
Cleanup: Remove polkadot-service dependency from minimal node ( #2430 )
...
* Remove polkadot-service dependency from minimal-node
* Clean up error handline
* Remove unwanted changes
* Unused deps
2023-04-04 15:05:38 +00:00
dependabot[bot]
1428864a4d
Bump futures from 0.3.27 to 0.3.28 ( #2420 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.27 to 0.3.28.
- [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.27...0.3.28 )
---
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>
2023-04-01 22:27:24 +02:00
dependabot[bot]
4ed3642dff
Bump thiserror from 1.0.38 to 1.0.40 ( #2396 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.38 to 1.0.40.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.38...1.0.40 )
---
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>
2023-03-29 13:50:40 +00:00
dependabot[bot]
d9f4469dcf
Bump futures from 0.3.26 to 0.3.27 ( #2359 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.26 to 0.3.27.
- [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.26...0.3.27 )
---
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>
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
2023-03-27 16:27:33 +02:00
dependabot[bot]
acb6289542
Bump async-trait from 0.1.66 to 0.1.68 ( #2381 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.66 to 0.1.68.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.66...0.1.68 )
---
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>
2023-03-24 22:47:51 +00:00
dependabot[bot]
d1c3ea5a1a
Bump async-trait from 0.1.64 to 0.1.66 ( #2318 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.64 to 0.1.66.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.64...0.1.66 )
---
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>
2023-03-15 11:54:48 +01:00
Sebastian Kunert
15ba3d666f
Cleanup dependencies + dead code ( #2302 )
2023-03-10 17:09:38 +01:00
Bastian Köcher
d17fbba4e4
relay-chain-interface: Do not depend on polkadot-service ( #2287 )
2023-03-07 15:17:05 +01:00
Sam Elamin
f2dc402cec
add warp_sync_params ( #1909 )
...
* wait for relay chain to sync then get parachain header
* Spawn new thread to wait for the target block
* second round of comments from the PR on substrate
* third round of pr comments
* add zombienet tests
* rebase issues
* refactor tests based on pr comments
* rebase issues
* pr comments
* passing zombienet test
* cargo +nightly fmt
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* use cargo lock from master
* pr comments
* cargo fmt
* use finalised block instead of best block
* use import notification stream
* rebase changes
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/relay-chain-interface/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/relay-chain-interface/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* pr comments
* use new file names
* db snaphots moved to google cloud storage
* Update client/network/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/service/src/lib.rs
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
* pr comments
* Update zombienet/tests/0007-full_node_warp_sync.toml
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
* Update zombienet/tests/0007-full_node_warp_sync.toml
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
* Scenario 1
Parachain node and in-node relay chain both start with --sync warp. This ensures that the waiting logic works as expected.
Scenario 2
Parachain node starts with warp sync, relay chain points to a node already synced up
scenario 3
Parachain node starts with warp sync, relay chain points to a node that uses warp sync
* Use test-parachain
* use test-parachain chainspecs
* remove relay chain spec as it is no longer required
* add back relaychain spec file
* pr comments
* Upload snapshots to google cloud
* Update zombienet/tests/0007-prepare-warp-sync-db-snapshot.md
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
* update documentation
* Fix snapshot URLs
* use master lock file
* add finalized_block_hash
* Patch diener for CI
* Bump Zombienet
* Add 0007 zombienet test
* Bump zombienet
* Revert "Patch diener for CI"
This reverts commit 9ece6c9fc9b17058b61cd7e9dee29d3a9af87841.
* merge fixes
* use master lock file
* Update Substrate & Polkadot
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com >
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
2023-02-14 19:15:43 +00:00
dependabot[bot]
c34f9b4f70
Bump parity-scale-codec from 3.3.0 to 3.4.0 ( #2182 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.3.0 to 3.4.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/parity-scale-codec-3.3.0...v3.4.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>
2023-02-14 13:56:09 +01:00
dependabot[bot]
5479d925db
Bump tokio from 1.24.2 to 1.25.0 ( #2153 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.2 to 1.25.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits/tokio-1.25.0 )
---
updated-dependencies:
- dependency-name: tokio
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>
2023-02-06 23:23:41 +01:00
dependabot[bot]
eb4dd1e950
Bump parity-scale-codec from 3.2.2 to 3.3.0 ( #2147 )
...
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec ) from 3.2.2 to 3.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/parity-scale-codec-v3.2.2...parity-scale-codec-3.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>
2023-02-06 23:23:11 +01:00
dependabot[bot]
de078c8150
Bump futures from 0.3.25 to 0.3.26 ( #2152 )
2023-02-06 17:34:56 +01:00
dependabot[bot]
2098caefca
Bump async-trait from 0.1.60 to 0.1.63 ( #2123 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.60 to 0.1.63.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.60...0.1.63 )
---
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>
2023-01-24 14:30:33 +01:00
dependabot[bot]
da4b71ba73
Bump tokio from 1.24.1 to 1.24.2 ( #2110 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.24.1 to 1.24.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio
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>
2023-01-23 11:15:15 +01:00
s0me0ne-unkn0wn
7871193f79
Use primitives reexported from polkadot_primitives crate root ( #2067 )
...
* Use primitives reexported from `polkadot_primitives` crate root
* restart CI
* Fixes after merge
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
2023-01-11 12:06:58 +00:00
dependabot[bot]
4721cd5108
Bump tokio from 1.23.0 to 1.24.1 ( #2065 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.23.0 to 1.24.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.23.0...tokio-1.24.1 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
...
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>
2023-01-09 10:07:10 +01:00
Bastian Köcher
38cdf7c47e
Remove the RelaychainClient trait ( #2068 )
...
* Remove the `RelaychainClient` trait
It was just some historical trait that isn't really required anymore. Besides that this pr re-exports
types that are being used by the relay chain interface to make its usage easier.
* Fix warning
2023-01-09 09:44:06 +01:00
dependabot[bot]
81a881292b
Bump async-trait from 0.1.59 to 0.1.60 ( #2024 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.59 to 0.1.60.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.59...0.1.60 )
---
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-12-23 10:43:29 +01:00
dependabot[bot]
79d8c5c3b8
Bump thiserror from 1.0.37 to 1.0.38 ( #2004 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.37 to 1.0.38.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.37...1.0.38 )
---
updated-dependencies:
- dependency-name: thiserror
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-12-20 09:23:39 +00:00
Sebastian Kunert
7cab12e9d2
Allow to specify multiple relay chain RPC urls for collator node ( #1880 )
...
* Allow specification of multiple urls for relay chain rpc nodes
* Add pooled RPC client basics
* Add list of clients to pooled client
* Improve
* Forward requests to dispatcher
* Switch clients on error
* Implement rotation logic
* Improve subscription handling
* Error handling cleanup
* Remove retry from rpc-client
* Improve naming
* Improve documentation
* Improve `ClientManager` abstraction
* Adjust zombienet test
* Add more comments
* fmt
* Apply reviewers comments
* Extract reconnection to extra method
* Add comment to reconnection method
* Clean up some dependencies
* Fix build
* fmt
* Provide alias for cli argument
* Apply review comments
* Rename P* to Relay*
* Improve zombienet test
* fmt
* Fix zombienet sleep
* Simplify zombienet test
* Reduce log clutter and fix starting position
* Do not distribute duplicated imported and finalized blocks
* fmt
* Apply code review suggestions
* Move building of relay chain interface to `cumulus-client-service`
* Refactoring to not push back into channel
* FMT
2022-12-15 11:42:07 +01:00
Niklas Adolfsson
acac823a7a
companion for #12663 jsonrpsee v0.16 ( #1905 )
...
* companion for #12663 jsonrpsee v0.16.1
* update deps
* update rpc client params
* update substrate and polkadot
2022-12-12 12:23:01 +00:00
dependabot[bot]
40d413c7cd
Bump async-trait from 0.1.58 to 0.1.59 ( #1921 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.58 to 0.1.59.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.58...0.1.59 )
---
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-11-30 23:24:48 +00:00
dependabot[bot]
4806d9c960
Bump futures from 0.3.24 to 0.3.25 ( #1791 )
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.24 to 0.3.25.
- [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.24...0.3.25 )
---
updated-dependencies:
- dependency-name: futures
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-11-18 21:08:49 +01:00
dependabot[bot]
fdc8164584
Bump async-trait from 0.1.57 to 0.1.58 ( #1783 )
...
Bumps [async-trait](https://github.com/dtolnay/async-trait ) from 0.1.57 to 0.1.58.
- [Release notes](https://github.com/dtolnay/async-trait/releases )
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.57...0.1.58 )
---
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>
Co-authored-by: parity-processbot <>
2022-10-20 20:45:35 +02:00
Sebastian Kunert
cdcf5ddd9b
Enable collation via RPC relay chain node ( #1585 )
...
* Add minimal overseer gen with dummy subsystems
* Fix dependencies
* no-compile: only client transaction pool missing
* Remove unused imports
* Continue to hack towards PoC
* Continue
* Make mini node compile
* Compiling version with blockchainevents trait
* Continue
* Check in lockfile
* Block with tokio
* update patches
* Update polkadot patches
* Use polkadot-primitives v2
* Fix build problems
* First working version
* Adjust cargo.lock
* Add integration test
* Make integration test work
* Allow startinc collator without relay-chain args
* Make OverseerRuntimeClient async
* Create separate integration test
* Remove unused ChainSelection code
* Remove unused parameters on new-mini
* Connect collator node in test to relay chain nodes
* Make BlockChainRPCClient obsolete
* Clean up
* Clean up
* Reimplement blockchain-rpc-events
* Revert "Allow startinc collator without relay-chain args"
This reverts commit f22c70e16521f375fe125df5616d48ceea926b1a.
* Add `strict_record_validation` to AuthorityDiscovery
* Move network to cumulus
* Remove BlockchainRPCEvents
* Remove `BlockIdTo` and `BlockchainEvents`
* Make AuthorityDiscovery async
* Use hash in OverseerRuntime
* Adjust naming of runtime client trait
* Implement more rpc-client methods
* Improve error handling for `ApiError`
* Extract authority-discovery creationand cleanup
* RPC -> Rpc
* Extract bitswap
* Adjust to changes on master
* Implement `hash` method
* Introduce DummyChainSync, remove ProofProvider and BlockBackend
* Remove `HeaderMetadata` from blockchain-rpc-client
* Make ChainSync work
* Implement NetworkHeaderBackend
* Cleanup
* Adjustments after master merge
* Remove ImportQueue from network parameters
* Remove cargo patches
* Eliminate warnings
* Revert to HeaderBackend
* Add zombienet test
* Implement `status()` method
* Add more comments, improve readability
* Remove patches from Cargo.toml
* Remove integration test in favor of zombienet
* Remove unused dependencies, rename minimal node crate
* Adjust to latest master changes
* fmt
* Execute zombienet test on gitlab ci
* Reuse network metrics
* Chainsync metrics
* fmt
* Feed RPC node as boot node to the relay chain minimal node
* fmt
* Add bootnodes to zombienet collators
* Allow specification of relay chain args
* Apply review suggestions
* Remove unnecessary casts
* Enable PoV recovery for rpc full nodes
* Revert unwanted changes
* Make overseerHandle non-optional
* Add availability-store subsystem
* Add AuxStore and ChainApiSubsystem
* Add availability distribution subsystem
* Improve pov-recovery logging and add RPC nodes to tests
* fmt
* Make availability config const
* lock
* Enable debug logs for pov-recovery in zombienet
* Add log filters to test binary
* Allow wss
* Address review comments
* Apply reviewer comments
* Adjust to master changes
* Apply reviewer suggestions
* Bump polkadot
* Add builder method for minimal node
* Bump substrate and polkadot
* Clean up overseer building
* Add bootnode to two in pov_recovery test
* Fix missing quote in pov recovery zombienet test
* Improve zombienet pov test
* More debug logs for pov-recovery
* Remove reserved nodes like on original test
* Revert zombienet test to master
2022-10-10 09:06:26 +02:00