Commit Graph

3891 Commits

Author SHA1 Message Date
dependabot[bot] 88aa92411c Bump bumpalo from 3.8.0 to 3.12.0 (#6599)
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.8.0 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.8.0...3.12.0)

---
updated-dependencies:
- dependency-name: bumpalo
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 13:08:58 +00:00
dependabot[bot] 3485f86a07 Bump git2 from 0.16.0 to 0.16.1 (#6601)
Bumps [git2](https://github.com/rust-lang/git2-rs) from 0.16.0 to 0.16.1.
- [Release notes](https://github.com/rust-lang/git2-rs/releases)
- [Commits](https://github.com/rust-lang/git2-rs/compare/git2-curl-0.16.0...0.16.1)

---
updated-dependencies:
- dependency-name: git2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 14:04:25 +01:00
Muharem Ismailov 16f3bd48b3 Council as SpendOrigin (#6877) 2023-03-15 09:39:20 +00:00
Marcin S ba29d06334 PVF: Document that preparation cannot lead to disputes (#6873)
* PVF: Document that preparation cannot lead to disputes

* Add warning for deterministic errors

* Fix warning
2023-03-15 01:35:38 +01:00
Mara Robin B 962bd71eb0 Sync versions with current release (0.9.39) (#6875) 2023-03-14 21:03:49 +00:00
Aaro Altonen 0e1c932c42 Companion for paritytech/substrate#13592 (#6869)
* Move configs

* Start using `NetworkService` traits from `sc-network`

* Fix stuff

* Remove `sc-network-common` as dependency

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
2023-03-14 12:52:15 +00:00
Vsevolod Stakhov 5565bb9dbc Update orchestra to the recent version (#6854)
* Test the recent orchestra changes

* Update orchestra and metered-channel
2023-03-14 09:29:57 +00:00
Oliver Tale-Yazdi 894dcad54b Delete unused Cargo.lock (#6870)
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2023-03-13 17:52:30 +00:00
Vivek Pandya 87db25ce01 Remove use of Store trait (#6835)
* Remove use of Store trait from runtime directory

* Remove Store trait usage from xcm directory

* Run cargo fmt

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
2023-03-13 16:11:22 +00:00
Davide Galassi 5cbfc6c594 Companion for Substrate #13564 (#6845)
* Update beefy pallet to last offence report system

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
2023-03-11 18:50:13 +00:00
Bradley Olson c99362e56c Adding Dispute Participation Metrics (#6838)
* Added participation and queue sizes metrics

* First draft of all metric code

* Tests pass

* Changed Metrics to field on participation + queues

* fmt

* Improving naming

* Refactor, placing timer in ParticipationRequest

* fmt

* Final cleanup

* Revert "Final cleanup"

This reverts commit 02e5608df64b2e0f7810905e4508673b2037d351.

* Changing metric names

* Implementing Eq only for unit tests

* fmt
2023-03-11 00:38:24 +00:00
Koute 3777f2db42 Update substrate to 48e7cb147cb9a27125fd2e82edbcf4d0ed5927c4 (#6851) 2023-03-09 10:51:33 +01:00
s0me0ne-unkn0wn 03d4af104f Move PVF timeouts to executor environment parameters (#6823)
* Move PVF timeouts to executor environment parameters

* Typo

Co-authored-by: Marcin S. <marcin@realemail.net>

* Fix comments

* Change handle_import_statements to FatalResult (#6820)

* Changing dispute db errors to fatal

* fmt

* Change node-key for bootnodes (#6772)

* Additional tracing in `provisioner`, `vote_selection` and `dispute-coordinator` (#6775)

* Additional tracing in `provisioner`, `vote_selection`

* Add `fetched_onchain_disputes` metric to provisioner

* Some tracelines in dispute-coordinator

TODO: cherry pick this in the initial branch!!!

* Remove spammy logs

* Remove some trace lines

* Rename and fix things

* Fix comments

* Typo

* Minor fixes

* Add codec indexes; Remove macro

---------

Co-authored-by: Marcin S. <marcin@realemail.net>
Co-authored-by: Bradley Olson <34992650+BradleyOlson64@users.noreply.github.com>
Co-authored-by: Petr Mensik <petr.mensik1@gmail.com>
Co-authored-by: Tsvetomir Dimitrov <tsvetomir@parity.io>
2023-03-08 22:43:51 +00:00
Guantong 1c2215a75a Correct comment (#6839) 2023-03-08 12:22:02 +00:00
Davide Galassi 2fa5f6a4f4 Companion for Substrate #13425 (#6784)
* Align to substrate refactory

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
2023-03-07 23:02:42 +01:00
Tsvetomir Dimitrov e5248e35dd Remove hardcoded paths from dispute-valid-block zombienet test for malus (#6837) 2023-03-07 15:26:48 +00:00
Javier Viola 0c51a202cc bump zombienet version to v1.3.37 (#6773)
* bump zombienet version

* remove redundant 'is up' assertion

* bump zombienet version

* bump to latest version of zombienet

* add more time to check peers
2023-03-07 11:28:53 +00:00
Koute 4778300431 Bump blake2b_simd to 1.0.1 (#6829) 2023-03-07 06:50:08 +00:00
Mara Robin B baaa6bf021 changelog: update template for new label behavior (E3/E4) (#6804)
* update changelog template for new label behavior (E3/E4)

This distinguishes E3 and E4 labels in the changelog output

* Separate E3/E4 notices in changelog

* fixup
2023-03-06 20:36:13 +01:00
Aaro Altonen ce9fbe73d9 Companion for paritytech/substrate#12828 (#6380)
* Companion for paritytech/substrate#12828

* Pass sync service

* Fix test

* Fix tests again

* update lockfile for {"substrate"}

* cargo fmt

---------

Co-authored-by: parity-processbot <>
2023-03-06 17:46:27 +00:00
Tsvetomir Dimitrov ed6fa5499c Don't send ActiveLeaves from leaves in db on startup in Overseer (#6727)
* Don't send `ActiveLeaves` from leaves in db on startup in Overseer. Wait for fresh leaves instead.

* Don't pass initial set of leaves to Overseer

* Fix compilation error in subsystem-test-helpers
2023-03-06 15:02:16 +00:00
Muharem Ismailov dfb60f32cd Polkadot XCM Body constants (#6788)
Co-authored-by: parity-processbot <>
2023-03-06 14:43:28 +00:00
Aaro Altonen de408833d9 Decrease expected peer count in zombinenet tests (#6826)
* Decrease expected peer count in zombinenet tests

Recent change in the in/out peer ratio caused some of the zombienet
tests to fail. Adjust the number of expected peers to reflect the new
ratio to make tests pass again.

* Increase `--out-peers` to 15 for paritydb test

* Don't check the number of connected peers
2023-03-06 15:44:48 +02:00
Tsvetomir Dimitrov 70be7a03d3 Additional tracing in provisioner, vote_selection and dispute-coordinator (#6775)
* Additional tracing in `provisioner`, `vote_selection`

* Add `fetched_onchain_disputes` metric to provisioner

* Some tracelines in dispute-coordinator

TODO: cherry pick this in the initial branch!!!

* Remove spammy logs

* Remove some trace lines
2023-03-06 12:18:30 +00:00
Petr Mensik a934fa5b16 Change node-key for bootnodes (#6772) 2023-03-06 10:21:46 +01:00
Bradley Olson 7e7f72ed74 Change handle_import_statements to FatalResult (#6820)
* Changing dispute db errors to fatal

* fmt
2023-03-04 19:35:04 +01:00
Keith Yeung d29951e2f8 Introduce XCM matcher for writing barriers (#6756)
* Introduce XCM matcher for writing barriers

* Fix compilation

* cargo fmt

* Add more doc comments

* Add mod doc comment

* More doc comments

* Add tests and fix logic

* Remove redundant syntax

* Add more doc comments

* Add more doc comments

* Add more doc comments
2023-03-04 05:37:56 +00:00
eskimor 7d9a0b7cc3 Freeze note on SessionInfo. (#6818)
* Add note about frozen `SessionInfo`.

* Better comment.

---------

Co-authored-by: eskimor <eskimor@no-such-url.com>
2023-03-03 21:50:42 +01:00
Arkadiy Paronyan d98d948bfc Bump parity-db (#6816)
* Bump parity-db

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
2023-03-03 21:12:28 +01:00
Bradley Olson f2bc0f57b6 Removing Outdated References to Misbehavior Arbitration Subsystem (#6814)
* Provisioner guide entry update

* Removing mentions of misbehavior arbitration sub

* fmt
2023-03-03 12:17:17 +01:00
Branislav Kontur 837d7748ad Forgotten re-export for MatchedConvertedConcreteId (#6815) 2023-03-03 12:14:24 +01:00
Robert Hambrock 443cadedbd Companion for substrate#13509: bump API versions of {Beefy,Mmr}Api (#6809)
* version {Beefy,Mmr}Api

* update lockfile for {"substrate"}
2023-03-03 11:56:43 +01:00
Oliver Tale-Yazdi 177bedc160 Migrate to Weight::from_parts (#6794)
* Migrate to from_parts

Have a look at https://github.com/ggwpez/substrate-scripts/blob/master/migrate-from-parts.py

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* Adapt to master

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* update lockfile for {"substrate"}

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: parity-processbot <>
2023-03-03 00:32:30 +01:00
Branislav Kontur c5637bda91 [XCM] Multiple FungiblesAdapters support + WeightTrader::buy_weight more accurate error (#6739)
* Change ParaId->Sibling for `SiblingParachainConvertsVia`

* [XCM] Multiple `FungiblesAdapter`s support + `WeightTrader::buy_weight` more accurate error

* Added test for `ConvertedConcreteId` with `AsPrefixedGeneralIndex`

* Solution 3. - new MatchedConvertedConcreteId with matching capabilities

* Review fixes

* Renamed `AssetNotFound` -> `AssetNotHandled`

---------

Co-authored-by: parity-processbot <>
2023-03-02 16:50:12 +01:00
eskimor 4931eb0a97 Get rid of unnecessary cloning and work. (#6808)
Co-authored-by: eskimor <eskimor@no-such-url.com>
2023-03-02 07:53:32 +01:00
Mara Robin B a1771657f4 changelog: fix migration listing (#6806)
* changelog: fix runtime migration listing

* changelog: fix db migration listing
2023-03-02 00:40:03 +01:00
Dmitry Markin 519adbcf3b Bump crossbeam-utils 0.8.9 -> 0.8.14 (#6800) 2023-03-01 15:33:05 +03:00
Davide Galassi 0b00e6d5b8 [Companion] BEEFY crates renaming (#6799)
* Temporary commit to make the Substrate CI happy

* Revert "Temporary commit to make the Substrate CI happy"

This reverts commit 9eb2fd223c3e36312242d4fda4ebacf3dd732547.

* Align to substrate master

* Update lock

* Adjust some naming according to the new substrate crates
2023-02-28 17:09:43 +01:00
Mara Robin B 63d1641b1e update weights (#6798)
* polkadot: update weights

* westend: update weights

* kusama: update weights

* rococo: update weights
2023-02-28 14:08:21 +00:00
Keith Yeung 56f6b39da8 XCM: Limit the max number of assets weighable in MultiAssets (#6786)
* Limit the max number of assets weighable in MultiAssets

* Apply suggestions from code review

Co-authored-by: Gavin Wood <gavin@parity.io>

* Add tests

* cargo fmt

* Include proof size weight in tests

* Add comments

---------

Co-authored-by: Gavin Wood <gavin@parity.io>
2023-02-28 10:12:12 +01:00
Anton Vilhelm Ásgeirsson 65fdcf3413 Use BTreeSet as the internal type of ParachainsCache (#6795)
* Add tests for ParachainsCache

* Use BTreeSet for ParachainsCache internals

* Use `into_iter()` instead of cloneing storage vals
2023-02-27 17:22:46 +00:00
Davide Galassi 03d8256b6e [Companion] GRANDPA crate renaming (#6776)
* Companion for grandpa crate renaming
* lock update
2023-02-27 17:55:16 +01:00
Mira Ressel f019376cb1 Automatically format ci pipeline specs with prettier (#6783) 2023-02-27 15:34:54 +04:00
Keith Yeung 3df2893bae Ensure max_weight is assigned properly in AllowTopPaidExecutionFrom (#6787) 2023-02-25 16:37:56 +01:00
Bradley Olson 92ee0b7d9f Explicitly Handling ProvisionableData Cases (#6757)
* Initial pass

* fmt

* Lock changes

* Implementers guide edit

* Reasoning changes

* typo

Co-authored-by: Marcin S. <marcin@bytedude.com>

* Revert "Lock changes"

This reverts commit 3131a5245c6349743789270e6d1ad7842dc4c9df.

* Getting rid of cargo.lock changes

* Argumentation update

* fmt

---------

Co-authored-by: Marcin S. <marcin@bytedude.com>
2023-02-24 21:54:14 +01:00
Bastian Köcher 1e291f30f4 Companion for Substrate#12520 (#6730)
* Companion for Substrate#12520

https://github.com/paritytech/substrate/pull/12520

* Fix

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
2023-02-24 12:47:41 +00:00
Oleg Plakida 5e7ade9037 Revert back to bare metal runners for weights generation (#6762)
* Revert back to bare metal runners for weights generation

* new old weights

---------

Co-authored-by: alvicsam <alvicsam@gmail.com>
2023-02-23 11:50:43 +01:00
Louis Merlin e5f65865fe Improve XCM fuzzer (#6190)
* Add improved XCM fuzzer

* Add command for running a single input

* Add installation command

* Fix @m-cat's nit

* Add newline

Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>

* Add info about current directory in fuzzing README

* Update Cargo.lock

---------

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
2023-02-23 08:59:03 +00:00
miss_k 020be2ff1c Corrected weight trader comment (#6752)
* Corrected weight trader comment

* ".git/.scripts/commands/fmt/fmt.sh"

---------

Co-authored-by: command-bot <>
2023-02-22 23:19:37 +01:00
Mara Robin B c5b5276f85 clean up executed migrations (#6763)
* kusama: clean up executed migrations

* polkadot: clean up executed migrations

* rococo: clean up executed migrations

* westend: clean up executed migrations
2023-02-22 17:39:55 +00:00