ordian
15503883e2
polkadot: pin one block per session ( #1220 )
...
* polkadot: propagate UnpinHandle to ActiveLeafUpdate
Also extract the leaf creation for tests
into a common function.
* dispute-coordinator: try pinned blocks for slashin
* apparently 1.72 is smarter than 1.70
* address nits
* rename fresh_leaf to new_leaf
2023-09-07 13:24:40 +03:00
Alin Dima
d6af073aa5
backing: move the min votes threshold to the runtime ( #1200 )
...
* move min backing votes const to runtime
also cache it per-session in the backing subsystem
Signed-off-by: alindima <alin@parity.io >
* add runtime migration
* introduce api versioning for min_backing votes
also enable it for rococo/versi for testing
* also add min_backing_votes runtime calls to statement-distribution
this dependency has been recently introduced by async backing
* remove explicit version runtime API call
this is not needed, as the RuntimeAPISubsystem already takes care
of versioning and will return NotSupported if the version is not
right.
* address review comments
- parametrise backing votes runtime API with session index
- remove RuntimeInfo usage in backing subsystem, as runtime API
caches the min backing votes by session index anyway.
- move the logic for adjusting the configured needed backing votes with the size of the backing group
to a primitives helper.
- move the legacy min backing votes value to a primitives helper.
- mark JoinMultiple error as fatal, since the Canceled (non-multiple) counterpart is also fatal.
- make backing subsystem handle fatal errors for new leaves update.
- add HostConfiguration consistency check for zeroed backing votes threshold
- add cumulus accompanying change
* fix cumulus test compilation
* fix tests
* more small fixes
* fix merge
* bump runtime api version for westend and rollback version for rococo
---------
Signed-off-by: alindima <alin@parity.io >
Co-authored-by: Javier Viola <javier@parity.io >
2023-08-31 14:01:36 +03: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
ordian
c168a77e26
deps: replace lru with schnellru ( #1217 )
...
* deps: replace lru with schnellru
* bring the peace to the galaxy
2023-08-28 19:04:11 +02:00
Alexander Samusev
e49493442a
Add CI for monorepo ( #1145 )
...
* Add CI for monorepo
* fix frame tests
* Format features
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* add note for skipping tests and disable test-linux-stable-all
* Fix tests and compile issues (#1152 )
* Fix feature dependant import
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Bump test timeout
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove feature gate
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add resolver 2
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Remove old lockfile
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Format features
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix check-dependency-rules
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* rm test-runtime
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Actually fix script
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* enable cargo-check-each-crate-macos
* Run check-each-crate on 6 machines (#1163 )
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-08-25 16:35:22 +02:00
alvicsam
f441a5fc93
Diener workspacify
...
Signed-off-by: alvicsam <alvicsam@gmail.com >
2023-08-25 11:05:17 +02:00
Sebastian Kunert
817c4503db
Allow integrated relay chain light client ( #2270 )
...
* Add embedded light client to cli
* Prepare for light-client-worker
* First working version
* Clean up
* Remove unwanted logs
* Simplify subscription code
* Let jsonrpsee handle rpc management
* Simplify implementation
* Reorganize crate structure
* Use relay chain arg chainspec for light-client
* Clean up command line
* Add light client worker file
* Use smoldot master to avoid wasmtime conflict
* Remove sleep
* Improve naming of cli option
* Remove conflict with `validator`
* Improve docs
* Update smoldot, remove unwanted change
* Apply suggestions from code review
Co-authored-by: Dmitry Markin <dmitry@markin.tech >
* Disable collation
* Reviewer comments
* Update smoldot and tokio-platform
* Update smoldot
* Update smoldot
* Adjust to new version
* Patch substrate
* Use constants
* Add readme entry, improve zombienet tests
* Apply suggestions from code review
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com >
* Make execution mode an enum
* Update smoldot, remove substrate patch
* Update client/relay-chain-rpc-interface/src/rpc_client.rs
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com >
* Reduce duplicate code
* Update smoldot
* Update smoldot
* Fix build
* Update smoldot
* Make platform compile
* Clean up dependencies
* Use crates.io instead of github for smoldot
* Apply suggestions from code review
Co-authored-by: Davide Galassi <davxy@datawok.net >
* Docs
* Improve docs
* Remove `RpcFrontend`
---------
Co-authored-by: Dmitry Markin <dmitry@markin.tech >
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com >
Co-authored-by: Davide Galassi <davxy@datawok.net >
2023-08-22 15:53:32 +02:00
Chris Sosnin
6ef1117685
Asynchronous backing PR ( #2300 )
...
* Update substrate & polkadot
* min changes to make async backing compile
* (async backing) parachain-system: track limitations for unincluded blocks (#2438 )
* unincluded segment draft
* read para head from storage proof
* read_para_head -> read_included_para_head
* Provide pub interface
* add errors
* fix unincluded segment update
* BlockTracker -> Ancestor
* add a dmp limit
* Read para head depending on the storage switch
* doc comments
* storage items docs
* add a sanity check on block initialize
* Check watermark
* append to the segment on block finalize
* Move segment update into set_validation_data
* Resolve para head todo
* option watermark
* fix comment
* Drop dmq check
* fix weight
* doc-comments on inherent invariant
* Remove TODO
* add todo
* primitives tests
* pallet tests
* doc comments
* refactor unincluded segment length into a ConsensusHook (#2501 )
* refactor unincluded segment length into a ConsensusHook
* add docs
* refactor bandwidth_out calculation
Co-authored-by: Chris Sosnin <48099298+slumber@users.noreply.github.com >
* test for limits from impl
* fmt
* make tests compile
* update comment
* uncomment test
* fix collator test by adding parent to state proof
* patch HRMP watermark rules for unincluded segment
* get consensus-common tests to pass, using unincluded segment
* fix unincluded segment tests
* get all tests passing
* fmt
* rustdoc CI
* aura-ext: limit the number of authored blocks per slot (#2551 )
* aura_ext consensus hook
* reverse dependency
* include weight into hook
* fix tests
* remove stray println
Co-authored-by: Chris Sosnin <48099298+slumber@users.noreply.github.com >
* fix test warning
* fix doc link
---------
Co-authored-by: Chris Sosnin <48099298+slumber@users.noreply.github.com >
Co-authored-by: Chris Sosnin <chris125_@live.com >
* parachain-system: ignore go ahead signal once upgrade is processed (#2594 )
* handle goahead signal for unincluded segment
* doc comment
* add test
* parachain-system: drop processed messages from inherent data (#2590 )
* implement `drop_processed_messages`
* drop messages based on relay parent number
* adjust tests
* drop changes to mqc
* fix comment
* drop test
* drop more dead code
* clippy
* aura-ext: check slot in consensus hook and remove all `CheckInherents` logic (#2658 )
* aura-ext: check slot in consensus hook
* convert relay chain slot
* Make relay chain slot duration generic
* use fixed velocity hook for pallets with aura
* purge timestamp inherent
* fix warning
* adjust runtime tests
* fix slots in tests
* Make `xcm-emulator` test pass for new consensus hook (#2722 )
* add pallets on_initialize
* tests pass
* add AuraExt on_init
* ".git/.scripts/commands/fmt/fmt.sh"
---------
Co-authored-by: command-bot <>
---------
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com >
* update polkadot git refs
* CollationGenerationConfig closure is now optional (#2772 )
* CollationGenerationConfig closure is now optional
* fix test
* propagate network-protocol-staging feature (#2899 )
* Feature Flagging Consensus Hook Type Parameter (#2911 )
* First pass
* fmt
* Added as default feature in tomls
* Changed to direct dependency feature
* Dealing with clippy error
* Update pallets/parachain-system/src/lib.rs
Co-authored-by: asynchronous rob <rphmeier@gmail.com >
---------
Co-authored-by: asynchronous rob <rphmeier@gmail.com >
* fmt
* bump deps and remove warning
* parachain-system: update RelevantMessagingState according to the unincluded segment (#2948 )
* mostly address 2471 with a bug introduced
* adjust relevant messaging state after computing total
* fmt
* max -> min
* fix test implementation of xcmp source
* add test
* fix test message sending logic
* fix + test
* add more to unincluded segment test
* fmt
---------
Co-authored-by: Chris Sosnin <chris125_@live.com >
* Integrate new Aura / Parachain Consensus Logic in Parachain-Template / Polkadot-Parachain (#2864 )
* add a comment
* refactor client/service utilities
* deprecate start_collator
* update parachain-template
* update test-service in the same way
* update polkadot-parachain crate
* fmt
* wire up new SubmitCollation message
* some runtime utilities for implementing unincluded segment runtime APIs
* allow parachains to configure their level of sybil-resistance when starting the network
* make aura-ext compile
* update to specify sybil resistance levels
* fmt
* specify relay chain slot duration in milliseconds
* update Aura to explicitly produce Send futures
also, make relay_chain_slot_duration a Duration
* add authoring duration to basic collator and document params
* integrate new basic collator into parachain-template
* remove assert_send used for testing
* basic-aura: only author when parent included
* update polkadot-parachain-bin
* fmt
* some fixes
* fixes
* add a RelayNumberMonotonicallyIncreases
* add a utility function for initializing subsystems
* some logging for timestamp adjustment
* fmt
* some fixes for lookahead collator
* add a log
* update `find_potential_parents` to account for sessions
* bound the loop
* restore & deprecate old start_collator and start_full_node functions.
* remove unnecessary await calls
* fix warning
* clippy
* more clippy
* remove unneeded logic
* ci
* update comment
Co-authored-by: Marcin S. <marcin@bytedude.com >
* (async backing) restore `CheckInherents` for backwards-compatibility (#2977 )
* bring back timestamp
* Restore CheckInherents
* revert to empty CheckInherents
* make CheckInherents optional
* attempt
* properly end system blocks
* add some more comments
* ignore failing system parachain tests
* update refs after main feature branch merge
* comment out the offending tests because CI runs ignored tests
* fix warnings
* fmt
* revert to polkadot master
* cargo update -p polkadot-primitives -p sp-io
---------
Co-authored-by: asynchronous rob <rphmeier@gmail.com >
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com >
Co-authored-by: Bradley Olson <34992650+BradleyOlson64@users.noreply.github.com >
Co-authored-by: Marcin S. <marcin@bytedude.com >
Co-authored-by: eskimor <eskimor@users.noreply.github.com >
Co-authored-by: Andronik <write@reusable.software >
2023-08-18 16:57:34 +00:00
dependabot[bot]
73cb081a05
Bump tokio from 1.31.0 to 1.32.0 ( #3029 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.31.0 to 1.32.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.31.0...tokio-1.32.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-08-18 08:54:48 +00:00
Aaro Altonen
c97cd69590
Revert "[Substrate companion] update libp2p to 0.52.0 ( #2838 )" ( #2975 )
...
* Revert "[Substrate companion] update libp2p to 0.52.0 (#2838 )"
This reverts commit bc5a52678a .
* Bump `lru`
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-08-16 12:20:38 +00:00
dependabot[bot]
dfec8b98cf
Bump tokio from 1.30.0 to 1.31.0 ( #3016 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.30.0 to 1.31.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.30.0...tokio-1.31.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-08-15 21:46:52 +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]
e33ebde498
Bump tokio from 1.29.1 to 1.30.0 ( #3000 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.29.1 to 1.30.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.1...tokio-1.30.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-08-14 12:14:39 +00:00
Dmitry Markin
0dc2812c38
[companion] Get rid of Peerset compatibility layer ( #2739 )
...
* Init `PeerStore` in `build_collator_network`
* kick CI
* Update Cargo.lock for substrate
* Companion for substrate 14373
* Companion for paritytech/substrate#14020
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: Davide Galassi <davxy@datawok.net >
Co-authored-by: parity-processbot <>
2023-08-02 15:58:13 +00:00
Anton
bc5a52678a
[Substrate companion] update libp2p to 0.52.0 ( #2838 )
...
* update tinyvec to 1.6.0
* update once_cell to 1.18.0
* update data-encoding and libc
* update js-sys
* update wasm-bindgen-futures
* update pin-project
* update arrayvec
* update sha2
* update lru to 0.11
* update sha2 w/ diener patched substrate
* updated Cargo.lock
* redo updates
* redo sha2 updates with diener
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
2023-07-25 14:58:13 +00: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]
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]
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
dependabot[bot]
6b8be7a620
Bump tokio from 1.29.0 to 1.29.1 ( #2803 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.29.0 to 1.29.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.0...tokio-1.29.1 )
---
updated-dependencies:
- dependency-name: tokio
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-01 23:26:06 +02:00
dependabot[bot]
f4a0a66685
Bump tokio from 1.28.2 to 1.29.0 ( #2795 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.28.2 to 1.29.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.2...tokio-1.29.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-06-30 01:39:29 +02:00
eskimor
f27d4b5bfe
Companion for https://github.com/paritytech/polkadot/pull/7341 ( #2726 )
...
* Companion to enabling past session slashing on production.
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: eskimor <eskimor@no-such-url.com >
Co-authored-by: parity-processbot <>
2023-06-12 11:58:37 +00:00
dependabot[bot]
9ca6a9fa0e
Bump tokio from 1.28.1 to 1.28.2 ( #2652 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.28.1 to 1.28.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.1...tokio-1.28.2 )
---
updated-dependencies:
- dependency-name: tokio
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-01 11:40:18 +00:00
ordian
4ed61f9d31
polkompanion 6667: past session slashing ( #2160 )
...
* polkompanion 6667: past session slashing
* fix imports
* fix incorrect merge
* implement staging methods on RPC client
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
2023-05-26 10:13:54 +00:00
dependabot[bot]
2037d9802c
Bump tokio from 1.28.0 to 1.28.1 ( #2564 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.28.0 to 1.28.1.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.28.0...tokio-1.28.1 )
---
updated-dependencies:
- dependency-name: tokio
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-05-15 15:46:56 +00:00
Aaro Altonen
ba75e8b84a
Companion for paritytech/substrate#14080 ( #2526 )
...
* Companion for paritytech/substrate#14080
* Update lockfile
* Update Polkadot
* Update Cargo.lock
2023-05-11 15:00:42 +03:00
dependabot[bot]
0fecf26bf0
Bump array-bytes from 6.0.0 to 6.1.0 ( #2549 )
...
Bumps [array-bytes](https://github.com/hack-ink/array-bytes ) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/hack-ink/array-bytes/releases )
- [Changelog](https://github.com/hack-ink/array-bytes/blob/main/CHANGELOG )
- [Commits](https://github.com/hack-ink/array-bytes/compare/v6.0.0...v6.1.0 )
---
updated-dependencies:
- dependency-name: array-bytes
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-09 09:50:48 +00:00
Oliver Tale-Yazdi
299d25ba4b
Fix Clippy ( #2522 )
...
* Import Clippy config from Polkadot
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Auto clippy fix
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* No tabs in comments
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Prefer matches
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Dont drop references
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Trivial
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Refactor
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* fmt
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* add clippy to ci
* Clippy reborrow
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update client/pov-recovery/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/pov-recovery/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* Partially revert 'Prefer matches'
Using matches! instead of match does give less compiler
checks as per review from @chevdor.
Partially reverts 8c0609677f3ea040f77fffd5be6facf7c3fec95c
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update .cargo/config.toml
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
* Revert revert 💩
Should be fine to use matches! macro since it is an explicit whitelist,
not wildcard matching.
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: alvicsam <alvicsam@gmail.com >
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: Chevdor <chevdor@users.noreply.github.com >
Co-authored-by: parity-processbot <>
2023-05-06 08:01:03 +02:00
dependabot[bot]
c22d58eb34
Bump tokio from 1.27.0 to 1.28.0 ( #2508 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.27.0 to 1.28.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.27.0...tokio-1.28.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-05-03 17:33:17 +02:00
Sebastian Kunert
2d9b3131d5
Skip av-store, make consensus task blocking ( #2497 )
2023-05-01 10:22:56 +02: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
Sebastian Kunert
59fb7ff59c
help text examples + clean up ( #2418 )
2023-04-01 16:44:32 +02:00
dependabot[bot]
e842ee797a
Bump tokio from 1.26.0 to 1.27.0 ( #2413 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.26.0...tokio-1.27.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-03-31 09:29:41 +02:00
Aaro Altonen
6377d6038f
Companion for https://github.com/paritytech/substrate/pull/13725 ( #2401 )
...
* Companion for https://github.com/paritytech/substrate/pull/13725
* Add comment
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-03-30 12:33:14 +00:00
Sebastian Kunert
d98f3d1fec
Remove HeaderBackend from RelayChainRPCClient ( #2385 )
...
* Remove HeaderBackend from RelayChainRPCClient
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-03-28 07:37:58 +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
s0me0ne-unkn0wn
525079ab8d
Release parachain host API v4 ( #2325 )
...
* Release parachain host API v4
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: parity-processbot <>
2023-03-15 17:46:10 +00:00
dependabot[bot]
a59afc88d5
Bump tokio from 1.25.0 to 1.26.0 ( #2273 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.25.0...tokio-1.26.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-03-15 13:17:39 +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
Aaro Altonen
d57f0f415c
Companion for paritytech/substrate#13592 ( #2310 )
...
* Fixes
* Remove `sc-network-common` dependency
* update lockfile for {"polkadot", "substrate"}
* Update Cargo.lock
* Update Cargo.lock
---------
Co-authored-by: parity-processbot <>
2023-03-14 16:34:20 +02: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
Aaro Altonen
f8064eee4c
Companion for paritytech/substrate#12828 ( #1939 )
...
* Companion for paritytech/substrate#12764
* Remove `async-trait`
* Companion for paritytech/substrate#12828
* carg fmt
* Update client/relay-chain-minimal-node/src/network.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* update lockfile for {"polkadot", "substrate"}
---------
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: parity-processbot <>
2023-03-06 18:25:56 +00:00
Tsvetomir Dimitrov
012d4a8b71
Don't pass leaves() to Overseer::builder() ( #2275 )
...
* Don't pass `leaves()` to `Overseer::builder()`
This is a companion for https://github.com/paritytech/polkadot/pull/6727
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-03-06 15:41:33 +00:00
s0me0ne-unkn0wn
70483f33d9
Companion for paritytech/polkadot#6744: Retire OldV1SessionInfo ( #2213 )
...
* Adjust commands
* Use `NetworkWorker::next_action()` instead of `poll()`
* rustfmt
* minor: fix mutability
* Move imports
* Replace `NetworkWorker::next_action()` with `run()`
* Import fix
* Make `NetworkWorker::run` consume self
* Retire `OldV1SessionInfo`
* update lockfile for {"polkadot", "substrate"}
* update lockfile for {"substrate", "polkadot"}
* update lockfile for {"substrate", "polkadot"}
* Make stuff compile
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: Piotr Mikołajczyk <piomiko41@gmail.com >
Co-authored-by: Dmitry Markin <dmitry@markin.tech >
Co-authored-by: parity-processbot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-02-20 20:26:47 +00:00
s0me0ne-unkn0wn
edb452cec6
companion for paritytech/polkadot#6161 ( #2151 )
...
* Add an RPC call to request `ExecutorParams`
* update lockfile for {"substrate", "polkadot"}
---------
Co-authored-by: parity-processbot <>
2023-02-15 12:10:00 +00: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]
de078c8150
Bump futures from 0.3.25 to 0.3.26 ( #2152 )
2023-02-06 17:34:56 +01:00