Commit Graph

3877 Commits

Author SHA1 Message Date
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
cheme 94d24de1a0 Remove state migration from westend runtime. (#6737)
* clean state_trie_migration from westend

* update cargo.lock

* Revert "clean state_trie_migration from westend"

This reverts commit b1d55c688e9a8a2fbd155f0a9ddaba9766ad101c.

* cleanup.

* use storage_alias

* Revert "use storage_alias"

This reverts commit 5289745d1592a14db0063d9ee111137473993f41.

* Revert "Revert "use storage_alias""

This reverts commit d4c688acdddf29a09c79a4eef52ab4095128e5b3.

* Force alias.

* magic
2023-02-22 14:21:44 +00:00
Ross Bulat 6bd19ac7f1 polkadot companion #12608 (Pools claim permissions) (#6753)
* update weights functions

* + placeholder weight

* ".git/.scripts/commands/bench/bench.sh" runtime polkadot-dev pallet_nomination_pools

* update weights

* update lockfile for {"substrate"}

---------

Co-authored-by: command-bot <>
2023-02-22 13:05:29 +00:00
Paulo Martins 1ae3c81126 Add Turboflakes bootnodes to Polkadot, Kusama and Westend (#6628) 2023-02-22 13:57:15 +01:00
Koute 1b30ce5a9d Companion for substrate#13284 (#6653)
* Align iterator use to new substrate

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
2023-02-22 08:36:16 +00:00
Daniel Shiposha 2f6e941caf Companion for Substrate #13410: Introduce EnsureOrigin to democracy.propose (#6750)
* feat: set SubmitOrigin in all affected runtimes

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
2023-02-22 00:15:06 +00:00
Michal Kucharczyk 0e59d866f3 BlockId removal: BlockBuilderProvider::new_block_at (#6734)
* `BlockId` removal: `BlockBuilderProvider::new_block_at`

It changes the arguments of `BlockBuilderProvider::new_block_at` from:
`BlockId<Block>` to: `Block::Hash`

* useless import removed

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
2023-02-21 19:26:46 +00:00
Gonçalo Pestana 82b6db41e8 Companion PR for PR#13119 (#6683)
* Companion PR for PR#13119

* restart ci

* update lockfile for {"substrate"}

* Use Master Cargo.lock

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

* cargo update -p sp-io

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

* Use Master Cargo.lock

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

* cargo update -p sp-io

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: parity-processbot <>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2023-02-21 12:56:13 +00:00
Adrian Catangiu 09df3f1ec8 Companion for Substrate#13411: frame/beefy: prune entries in set id session mapping (#6743)
* rococo-runtime: configure pallet_beefy::MaxSetIdSessionEntries

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
2023-02-21 11:30:19 +00:00
Michal Kucharczyk d091a84a07 BlockId removal: refactor of runtime API (#6721)
* BlockId removal: refactor of runtime API

It changes the first argument of all generated runtime API calls from: `BlockId<Block>` to: `Block::Hash`

* fmt

* update lockfile for {"substrate"}

---------

Co-authored-by: parity-processbot <>
2023-02-20 23:44:20 +00:00
Oliver Tale-Yazdi 35a0d69af8 Fix auction bench (#6747)
* Adjust command

* Move imports

* Chain-specific blocktime

* update lockfile for {"substrate"}

* cargo update -p sp-io

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

* Fix bench

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

* Export constants from node service

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

* Use constants in CLI

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: parity-processbot <>
2023-02-20 17:02:07 +00:00
s0me0ne-unkn0wn b13ba77a3b Use PVF code paired with executor params wherever possible (#6742) 2023-02-20 13:41:46 +01:00
s0me0ne-unkn0wn bad4afca36 Retire OldV1SessionInfo (#6744) 2023-02-20 10:30:45 +00:00
Adrian Catangiu d009d13523 Companion for substrate #13121 - BEEFY Equivocations support (#6593)
* runtimes: implement new BeefyApi

Signed-off-by: acatangiu <adrian@parity.io>

* rococo-runtime: add ValidateUnsigned to pallet_beefy

* update lockfile for {"substrate"}

---------

Signed-off-by: acatangiu <adrian@parity.io>
Co-authored-by: parity-processbot <>
2023-02-17 10:28:48 +00:00
Bastian Köcher 5ca430b649 Do not call longest chain by default (#6704)
* Do not call longest chain by default

We always called longest chain by default just for some potential
logging. This was probably some oversight for when this select chain
implementation was introduced.

* Fix tests
2023-02-17 08:55:14 +01:00