Commit Graph

1299 Commits

Author SHA1 Message Date
Vsevolod Stakhov d5db422533 Revert #2304 (#2349)
* Revert "Update metered-channel"

This reverts commit 908061976567357c21504c09659f73b295c21f03.

* Update Polkadot

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

* Update Substrate

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

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2023-03-20 17:22:42 +00:00
Gavin Wood c5fc6414c1 Deprecate Currency: Companion for #12951 (#2334)
* Fix APIs

* Reflect API changes

* Everything builds

* Fixes

* Fixes

* Update Cargo.toml

* Fixes

* Fixes

* No networks use freezes/holds

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

* Fix test

ED cannot be zero anymore.

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

* Fix test

---------

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-03-20 16:52:21 +00:00
Mira Ressel 1952aa544a Bump ci-linux image for rust 1.68 2023-03-20 16:36:23 +01:00
Sebastian Kunert 2a9066cbe0 Always pass port to jsonrpsee WebSocket client (#2339)
* Always pass port to jsonrpsee

* Remove useless host check

* Do not silently drop
2023-03-20 14:05:06 +00:00
Javier Viola 782ac16dcb bump zombienet to v1.3.40 (#2348) 2023-03-20 10:32:13 -03:00
Bastian Köcher 5aeff50e77 Improve build times by disabling wasm-builder in no_std (#2308)
There is no need to compile wasm-builder in `no_std` as we skip the compilation of the crate any
way. So, we can also directly disable wasm-builder as dependency in `no_std` to improve build times.
2023-03-20 09:53:09 +01:00
dependabot[bot] 7d722ec814 Bump toml from 0.7.2 to 0.7.3 (#2340)
Bumps [toml](https://github.com/toml-rs/toml) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/toml-rs/toml/releases)
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.2...toml-v0.7.3)

---
updated-dependencies:
- dependency-name: toml
  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-19 23:35:25 +01:00
dependabot[bot] 6d3aaa072d Bump serde from 1.0.152 to 1.0.156 (#2329)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.152 to 1.0.156.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.152...v1.0.156)

---
updated-dependencies:
- dependency-name: serde
  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-19 10:17:30 +00:00
Oliver Tale-Yazdi 91b3512427 Parachains should charge for proof size weight (#2326)
* Generalize trait requirement

Use the trait directly instead of something that will have a blanket
implementation for it.

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

* Charge for proof size weight

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

* Fix doc comments

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>

* Fix docs

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

* Update lock file

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

* Fix imports

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

* Docs

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

* Fix imports

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: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
2023-03-17 16:25:13 +00:00
Bastian Köcher 1782170e08 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-17 13:45:01 +00:00
Davide Galassi 6865251d9c [Companion #13615] Keystore overhaul (#2336)
* Align to Substrate keystore overhaul

* 'sync_keystore' renamed to 'keystore'

* Further fixes after removal of async keystore trait

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

---------

Co-authored-by: parity-processbot <>
2023-03-17 12:50:38 +00:00
dependabot[bot] ea1b364b09 Bump quote from 1.0.23 to 1.0.26 (#2331)
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.23 to 1.0.26.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.23...1.0.26)

---
updated-dependencies:
- dependency-name: quote
  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-16 16:51:28 +01:00
Alexandru Vasile 710fee562c Companion for #13287 (#2155)
* parachains: Adjust `sp_api::Metadata` to the new API

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

* parachains: Implement new Metadata trait for bridge/polkadot

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

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

---------

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
Co-authored-by: parity-processbot <>
2023-03-15 19:22:04 +00:00
Mira Ressel d80db5aba9 timestamp ci job logs (#2327) 2023-03-15 19:21:04 +01:00
s0me0ne-unkn0wn 4680edeb97 Release parachain host API v4 (#2325)
* Release parachain host API v4

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

---------

Co-authored-by: parity-processbot <>
2023-03-15 17:46:10 +00:00
dependabot[bot] 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