Michal Kucharczyk
532dd5ecc2
BlockId removal: refactor: Backend::state_at ( #12488 )
...
* Minor naming improved
* BlockId removal refactor: Backend::state_at
* formatting
2022-10-14 09:27:32 +00:00
Bradley Olson
1d7d87856c
First round of implementers guide fixes ( #6146 )
2022-10-13 17:43:50 +02:00
Javier Viola
0373ad0a34
bump zombienet version ( #6142 )
...
* bump version
* make test required
* change zombienet version
* change zombienet version
* bump version and typo
* typo and add within
2022-10-13 15:17:50 +00:00
Michal Kucharczyk
dcd56b1ffd
Trivial BlockId::Number => Hash ( #12490 )
2022-10-13 13:22:57 +00:00
Andronik
96bb39a6b9
lingua.dic is not managed by CI team ( #6148 )
2022-10-13 14:31:32 +02:00
Sergej Sakac
0cc0867c45
pallet-mmr: RPC and Runtime APIs work with block numbers ( #6072 )
...
* pallet-mmr: RPC API works with block numbers
* small fix
* update
* change types
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-10-13 11:04:00 +00:00
Marcin S
17730b85be
Separate preparation timeouts for PVF prechecking and execution ( #6139 )
...
* Add some documentation
* Add `compilation_timeout` parameter for PVF preparation job
* Update buckets in prometheus metrics
* Update prepare/queue tests
* Update pvf-prechecking overview in implementer docs
* Fix some CI checks
2022-10-13 11:00:57 +00:00
Koute
1b3f211efa
Enable the wasmtime-based WASM executor by default ( #12486 )
2022-10-13 10:31:00 +00:00
Sergej Sakac
9dd89e7fa3
pallet-mmr: RPC API and Runtime API work with block numbers ( #12345 )
...
* pallet-mmr: RPC API works with block_numbers
* fixes
* update rpc
* fmt
* final touches in the rpc
* temporary fix
* fix
* fmt
* docs
* Update lib.rs
* use NumberFor
* validate input
* update runtime
* convert block_number to u64
* small edit
* update runtime api
* test fix
* runtime fix
* update test function
* fmt
* fix nits
* remove block_num_to_leaf_index from runtime api
* Update frame/merkle-mountain-range/src/lib.rs
Co-authored-by: Robert Hambrock <roberthambrock@gmail.com >
* fix tests
* get the code to compile after merge
* get the tests to compile
* fix in tests?
* fix test
* Update frame/merkle-mountain-range/src/tests.rs
Co-authored-by: Adrian Catangiu <adrian@parity.io >
* Update frame/merkle-mountain-range/src/lib.rs
Co-authored-by: Adrian Catangiu <adrian@parity.io >
* Update primitives/merkle-mountain-range/src/lib.rs
Co-authored-by: Adrian Catangiu <adrian@parity.io >
* fix errors & nits
* change block_num_to_leaf_index
* don't make any assumptions
* Update frame/merkle-mountain-range/src/tests.rs
Co-authored-by: Adrian Catangiu <adrian@parity.io >
* Update frame/merkle-mountain-range/src/tests.rs
Co-authored-by: Adrian Catangiu <adrian@parity.io >
* Update frame/merkle-mountain-range/src/tests.rs
Co-authored-by: Adrian Catangiu <adrian@parity.io >
* fix
* small fix
* use best_known_block_number
* best_known_block_number instead of leaves_count
* more readable?
* remove warning
* Update frame/merkle-mountain-range/src/lib.rs
Co-authored-by: Robert Hambrock <roberthambrock@gmail.com >
* simplify
* update docs
* nits
* fmt & fix
* merge fixes
* fix
* small fix
* docs & nit fixes
* Nit fixes
* remove leaf_indices_to_block_numbers()
* fmt
Co-authored-by: Robert Hambrock <roberthambrock@gmail.com >
Co-authored-by: Adrian Catangiu <adrian@parity.io >
2022-10-13 10:13:56 +00:00
Aaro Altonen
8cb4283032
Companion for paritytech/substrate#12480 ( #1758 )
...
* Companion for paritytech/substrate#12480
* update lockfile for {"substrate", "polkadot"}
Co-authored-by: parity-processbot <>
2022-10-13 10:02:39 +00:00
Mattia L.V. Bradascio
b3532393b8
Malus: add disputed block percentage ( #6100 )
...
* Malus: add disputed block percentage
* Bump clap to support value_parser with range
* Add rand crate and use Bernoulli and Distribution
* Add conditional logic based on sampled value from Bernoulli distribution
* Add SuggestGarbageCandidateOptions struct
* Cleanup tests
* * Replace unwrap with expect and meaningful error message
* * Remove Inner
* Remove intercept_outgoing
* * Rename sampled variable
* Move info! logs to include candidate hash of malicious candidate
* * Add percentage option to dispute_ancestor
* * Support static probability for `ReplaceValidationResult` proxy
* Update some comments and docs
* * Add `--percentage` to `back-garbage-candidate` variant
* Rename structs for consistency
* * Add probabilistic behavior to `dispute-ancestor` variant
* Add probabilistic behavior to `back-garbage-candidate` variant
* Rename structs in dispute variant
* * More descriptive comments
* * cargo +nightly fmt --all
* * Move Bernoulli distributrion to ReplaceValidationResult constructor
* Rename random_bool to behave_maliciously
* * Remove dangling comment
* * Consistent log
* * Add logs based on sampled value
* * Cargo +nightly fmt --all
* * Remove unused percentage attributed after moving Bernoulli to constructor
* Squashed commit of the following:
commit e4361b6d80
Author: Chris Sosnin <48099298+slumber@users.noreply.github.com >
Date: Mon Oct 10 10:06:44 2022 +0400
Fix flaky test (#6131 )
* Split test + decrease test timeout
* fmt
* spellcheck
commit f614752c22
Author: girazoki <gorka.irazoki@gmail.com >
Date: Mon Oct 10 06:39:30 2022 +0200
Add event to asset claim (#6029 )
commit 71197818a4
Author: Leszek Wiesner <leszek@jsgenesis.com >
Date: Mon Oct 10 00:23:54 2022 +0200
Companion for 12109 (#5929 )
* Update following `pallet-vesting` configurable `WithdrawReasons`
* Update lib.rs
* Update lib.rs
* Update lib.rs
* update lockfile for {"substrate"}
* fix warning
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
commit 607350449c
Author: Bastian Köcher <info@kchr.de >
Date: Fri Oct 7 13:40:40 2022 +0200
Companion for upgrading pin-project (#6118 )
* Companion for upgrading pin-project
This will remove some warnings with the latest rustc nightly/stable.
https://github.com/paritytech/substrate/pull/12426
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
commit c8151aed3c
Author: Sergej Sakac <73715684+Szegoo@users.noreply.github.com >
Date: Thu Oct 6 19:20:58 2022 +0200
Maximum value for `MultiplierUpdate` (#6021 )
* update multiplier
* fix
* update lockfile for {"substrate"}
* fmt
* fix typo
Co-authored-by: parity-processbot <>
commit 8d1c16dc0d
Author: Adrian Catangiu <adrian@parity.io >
Date: Thu Oct 6 12:58:39 2022 +0300
service: use MmrRootProvider as custom BEEFY payload provider (companion for 12428) (#6112 )
* service: use MmrRootProvider as custom BEEFY payload provider
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
commit 910e21847f
Author: Branislav Kontur <bkontur@gmail.com >
Date: Thu Oct 6 10:03:34 2022 +0200
Skip `unexpected metric type`
* Dump more info for `unexpected metric type`
* Skip `unexpected metric type`
commit af6a5cd96a
Author: Andronik <write@reusable.software >
Date: Thu Oct 6 00:36:51 2022 +0200
update kvdb & co (#6111 )
* toml changes
* REVERTME: patch
* adapt parachains db interface
* fix Cargo.toml patch after master rebase
* fix av-store
* fix chain-selection
* fix parachains-db?
* Revert "fix Cargo.toml patch after master rebase"
This reverts commit 3afcbf033c86027b3f2b909d83ec703591bdd287.
* Revert "REVERTME: patch"
This reverts commit 464b717cf4142d3d09c3d77b83700b632d8c5f54.
* Use `Ok` imported from prelude
Co-authored-by: Bastian Köcher <info@kchr.de >
* update lockfile for {"substrate"}
* Revert "update lockfile for {"substrate"}"
This reverts commit fdc623de226f7645741b86c4b1a7d030fed2172d.
* cargo update -p sp-io
Co-authored-by: Bastian Köcher <info@kchr.de >
Co-authored-by: parity-processbot <>
commit 9a3cf4cd1f
Author: Gavin Wood <gavin@parity.io >
Date: Wed Oct 5 22:17:59 2022 +0100
Companion for #11649 : Bound uses of `Call` (#5729 )
* Fixes
* Clear out old weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Resolve merges
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix weight traits
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* polkadot runtime: Clippy
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* rococo runtime: update pallet configs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add preimage migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add all migrations
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Democracy is not on Westend
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* [Migration] Refund stored multisig calls (#6075 )
* Add Preimages to referenda config
Needed since Gov V2 just merged.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add multisig migration to Westend+Rococo
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix Executive syntax
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Bump Substrate
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
Co-authored-by: Roman Useinov <roman.useinov@gmail.com >
commit 4aea71a95f
Author: Alexander Theißen <alex.theissen@me.com >
Date: Wed Oct 5 15:15:07 2022 +0200
Pass through `runtime-benchmark` feature (#6110 )
commit 42c043d7f4
Author: Keith Yeung <kungfukeith11@gmail.com >
Date: Wed Oct 5 17:47:15 2022 +0800
Properly migrate weights to v2 (#6091 )
* Create migration for config pallet
* Use XcmWeight in XCM pallet extrinsics
* Link to PR in doc comment
* cargo fmt
* Fix tests
* Fix tests
* Remove unused import
* Update runtime/parachains/src/configuration/migration.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add missing on_runtime_upgrade implementation
* Use new migration API
* cargo fmt
* Fix log message
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
commit b13e07bc47
Author: Chris Sosnin <48099298+slumber@users.noreply.github.com >
Date: Wed Oct 5 11:48:50 2022 +0400
Buffered connection management for collator-protocol (#6022 )
* Extract metrics into a separate module
* Introduce validators buffer
* Integrate buffer into the subsystem
* Only reconnect on new advertisements
* Test
* comma
* doc comment
* Make capacity buffer compile time non-zero
* Add doc comments
* nits
* remove derives
* review
* better naming
* check timeout
* Extract interval stream into lib
* Ensure collator disconnects after timeout
* spellcheck
* rename buf
* Remove double interval
* Add a log on timeout
* Cleanup buffer on timeout
commit e0e836671f
Author: Robert Klotzner <eskimor@users.noreply.github.com >
Date: Tue Oct 4 18:47:52 2022 +0200
Add unknown words (#6105 )
commit 938bc96a2c
Author: Robert Klotzner <eskimor@users.noreply.github.com >
Date: Tue Oct 4 18:02:05 2022 +0200
Batch vote import in dispute-distribution (#5894 )
* Start work on batching in dispute-distribution.
* Guide work.
* More guide changes. Still very much WIP.
* Finish guide changes.
* Clarification
* Adjust argument about slashing.
* WIP: Add constants to receiver.
* Maintain order of disputes.
* dispute-distribuion sender Rate limit.
* Cleanup
* WIP: dispute-distribution receiver.
- [ ] Rate limiting
- [ ] Batching
* WIP: Batching.
* fmt
* Update `PeerQueues` to maintain more invariants.
* WIP: Batching.
* Small cleanup
* Batching logic.
* Some integration work.
* Finish.
Missing: Tests
* Typo.
* Docs.
* Report missing metric.
* Doc pass.
* Tests for waiting_queue.
* Speed up some crypto by 10x.
* Fix redundant import.
* Add some tracing.
* Better sender rate limit
* Some tests.
* Tests
* Add logging to rate limiter
* Update roadmap/implementers-guide/src/node/disputes/dispute-distribution.md
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
* Update roadmap/implementers-guide/src/node/disputes/dispute-distribution.md
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
* Update node/network/dispute-distribution/src/receiver/mod.rs
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
* Review feedback.
* Also log peer in log messages.
* Fix indentation.
* waker -> timer
* Guide improvement.
* Remove obsolete comment.
* waker -> timer
* Fix spell complaints.
* Fix Cargo.lock
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
commit a64cc4a860
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Tue Oct 4 11:28:21 2022 +0000
Bump lru from 0.7.8 to 0.8.0 (#6060 )
* Bump lru from 0.7.8 to 0.8.0
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.7.8 to 0.8.0.
- [Release notes](https://github.com/jeromefroe/lru-rs/releases )
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.7.8...0.8.0 )
---
updated-dependencies:
- dependency-name: lru
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Change `LruCache` paramerter to `NonZeroUsize`
* Change type of `session_cache_lru_size` to `NonZeroUsize`
* Add expects instead of unwrap
Co-authored-by: Bastian Köcher <info@kchr.de >
* Use match to get rid of expects
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 >
Co-authored-by: Bastian Köcher <info@kchr.de >
commit 7114a8cfca
Author: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
Date: Tue Oct 4 13:36:42 2022 +0300
Keep sessions in window for the full unfinalized chain (#6054 )
* Impl dynamic window size. Keep sessions for unfinalized chain
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Stretch also in contructor plus tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix approval-voting tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* grunting: dispute coordinator tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
commit ab8f04f827
Author: Serban Iorga <serban@parity.io >
Date: Tue Oct 4 12:25:48 2022 +0300
Companion for BEEFY: Simplify hashing for pallet-beefy-mmr (#6098 )
* beefy-mmr: Simplify hashing
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
* Revert "Squashed commit of the following:"
This reverts commit 5001fa5d1dcd366029d156f81c40b99ca29d8f77.
* Companion for BEEFY: Simplify hashing for pallet-beefy-mmr (#6098 )
* beefy-mmr: Simplify hashing
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
* Keep sessions in window for the full unfinalized chain (#6054 )
* Impl dynamic window size. Keep sessions for unfinalized chain
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Stretch also in contructor plus tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* review feedback
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix approval-voting tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* grunting: dispute coordinator tests
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* Bump lru from 0.7.8 to 0.8.0 (#6060 )
* Bump lru from 0.7.8 to 0.8.0
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.7.8 to 0.8.0.
- [Release notes](https://github.com/jeromefroe/lru-rs/releases )
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.7.8...0.8.0 )
---
updated-dependencies:
- dependency-name: lru
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Change `LruCache` paramerter to `NonZeroUsize`
* Change type of `session_cache_lru_size` to `NonZeroUsize`
* Add expects instead of unwrap
Co-authored-by: Bastian Köcher <info@kchr.de >
* Use match to get rid of expects
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 >
Co-authored-by: Bastian Köcher <info@kchr.de >
* Batch vote import in dispute-distribution (#5894 )
* Start work on batching in dispute-distribution.
* Guide work.
* More guide changes. Still very much WIP.
* Finish guide changes.
* Clarification
* Adjust argument about slashing.
* WIP: Add constants to receiver.
* Maintain order of disputes.
* dispute-distribuion sender Rate limit.
* Cleanup
* WIP: dispute-distribution receiver.
- [ ] Rate limiting
- [ ] Batching
* WIP: Batching.
* fmt
* Update `PeerQueues` to maintain more invariants.
* WIP: Batching.
* Small cleanup
* Batching logic.
* Some integration work.
* Finish.
Missing: Tests
* Typo.
* Docs.
* Report missing metric.
* Doc pass.
* Tests for waiting_queue.
* Speed up some crypto by 10x.
* Fix redundant import.
* Add some tracing.
* Better sender rate limit
* Some tests.
* Tests
* Add logging to rate limiter
* Update roadmap/implementers-guide/src/node/disputes/dispute-distribution.md
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
* Update roadmap/implementers-guide/src/node/disputes/dispute-distribution.md
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
* Update node/network/dispute-distribution/src/receiver/mod.rs
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
* Review feedback.
* Also log peer in log messages.
* Fix indentation.
* waker -> timer
* Guide improvement.
* Remove obsolete comment.
* waker -> timer
* Fix spell complaints.
* Fix Cargo.lock
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
* Add unknown words (#6105 )
* Buffered connection management for collator-protocol (#6022 )
* Extract metrics into a separate module
* Introduce validators buffer
* Integrate buffer into the subsystem
* Only reconnect on new advertisements
* Test
* comma
* doc comment
* Make capacity buffer compile time non-zero
* Add doc comments
* nits
* remove derives
* review
* better naming
* check timeout
* Extract interval stream into lib
* Ensure collator disconnects after timeout
* spellcheck
* rename buf
* Remove double interval
* Add a log on timeout
* Cleanup buffer on timeout
* Properly migrate weights to v2 (#6091 )
* Create migration for config pallet
* Use XcmWeight in XCM pallet extrinsics
* Link to PR in doc comment
* cargo fmt
* Fix tests
* Fix tests
* Remove unused import
* Update runtime/parachains/src/configuration/migration.rs
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add missing on_runtime_upgrade implementation
* Use new migration API
* cargo fmt
* Fix log message
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Pass through `runtime-benchmark` feature (#6110 )
* Companion for #11649 : Bound uses of `Call` (#5729 )
* Fixes
* Clear out old weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Resolve merges
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix weight traits
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* polkadot runtime: Clippy
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* rococo runtime: update pallet configs
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add preimage migration
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add all migrations
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Democracy is not on Westend
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* [Migration] Refund stored multisig calls (#6075 )
* Add Preimages to referenda config
Needed since Gov V2 just merged.
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Update weights
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Add multisig migration to Westend+Rococo
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Fix Executive syntax
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Bump Substrate
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: parity-processbot <>
Co-authored-by: Roman Useinov <roman.useinov@gmail.com >
* update kvdb & co (#6111 )
* toml changes
* REVERTME: patch
* adapt parachains db interface
* fix Cargo.toml patch after master rebase
* fix av-store
* fix chain-selection
* fix parachains-db?
* Revert "fix Cargo.toml patch after master rebase"
This reverts commit 3afcbf033c86027b3f2b909d83ec703591bdd287.
* Revert "REVERTME: patch"
This reverts commit 464b717cf4142d3d09c3d77b83700b632d8c5f54.
* Use `Ok` imported from prelude
Co-authored-by: Bastian Köcher <info@kchr.de >
* update lockfile for {"substrate"}
* Revert "update lockfile for {"substrate"}"
This reverts commit fdc623de226f7645741b86c4b1a7d030fed2172d.
* cargo update -p sp-io
Co-authored-by: Bastian Köcher <info@kchr.de >
Co-authored-by: parity-processbot <>
* Skip `unexpected metric type`
* Dump more info for `unexpected metric type`
* Skip `unexpected metric type`
* service: use MmrRootProvider as custom BEEFY payload provider (companion for 12428) (#6112 )
* service: use MmrRootProvider as custom BEEFY payload provider
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
* Maximum value for `MultiplierUpdate` (#6021 )
* update multiplier
* fix
* update lockfile for {"substrate"}
* fmt
* fix typo
Co-authored-by: parity-processbot <>
* Companion for upgrading pin-project (#6118 )
* Companion for upgrading pin-project
This will remove some warnings with the latest rustc nightly/stable.
https://github.com/paritytech/substrate/pull/12426
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
* Companion for 12109 (#5929 )
* Update following `pallet-vesting` configurable `WithdrawReasons`
* Update lib.rs
* Update lib.rs
* Update lib.rs
* update lockfile for {"substrate"}
* fix warning
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
* Add event to asset claim (#6029 )
* Fix flaky test (#6131 )
* Split test + decrease test timeout
* fmt
* spellcheck
* ci/guide: install mdbook-graphviz (#6119 )
* ci/guide: install mdbook-graphviz
* install graphviz in build-implementers-guide
* Update scripts/ci/gitlab/pipeline/build.yml
Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com >
* Revert "Squashed commit of the following:"
This reverts commit 5001fa5d1dcd366029d156f81c40b99ca29d8f77.
* * Remove unused imports
* * cargo +nightly fmt --all
* Make tweaks based on PR comments
* unit test related to gum formatting
* cargo +nightly fmt --all
* Resolve merge conflicts
* cargo +nightly fmt --all
* Fix tests so they use cli rather than cmd
* CI unused import check fix
* Move info! log to startup
* make info log more comprehensible
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Serban Iorga <serban@parity.io >
Co-authored-by: Andrei Sandu <54316454+sandreim@users.noreply.github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastian Kunert <skunert49@gmail.com >
Co-authored-by: Bastian Köcher <info@kchr.de >
Co-authored-by: Robert Klotzner <eskimor@users.noreply.github.com >
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io >
Co-authored-by: Chris Sosnin <48099298+slumber@users.noreply.github.com >
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com >
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Co-authored-by: Alexander Theißen <alex.theissen@me.com >
Co-authored-by: Gavin Wood <gavin@parity.io >
Co-authored-by: Roman Useinov <roman.useinov@gmail.com >
Co-authored-by: Andronik <write@reusable.software >
Co-authored-by: Branislav Kontur <bkontur@gmail.com >
Co-authored-by: Adrian Catangiu <adrian@parity.io >
Co-authored-by: Sergej Sakac <73715684+Szegoo@users.noreply.github.com >
Co-authored-by: Leszek Wiesner <leszek@jsgenesis.com >
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: girazoki <gorka.irazoki@gmail.com >
Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com >
2022-10-13 09:48:48 +00:00
Aaro Altonen
09164dbced
Introduce mockable ChainSync object for testing ( #12480 )
...
* Introduce mockable `ChainSync` object for testing
`mockall` allows to mock `ChainSync` and to verify that the calls made
to `ChaiSync` are firstly executed at all, that they're executed in
correct order and with correct parameters.
This allows to verify, e.g., that delegating calls directly to
`ChainSync` from `NetworkService` still calls the correct functions with
correct arguments even if `Protocol` middleman is removed.
* Add Cargo.lock
* Fix tests
* Update client/network/Cargo.toml
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update Cargo.lock
* Fix clippy and documentation
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: parity-processbot <>
2022-10-13 09:37:09 +00:00
Dmitrii Markin
b0b2b6799c
Punish peers for duplicate GRANDPA neighbor messages ( #12462 )
...
* Decrease peer reputation for duplicate GRANDPA neighbor messages.
* Fix comparison
* Fix update_peer_state() validity condition
* Add negative test
* Rework update_peer_state() validity condition, add tests
* update_peer_state() validity condition: invert comparison
* Split InvalidViewChange and DuplicateNeighborMessage misbehaviors
* Enforce rate-limiting of duplicate GRANDPA neighbor packets
* Update client/finality-grandpa/src/communication/gossip.rs
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
* Make rolling clock back in a test safer
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
2022-10-13 09:24:31 +00:00
asynchronous rob
a7780e0797
refactor grid topology to expose more info to subsystems ( #6140 )
...
* refactor grid topology to expose more info to subsystems
* fix grid_topology test
* fix overseer test
* Update node/network/protocol/src/grid_topology.rs
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
* Update node/network/protocol/src/grid_topology.rs
Co-authored-by: Andronik <write@reusable.software >
* Update node/network/protocol/src/grid_topology.rs
Co-authored-by: Andronik <write@reusable.software >
* fix bug in populating topology
* fmt
Co-authored-by: Vsevolod Stakhov <vsevolod.stakhov@parity.io >
Co-authored-by: Andronik <write@reusable.software >
2022-10-12 23:30:12 +00:00
Shawn Tabrizi
b38c4165a4
Dont use benchmark range on constant functions ( #12456 )
...
* dont use benchmark range on constant function
* update weights
* fix
* new weights
* Update frame/examples/basic/src/benchmarking.rs
Co-authored-by: parity-processbot <>
2022-10-12 16:32:10 +00:00
Michal Kucharczyk
09748f1b28
BlockId::Number refactor: trivial changes to BlockId::Hash ( #12471 )
...
* Trivial BlockId::Number => Hash
* missed BlockId::Hash added
2022-10-12 16:10:31 +00:00
Pierre Krieger
8920b1c5b3
Clarify the "direction" field of block requests ( #12438 )
2022-10-12 13:01:54 +00:00
Michal Kucharczyk
453b9ef235
tx-pool: failing tests fixed ( #12481 )
2022-10-12 08:06:22 +00:00
Michal Kucharczyk
62bca87f3a
Finalized block event triggers tx maintanance ( #12305 )
...
* finalized block event triggers tx maintanance
* tx-pool: enactment helper introduced
* tx-pool: ChainApi: added tree_route method
* enactment logic implemented + tests
Signed-off-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com >
* Some additional tests
* minor improvements
* trigger CI job
* fix compilation errors
ChainApi::tree_route return type changed to Result<Option<..>>, as some
implementations (tests) are not required to provide this tree route.
* formatting
* trait removed
* implementation slightly simplified
(thanks to @koute)
* get rid of Arc<> in EnactmentState return value
* minor improvement
* Apply suggestions from code review
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
* Apply suggestions from code review
* comment updated + formatting
* Apply suggestions from code review
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
Co-authored-by: Davide Galassi <davxy@datawok.net >
* formatting
* finalization notification bug fix
+ new test case
+ log::warn message when finalized block is being retracted by new event
* added error message on tree_route failure
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <git@kchr.de >
* use provided tree_route in Finalized event
* Option removed from ChainApi::tree_route
* doc added, test and logs improved
* handle_enactment aligned with original implementation
* use async-await
* Apply suggestions from code review
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <git@kchr.de >
* formatting + warn->debug
* compilation error fix
* enactment_state initializers added
* enactment_state: Option removed
* manual-seal: compilation & tests fix
* manual-seal: tests fixed
* tests cleanup
* another compilation error fixed
* TreeRoute::new added
* get rid of pub hack
* one more test added
* formatting
* TreeRoute::new doc added + formatting
* Apply suggestions from code review
Co-authored-by: Davide Galassi <davxy@datawok.net >
* (bool,Option) simplified to Option
* log message improved
* yet another review suggestions applied
* get rid of hash in handle_enactment
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <git@kchr.de >
* Update client/transaction-pool/src/lib.rs
Co-authored-by: Bastian Köcher <git@kchr.de >
* minor corrections
* EnactmentState moved to new file
* File header corrected
* error formatting aligned with codebase
* Apply suggestions from code review
Co-authored-by: Bastian Köcher <git@kchr.de >
* remove commented code
* small nits
Signed-off-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com >
Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com >
Co-authored-by: Davide Galassi <davxy@datawok.net >
Co-authored-by: Bastian Köcher <git@kchr.de >
Co-authored-by: André Silva <andrerfosilva@gmail.com >
2022-10-11 20:20:13 +00:00
Shawn Tabrizi
bccffcad12
Manual Para Lock ( #5451 )
...
* remove para lock check for now
* fmt
* manual para lock
* expose schedule_code_upgrade and set_current_head
* extrinsics and benchmarks
* use zero
* add weights
* fix variable name
* add and fix comments
* fix weights
* add back default lock
Co-authored-by: parity-processbot <>
2022-10-11 19:22:38 +00:00
Shawn Tabrizi
023aa03fea
Avoid Unstable Sort ( #12455 )
...
* dont use unstable sort
* remove comment
* add clippy rule
2022-10-11 18:41:43 +00:00
Keith Yeung
5cbb6b4c43
Migrate Weights properly to v2 ( #1722 )
...
* Migrate Weights properly to v2
* Add missing on_runtime_upgrade implementation
* Fix benchmarks
* Apply suggestions from code review
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* cargo fmt
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-10-11 16:36:03 +00:00
Keith Yeung
fbdfa84cd7
Rename from_components to from_parts ( #12473 )
...
* Rename `from_components` to `from_parts`
* Fixes
* Spelling
2022-10-11 16:35:54 +00:00
Aaro Altonen
e1e5b7037a
Fix flaky service test ( #12472 )
...
Sometimes `NotificationStreamOpenened` would be received for the
other protocol before `SyncConnected` was received so when the
connection was closed, an incorrect event was read from the event
stream.
2022-10-11 15:25:12 +00:00
Pierre Krieger
d61b0866ed
Remove the unused light client requests ( #12470 )
...
* Remove the unused light client requests
* Add comment about new ids
2022-10-11 13:56:18 +00:00
Andrei Sandu
dc555b9510
Expose node subcommands in Malus CLI ( #6135 )
...
* Expose the full Cli through malus
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
* fix lonely test
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
Signed-off-by: Andrei Sandu <andrei-mihail@parity.io >
2022-10-11 12:07:28 +00:00
Alexandru Vasile
bc9da4d5d0
Companion for #12328 ( #6058 )
...
* staking-miner: Adjust `TransactionStatus` update
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* update lockfile for {"substrate"}
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Co-authored-by: parity-processbot <>
2022-10-11 09:28:00 +00:00
Alexandru Vasile
5f18aaadcd
rpc: Implement transaction RPC API ( #12328 )
...
* rpc/tx: Add transaction structures for serialization
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/tx: Add public facing `TransactionEvent`
To circumvent the fact that serde does not allow mixing
`#[serde(tag = "event")]` with
`#[serde(tag = "event", content = "block")]`
the public facing subscription structure is serialized
and deserialized to an intermmediate representation.
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/tx: Add trait for the `transaction` API
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/tx: Convert RPC errors to transaction events
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/tx: Implement `transaction` RPC methods
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* tx-pool: Propagate tx index to events
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* tx-pool: Adjust testing to reflect tx index in events
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/tx: Convert tx-pool events for the new RPC spec
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/tx: Convert tx-pool `FinalityTimeout` event to `Dropped`
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* service: Enable the `transaction` API
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/tx: Add tests for tx event encoding and decoding
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* tx: Add indentation for subscriptions
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/tx: Fix documentation
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/tx: Serialize usize to hex
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* tx-pool: Rename closure parameters
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* service: Separate RPC spec versions
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/tx: Use `H256` for testing block's hash
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/tx: Serialize numbers as string
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* tx-pool: Backward compatibility with RPC v1
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update client/rpc-spec-v2/src/transaction/transaction.rs
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
* rpc/tx: Remove comment about serde clone
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* rpc/tx: Use RPC custom error code for invalid tx format
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
* Update client/rpc-spec-v2/src/transaction/event.rs
Co-authored-by: James Wilson <james@jsdw.me >
* rpc/tx: Adjust internal structures for serialization/deserialization
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io >
Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com >
Co-authored-by: James Wilson <james@jsdw.me >
2022-10-11 08:49:12 +00:00
dependabot[bot]
9b8e4b2ab1
Bump lru from 0.8.0 to 0.8.1 ( #1751 )
...
Bumps [lru](https://github.com/jeromefroe/lru-rs ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/jeromefroe/lru-rs/releases )
- [Changelog](https://github.com/jeromefroe/lru-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jeromefroe/lru-rs/compare/0.8.0...0.8.1 )
---
updated-dependencies:
- dependency-name: lru
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-10-10 23:36:52 +02:00
Vlad
896a9fc7cb
Update UI tests for Rust 1.64 ( #12440 )
...
* Update UI tests for Rust 1.64
* Test with the staging image
* Switch back to production
2022-10-10 20:04:51 +02:00
Vlad
c3e96ec99d
Update tests for Rust 1.64 ( #6124 )
...
Co-authored-by: Bastian Köcher <info@kchr.de >
2022-10-10 20:20:21 +03:00
Oliver Tale-Yazdi
54c3e7f55f
Dont ignore errors in pallet benchmarking ( #12449 )
...
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2022-10-10 14:25:11 +00:00
Aaro Altonen
78df409ab4
Companion for paritytech/polkadot#6117 ( #1749 )
...
* Companion for paritytech/polkadot#6117
* Fix code
* Fix trait
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
2022-10-10 11:38:54 +00:00
Aaro Altonen
4819d12711
Companion for paritytech/substrate#12441 ( #6117 )
...
* Companion for paritytech/substrate#12441
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-10-10 11:13:59 +00:00
Andronik
a4e33b13ac
ci/guide: install mdbook-graphviz ( #6119 )
...
* ci/guide: install mdbook-graphviz
* install graphviz in build-implementers-guide
* Update scripts/ci/gitlab/pipeline/build.yml
Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com >
2022-10-10 09:41:04 +00:00
dependabot[bot]
7d50dcd04a
Bump tokio from 1.21.1 to 1.21.2 ( #1698 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.21.1 to 1.21.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.21.1...tokio-1.21.2 )
---
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>
2022-10-10 10:58:33 +02:00
dependabot[bot]
16b8ef51dd
Bump tracing from 0.1.36 to 0.1.37 ( #1740 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.36 to 0.1.37.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.36...tracing-0.1.37 )
---
updated-dependencies:
- dependency-name: tracing
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-10-10 10:08:40 +02:00
Aaro Altonen
ce9ce49bc6
Move block announcement protocol config out of Protocol ( #12441 )
...
* Move Role(s) to `sc-network-common`
* Introduce `NotificationHandshake` type
* Move block announce protocol config creation to `ChainSync`
* Include block announcement into `notification_protocols`
* Apply review comments
* Remove unneeded include
* Add missing include
* Apply review comments
2022-10-10 07:10:53 +00: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
Chris Sosnin
e4361b6d80
Fix flaky test ( #6131 )
...
* Split test + decrease test timeout
* fmt
* spellcheck
2022-10-10 08:06:44 +02:00
girazoki
f614752c22
Add event to asset claim ( #6029 )
2022-10-10 04:39:30 +00:00
Leszek Wiesner
71197818a4
Companion for 12109 ( #5929 )
...
* Update following `pallet-vesting` configurable `WithdrawReasons`
* Update lib.rs
* Update lib.rs
* Update lib.rs
* update lockfile for {"substrate"}
* fix warning
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com >
Co-authored-by: parity-processbot <>
2022-10-09 22:23:54 +00:00
Leszek Wiesner
0b77060986
Vesting pallet - make WithdrawReasons configurable ( #12109 )
...
* Vesting pallet - make WithdrawReasons configurable
* Update `pallet-vesting` README
Co-authored-by: parity-processbot <>
2022-10-09 09:22:43 +00:00
Pierre Krieger
4a6c7aaf5b
Remove "to_block" field from BlockRequests ( #12447 )
...
* Remove "to_block" field from BlockRequests
* Maybe fix the tests
2022-10-08 21:15:25 +00:00
Dan Shields
f55a6c9689
fix comment math ( #12452 )
2022-10-08 19:26:31 +00:00
dependabot[bot]
59d0f06156
Bump syn from 1.0.101 to 1.0.102 ( #1746 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.101 to 1.0.102.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.101...1.0.102 )
---
updated-dependencies:
- dependency-name: syn
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-10-07 23:04:47 +02:00
Serban Iorga
56a9f55c81
BEEFY: Define a BeefyVerify trait for signatures ( #12299 )
...
* Define CustomVerify trait
Signed-off-by: Serban Iorga <serban@parity.io >
* Use ECDSA CustomVerify for MultiSignature
Signed-off-by: Serban Iorga <serban@parity.io >
* beefy: small simplifications
Signed-off-by: Serban Iorga <serban@parity.io >
* Revert "Use ECDSA CustomVerify for MultiSignature"
This reverts commit 136cff82505662dd92c864491814629d2bc349f0.
* Revert "Define CustomVerify trait"
This reverts commit adf91e9e6d1bdea6f00831f6067b74c3d945f9a2.
* Define BeefyAuthorityId and BeefyVerify traits
* Improve BeefyVerify unit tests
Co-authored-by: Robert Hambrock <roberthambrock@gmail.com >
* fmt & import sp_core::blake2_256
* Renamings
* remove SignerToAccountId
* fix
Signed-off-by: Serban Iorga <serban@parity.io >
Co-authored-by: Robert Hambrock <roberthambrock@gmail.com >
2022-10-07 14:19:10 +00:00
Koute
eee79a1fa4
Extend the lower bounds of some of the benchmarks to also include 0 ( #12386 )
...
* Extend the lower bounds of some of the benchmarks to also include `0`
* Fix verify snippet for `pallet_bounties/spend_funds`
2022-10-07 14:16:41 +00:00
Bastian Köcher
607350449c
Companion for upgrading pin-project ( #6118 )
...
* Companion for upgrading pin-project
This will remove some warnings with the latest rustc nightly/stable.
https://github.com/paritytech/substrate/pull/12426
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
2022-10-07 13:40:40 +02:00
Bastian Köcher
fc3f9268f6
Upgrade pin-project ( #12426 )
...
This fixes some warnings on latest nightly.
2022-10-07 10:46:57 +00:00