Commit Graph

1293 Commits

Author SHA1 Message Date
Egor_P 564aca650e Update polkadot dependencies (#2389) (#2390) v0.9.400-rc4 2023-03-28 08:57:08 +00:00
Egor_P 25a9e8d422 [Backport] weights from runtimes release to client (#2376)
* XCM V2 weight template (#2344) (#2372)

* Update XCM weight template



* Remove copyright year from file header

Legally not needed, we already remove them from Substrate.



* ".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::generic

* Revert "".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible"

This reverts commit c4ac1a88e2607309b726d6934273da4e5a54ca9f.



* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::fungible

* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic

* ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::generic

* Update weights

Done directly on bm2 to bypass the bot.



---------


Co-authored-by: command-bot <>

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

* [benchmarks] pr with weights (#2373)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] pr with weights (#2374)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] pr with weights (#2375)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

---------

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: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
v0.9.400-rc3
2023-03-24 10:45:21 +01:00
Egor_P a20801bcba bump transaction versions (#2364) (#2365) v0.9.400-rc2 2023-03-22 17:16:33 +01:00
EgorPopelyaev 0a32a95230 Bump spec_version to 9400 parachains-v9400-rc1 v0.9.400-rc1 2023-03-22 15:08:17 +01:00
EgorPopelyaev b8182ac5cd Bump crate versions 2023-03-22 15:08:14 +01:00
EgorPopelyaev c17156acfc Update substrate dependencies 2023-03-22 15:07:20 +01:00
EgorPopelyaev 261e4397a0 Update polkadot dependencies 2023-03-22 15:07:14 +01:00
Jegor Sidorenko 4c067fe99f NFTs 2.0 on Statemine (#2314)
* Add nfts pallet to statemine

* Add missing trait

* Add nfts pallet to SafeCallFilter

* Re-use uniques deposits
2023-03-21 13:01:08 +01:00
Bastian Köcher 71b6d4a0fe dmp-queue: Store messages if already processed more than the maximum (#2343)
* dmp-queue: Store messages if already processed more than the maximum

* Put new event at the end
2023-03-20 11:10:55 +01:00
dependabot[bot] 5e23bb7579 Bump clap from 4.1.6 to 4.1.8 (#2272)
Bumps [clap](https://github.com/clap-rs/clap) from 4.1.6 to 4.1.8.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v4.1.6...v4.1.8)

---
updated-dependencies:
- dependency-name: clap
  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 15:16:39 +00:00
Branislav Kontur 0c107ab956 Enabled polkadot-parachain build for runtime-benchmarks, e.g.: (#2324)
`cargo build --locked --profile=production -p polkadot-parachain-bin --features runtime-benchmarks`
2023-03-15 14:21:04 +00:00
dependabot[bot] d640f134d9 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] bc2c4750fe Bump async-trait from 0.1.64 to 0.1.66 (#2318)
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.64 to 0.1.66.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.64...0.1.66)

---
updated-dependencies:
- dependency-name: async-trait
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 11:54:48 +01:00
Sebastian Kunert 4036124ef6 ReadMe followup for #2313 (#2317)
* Readme again

* relaychain -> relay chain
2023-03-15 09:33:42 +01:00
Bastian Köcher 66887505e6 Fix runtime api import path (#2319)
This syncs the latest changes in Substrate and fixes the import path of the runtime api.
2023-03-14 23:09:33 +00:00
Artyom Bakhtin d38c02dcd7 Update Westend collectives chainspec (#2311)
Signed-off-by: bakhtin <a@bakhtin.net>
2023-03-14 19:28:57 +00:00
Sebastian Kunert 7e799e7387 README: Document usage of RPC node (#2313)
* Update readme

* Improve

* Apply suggestions from code review

Co-authored-by: Koute <koute@users.noreply.github.com>

* Quote urls

* Apply suggestions from code review

Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>

---------

Co-authored-by: Koute <koute@users.noreply.github.com>
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
2023-03-14 14:56:32 +00:00
Aaro Altonen 14b9db56fd 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
Vsevolod Stakhov 2c3cd02703 Update orchestra and metered-channel (#2304)
* Update metered-channel

* update lockfile for {"substrate", "polkadot"}

---------

Co-authored-by: parity-processbot <>
2023-03-14 10:13:27 +00:00
Squirrel de112ca8ff Backport: Brigehub: Add in force upgrade xcm version (into master) (#2289)
* Brigehub: Add in force upgrade xcm version.

(Same as assets and collectives)

* [Fix] Allow force_xcm_version call for assets parachains (#2276)

* add force_xcm_version to safe calls (#2284)

* Removing duplication

---------

Co-authored-by: Roman Useinov <roman.useinov@gmail.com>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
2023-03-14 09:34:56 +00:00
Egor_P b34b4287db [Backport] version bumps from 9380 (#2309)
* Bump crate versions

* bump transaction_version (#2191)
2023-03-14 09:34:20 +00:00
dependabot[bot] bbb2c6cb25 Bump proc-macro2 from 1.0.50 to 1.0.52 (#2312)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.50 to 1.0.52.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.50...1.0.52)

---
updated-dependencies:
- dependency-name: proc-macro2
  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-13 22:09:13 +00:00
Vivek Pandya bf223aa340 Remove use of trait Store (#2286)
* Remove use of Store trait from xcmp-queue pallet

* Remove Store trait usage from dmp-queue pallet

* Remove Store trait usage from parachain-system pallet

* Remove use of Store trait from cumulus

* Run cargo fmt
2023-03-13 22:30:20 +01:00
Jegor Sidorenko 836f13e24c Companion for #13482 (#2303)
* Add migration

* Remove parentheses

* Return back + add a comma

* update lockfile for {"substrate", "polkadot"}

---------

Co-authored-by: parity-processbot <>
2023-03-13 09:05:57 +00:00
tugy 1f3a369828 add amforc bootnodes (#2246) 2023-03-11 06:03:27 +00:00
Sebastian Kunert 579dd3bb2e Cleanup dependencies + dead code (#2302) 2023-03-10 17:09:38 +01:00
Keith Yeung 73661b7dea XCM: Use matcher API in DenyReserveAssetTransferToRelay (#2290)
* Use matcher API in DenyReserveAssetTransferToRelay

* Fixes

* Fixes

* Fixes

* cargo fmt
2023-03-10 13:44:43 +00:00
Wilfried Kopp ed40aaeb48 Bump all runtimes to 9381 2023-03-10 10:42:19 +01:00
dependabot[bot] 0e13e0c55b Bump wasmtime from 6.0.0 to 6.0.1 (#2296)
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v6.0.0...v6.0.1)

---
updated-dependencies:
- dependency-name: wasmtime
  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-09 13:56:41 +00:00
Bastian Köcher 52d1067db6 relay-chain-interface: Do not depend on polkadot-service (#2287) 2023-03-07 15:17:05 +01:00
André Silva be638f814e Companion for paritytech/substrate#13551 (#2278)
* Companion for paritytech/substrate#13551

* update lockfile for {"substrate", "polkadot"}

---------

Co-authored-by: parity-processbot <>
2023-03-07 11:57:49 +00:00
Koute fa4789583e Bump blake2b_simd to 1.0.1 (#2282) 2023-03-07 08:55:57 +00:00
Aaro Altonen c1f44c2c24 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 772d000d5e 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
Web3 Philosopher 349e7e849d introduce RelaychainStateProvider to parachain-system (#2268)
* introduce RelaychainStateProvider to parachain-system

* bring back RelaychainBlockNumberProvider, adds some docs and derives

* allow deprecated

* Apply suggestions from code review

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Bastian Köcher <git@kchr.de>

* deprecation message

---------

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Bastian Köcher <git@kchr.de>
2023-03-05 22:43:15 +01:00
Javier Viola bd7dd532da bump zombienet version v1.3.37 (#2260)
* update zombienet version

* remove 'is up' assertions

* bump zombienet version
2023-03-03 18:35:03 -03:00
dependabot[bot] 8eafcf53d2 Bump dyn-clone from 1.0.10 to 1.0.11 (#2262)
Bumps [dyn-clone](https://github.com/dtolnay/dyn-clone) from 1.0.10 to 1.0.11.
- [Release notes](https://github.com/dtolnay/dyn-clone/releases)
- [Commits](https://github.com/dtolnay/dyn-clone/compare/1.0.10...1.0.11)

---
updated-dependencies:
- dependency-name: dyn-clone
  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-03 21:46:52 +01:00
Branislav Kontur 009dd7e181 Bump polkadot (#2269)
* Bump polkadot

* Bump substrate
2023-03-03 13:30:44 +00:00
dependabot[bot] 75146743e0 Bump tempfile from 3.3.0 to 3.4.0 (#2247)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/commits)

---
updated-dependencies:
- dependency-name: tempfile
  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-03 12:58:47 +00:00
dependabot[bot] cc8310468d Bump syn from 1.0.107 to 1.0.109 (#2249)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.107 to 1.0.109.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.107...1.0.109)

---
updated-dependencies:
- dependency-name: syn
  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-03 12:58:02 +00:00
Oliver Tale-Yazdi 558502345f Migrate to Weight::from_parts (#2245)
* Migrate to from_parts

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

* Fix remaining files

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

* cargo update -p polkadot-primitives

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 polkadot-primitives

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>
2023-03-03 12:47:23 +00:00
Branislav Kontur 1de575dc25 Update polkadot with one more commit: from 54bcee1d5615f53781d5172fcce6700dbf35dad2 -> 3dd8331414c92f5d01d6a470eae43049099d7aa9 (#2266)
* Update polkadot with one commit: from 54bcee1d5615f53781d5172fcce6700dbf35dad2 -> 3dd8331414c92f5d01d6a470eae43049099d7aa9

* Fix test

* Fix test better

* typo
2023-03-03 10:02:49 +01:00
joe petrowski 3249186fe6 Add Version Checks on Para Upgrade (#2261)
* add version checks on para ugprade

* Apply suggestions from code review

Co-authored-by: Bastian Köcher <git@kchr.de>

* remove unneeded imports and errors

* fix test error path

---------

Co-authored-by: Bastian Köcher <git@kchr.de>
2023-03-02 15:48:14 +00:00
Jegor Sidorenko 58547085e7 Companion for #13352 (#2180)
* Assets balances

* Update docs

* AssetsApi with MultiLocation as preparation for multi pallet_assets instances (#2187)

* AssetsApi with MultiLocation for Westmint + assets-common

* AssetsApi with MultiLocation for Statemine/t

* typo

* typo for check-docs job

* WIP: AssetsApi return MultiAsset instead of (MultiLocation, Balance)

* WIP: assets_api + conversion refactor

* WIP: assets_api + conversion refactor

* Finished asset runtimes

* Refactor AssetsApi to FungiblesApi

* Refactor

* Fix check-rust-docs

* Removed todo

* Fix check-rust-doc

* Update parachains/runtimes/assets/common/Cargo.toml

Co-authored-by: Bastian Köcher <git@kchr.de>

* update lockfile for {"substrate", "polkadot"}

---------

Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Co-authored-by: parity-processbot <>
Co-authored-by: Bastian Köcher <git@kchr.de>
2023-03-02 14:37:18 +00:00
Sergej Sakac 6bbc039494 Companion for #13486 (#2253)
* Companion for #13486

* fix

* Update Substrate & Polkadot

---------

Co-authored-by: Bastian Köcher <info@kchr.de>
2023-03-02 11:28:27 +00:00
dependabot[bot] 2d7728de20 Bump proc-macro-crate from 1.3.0 to 1.3.1 (#2248)
Bumps [proc-macro-crate](https://github.com/bkchr/proc-macro-crate) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/bkchr/proc-macro-crate/releases)
- [Commits](https://github.com/bkchr/proc-macro-crate/compare/v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: proc-macro-crate
  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-01 13:06:33 +01:00
Kutsal Kaan Bilgin edca70fcfd Add Helikon boot nodes for Bridge Hub Kusama, Collectives Polkadot, Collectives . Westend, Statemine, Statemint and Westmint. (#2250) 2023-03-01 06:17:47 +00:00
Mira Ressel 590387a01c Automatically format ci pipeline specs with prettier (#2229) 2023-02-27 16:09:58 +04:00
Egor_P 0ce339be67 Tests + backport fix for teleport_assets (ReceiveTeleportedAsset) (#2235) (#2238)
* Wwstmint test for ReceiveTeleportedAsset

* Missing fix for `weigh_multi_assets`

* Added tests for statemine/statemint

* [Enhancement] Use XCM V3 for initiate_teleport weight calc (#2102)

* [Enhancement] Use XCM V3 for initiate_teleport weight calc

* deref

* replicate in all the runtimes

* fmt

* better handling for AllOf

* fmt

* small type fix

* replicate the fix for all runtimes

---------

Co-authored-by: parity-processbot <>

* removed `frame_support::sp_tracing::try_init_simple();`

* Review fixes

* Removed `as u64`

---------

Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Co-authored-by: Roman Useinov <roman.useinov@gmail.com>
2023-02-27 11:28:40 +00:00
Milos Kriz d3271da4fc Add gatotech bootnodes to system chains (#2237)
* add gatotech bootnode to Polkadot's Statemint

* add gatotech bootnode to Polkadot's Collectives

* add gatotech bootnode to Kusama's Statemine

* add gatotech bootnode to Kusama's Bridge Hub

* add gatotech bootnode to Westend's Westmint

* add gatotech bootnode to Westend's Collectives
2023-02-27 12:13:59 +01:00