Commit Graph

870 Commits

Author SHA1 Message Date
Roman Useinov cd3fcf6d89 [Fix] Some info in the release checklist (#1516)
* [Fix] Some info in the release checklist

* fix the rest of the links

* adding more details

* improve details it

* adding proxy filters to release notes

* remove proxy checks

Co-authored-by: NachoPal <ignacio.palacios.santos@gmail.com>
Co-authored-by: parity-processbot <>
2022-08-10 19:50:14 +02:00
Roman Useinov b0f2816b81 [Fix] flaky node tests (#1534)
* [Fix] flaky node tests

* fix tokio ver

* fix errors/warnings

* fix more errors

* some fixe

* fix err

* fix arg order for the base path to work properly

* comments

* remove extra dependencies and waiting for blocks

* fix errors

* bump sleep
2022-08-10 19:27:09 +02:00
Roman Useinov 530a0aaf0c [benchmarks] pr with weights master (#1522)
* [benchmarks] pr with weights

* fix weights to reflect the current master state

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
2022-08-10 13:10:20 +02:00
Nazar Mokrynskyi 994c8a296b Trivial networking changes for Substrate PR #11940 (#1486)
* Trivial networking changes for Substrate PR https://github.com/paritytech/substrate/pull/11940

* Apply formatting rules

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

Co-authored-by: parity-processbot <>
2022-08-09 23:59:34 +02:00
Roman Useinov ed57c8aca9 [Fix] Benchmark build artifact folder creation (#1518) 2022-08-09 07:15:26 +00:00
Ignacio Palacios 23a7fdd909 Upgrade spec_version to 9230 and bump transaction_version for assets parachains. (#1340) (#1494)
* Transaction version bump + updated spec_version

* Reformatting issue

* Adding missing runtimes

* Upgrading contracts pallet runtime version

* Upgrading Seedling runtime

* Bump polkadot-parachain version

Co-authored-by: Wilfried Kopp <wilfried@parity.io>

Co-authored-by: Hector Bulgarini <hbulgarini@gmail.com>
Co-authored-by: Wilfried Kopp <wilfried@parity.io>
2022-08-08 17:02:50 +02:00
Nikos Kontakis 919b56124f Renaming CLI prunning and keep-blocks flags (#1514)
* Rename keep blocksflag

* Add correct use of BlocksPruning

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

Co-authored-by: parity-processbot <>
2022-08-08 14:22:57 +00:00
dependabot[bot] 29d7b73faa Bump tracing from 0.1.35 to 0.1.36 (#1495)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.35 to 0.1.36.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.35...tracing-0.1.36)

---
updated-dependencies:
- dependency-name: tracing
  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>
2022-08-04 22:24:26 +02:00
dependabot[bot] cefa473aae Bump dyn-clone from 1.0.8 to 1.0.9
Bumps [dyn-clone](https://github.com/dtolnay/dyn-clone) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/dtolnay/dyn-clone/releases)
- [Commits](https://github.com/dtolnay/dyn-clone/compare/1.0.8...1.0.9)

---
updated-dependencies:
- dependency-name: dyn-clone
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 16:15:55 +02:00
dependabot[bot] 4474972a0c Bump async-trait from 0.1.56 to 0.1.57 (#1493)
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.56 to 0.1.57.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.56...0.1.57)

---
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>
2022-08-04 10:56:41 +00:00
dependabot[bot] d428cb6a68 Bump cranelift-codegen from 0.85.1 to 0.85.3 (#1466)
Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime) from 0.85.1 to 0.85.3.
- [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/commits)

---
updated-dependencies:
- dependency-name: cranelift-codegen
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 10:28:35 +00:00
Giles Cope 958414472f and again 2022-08-04 12:26:07 +02:00
Giles Cope 5dae501aa5 There's already one directly below 2022-08-04 12:26:07 +02:00
Giles Cope 66c6c38b12 if not in a subdir... 2022-08-04 12:26:07 +02:00
Giles Cope f8a1ffc6fa another shot 2022-08-04 12:26:07 +02:00
Giles Cope 92f3eb931b broader scope 2022-08-04 12:26:07 +02:00
Giles Cope b0bfe4835b Like polkadot, save context.json as an artifact 2022-08-04 12:26:07 +02:00
Giles Cope e94395dbd2 adapt to subwasm version output format change 2022-08-04 12:26:07 +02:00
Bernhard Schuster fcd628990c chore; don't require default features for cli (#1497)
* don't require default features for an API crate

Let the consumer define by overriding the features for the inner deps as needed.
Cargo feature resolution allows this.

Ref https://github.com/paritytech/polkadot/pull/5792

* Update client/relay-chain-inprocess-interface/Cargo.toml

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2022-08-04 09:46:01 +00:00
girazoki 4d04eebb44 Statemint runtimes to accept sufficient assets as xcm fee payment (#1278)
* point to my branch

* girazoki-add-TakeFirstAssetTrader-to-utility

* Commit lock

* point at custom branch

* add new trader to statemine runtimes

* compiles

* Back to master

* Update last tomls

* Imports up

* remove non-needing imports

* FMT

* log messages properly

* Use TakeRevenue instead of HandleCredit

* Introduce xcm fee handler

* check total supply in tests

* FMT

* fix test

* Start decoupling balance calculation into different traits

* Make traits a bit more generic

* PR suggestions

* add import

* import well

* Place xcmfeesassethandler into parachains common

* fix tests

* config parameters

* Min amount to fee receiver

* Make minimum amount for block author to be at least the ED

* Doc in AssetFeeAsExistentialDepositMultiplier

* saturating sub

* make sure we dont enter twice

* FMT

* fmt again

* adapt tests

* Add doc and struct for weight refund

* Doc

* More doc

* PR suggestions

* store all info related to asset payment as multiasset

* return AssetNotFound instead of TooExpensive

* Use asset transactor to deposit fee

* uninstall from statemint

* R for RUntime and CON for BalanceConverter

* Rework logic to avoid unnecesary match and error

* Rework ED check, also in case of refund

* rework typo

* In case refund makes drop below ED, just refund the difference

* fix test westmint

* clone id

* move test imports to preamble

* move test imports to preamble

* test-utils with builderS

* lock file updated

* remove unused imports

Co-authored-by: Stephen Shelton <steve@brewcraft.org>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: joepetrowski <joe@parity.io>
2022-08-03 16:04:13 +00:00
Alexandru Vasile acc409cd0a Companion for #11939 (#1487)
* Bump jsonrpsee to v0.15.1

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

* Update Cargo.lock

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

* Update cargo.lock

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

* client: Upadte jsonrpsee-core from relay-chain-interface

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

* update substrate & polkadot

* update substrate & polkadot

Co-authored-by: Niklas Adolfsson <niklasadolfsson1@gmail.com>
2022-08-03 15:25:18 +02:00
Ignacio Palacios dcf71da93d Add script to run integration tests (#1431)
* script run integration tests

* Update scripts/parachains_integration_tests.sh

Co-authored-by: Squirrel <gilescope@gmail.com>

* Update scripts/parachains_integration_tests.sh

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>

* Update scripts/parachains_integration_tests.sh

Co-authored-by: Squirrel <gilescope@gmail.com>
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-08-02 16:33:34 +02:00
Muharem Ismailov 1b8dc9facc gitignore dot-underscore (#1488) 2022-08-02 13:12:34 +00:00
dependabot[bot] 78f8827be8 Bump clap from 3.2.15 to 3.2.16 (#1492)
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.15 to 3.2.16.
- [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/v3.2.15...v3.2.16)

---
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>
2022-08-02 13:58:51 +02:00
Nate Armstrong 777e72804c Fix typos in release.md (#1491) 2022-08-02 13:01:50 +02:00
dependabot[bot] 416834d702 Bump serde from 1.0.140 to 1.0.141 (#1490)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.140 to 1.0.141.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.140...v1.0.141)

---
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>
2022-08-02 08:54:19 +00:00
dependabot[bot] 00e3e8ae11 Bump bytes from 1.2.0 to 1.2.1 (#1489)
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/commits)

---
updated-dependencies:
- dependency-name: bytes
  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>
2022-08-01 23:19:46 +02:00
Sebastian Kunert b6a2a38c91 Introduce RPC Worker (#1462)
* Extract json-rpc-client and introduce worker

* Initial rpc worker

* Add error handling

* Use bounded channels for listeners

* Improve naming and clean up

* Use tracing channels

* Improve code readability

* Decrease channel size limit

* Remove unused dependency

* Fix docs

* RPC -> Rpc

* Start worker in initialization method

* Print error in case a distribution channel is full

* Fix docs

* Make `RpcStreamWorker` private

Co-authored-by: Davide Galassi <davxy@datawok.net>

* Use tokio channels and add TODO item

* Remove `Option` from `to_worker_channel`

Co-authored-by: Davide Galassi <davxy@datawok.net>
2022-08-01 12:08:57 +02:00
Sergej Sakac 46eb9797b4 companion for #11796 (#1460)
* companion for #11796

* fix

* ".git/.scripts/bench-bot.sh" pallet statemint assets pallet_uniques

* ".git/.scripts/bench-bot.sh" pallet statemine assets pallet_uniques

* ".git/.scripts/bench-bot.sh" pallet westmint assets pallet_uniques

* fix

* update sp-io

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

Co-authored-by: command-bot <>
2022-07-31 11:23:53 +00:00
dependabot[bot] 007ec5b796 Bump bytes from 1.1.0 to 1.2.0 (#1485)
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: bytes
  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>
2022-07-30 00:00:57 +02:00
ZhiYong e69bca17be Companion for substrate#11690 (#1377)
* Companion for substrate#11690

* Fix

* Fix

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

Co-authored-by: parity-processbot <>
2022-07-29 21:01:54 +02:00
Miguel Hervas 2e46edfa10 Adding TxVersion Check to signed params (#1483) 2022-07-29 18:15:48 +02:00
Mak 1b9c8942cc Integrate auto-updating parachain template on developer-hub (#1479)
* Integrate auto-updating parachain template on developer-hub

* Update .gitlab-ci.yml

Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>

Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
2022-07-29 15:16:12 +03:00
Koute 24c5d6c827 Companion for substrate#11523 (#1390)
* Align to changes in substrate: `sp_io::storage::get` now returns `Bytes`

* Update substrate and polkadot to the newest master

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

Co-authored-by: parity-processbot <>
2022-07-29 09:34:26 +00:00
Amar Singh 9f5d8c333a Add epoch index to RelayStateSproofBuilder (for testing) (#1419)
* insert zero epoch index into relay sproof

* fix
2022-07-29 00:41:23 +02:00
dependabot[bot] ebec202c3a Bump nix from 0.24.1 to 0.24.2 (#1453)
Bumps [nix](https://github.com/nix-rust/nix) from 0.24.1 to 0.24.2.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/v0.24.2/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.24.1...v0.24.2)

---
updated-dependencies:
- dependency-name: nix
  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>
2022-07-28 17:38:07 +02:00
Alexander Samusev c5dc2e3a0d [ci] use nextest for tests (#1477)
* [do not merge] ci: try nextest

* uncomment jobs
2022-07-28 10:18:35 +02:00
Alexander Samusev 53f255deca [ci] Add timeout to benchmark job (#1475) 2022-07-27 15:31:35 +02:00
dependabot[bot] d249ae2cff Bump proc-macro2 from 1.0.40 to 1.0.42 (#1474)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.40 to 1.0.42.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.40...1.0.42)

---
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>
2022-07-27 15:30:31 +02:00
dependabot[bot] f65bd64c54 Bump clap from 3.2.13 to 3.2.15 (#1468)
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.13 to 3.2.15.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v3.2.15/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.13...v3.2.15)

---
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>
2022-07-27 12:22:11 +00:00
dependabot[bot] 5eb49e8068 Bump serde from 1.0.139 to 1.0.140 (#1457)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.139 to 1.0.140.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.139...v1.0.140)

---
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>
2022-07-25 07:17:03 +00:00
Andronik b1c8d95b20 companion for https://github.com/paritytech/polkadot/pull/5770 (#1442)
* companion for https://github.com/paritytech/polkadot/pull/5770

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

Co-authored-by: parity-processbot <>
2022-07-23 00:03:07 +00:00
Dmitry Markin d7e4f65761 Cleanup light client leftovers (#1456)
* Cleanup light client leftovers

* Readme: make it clear that Collator is full node of parachain

* cargo update -p sp-io

* cargo update -p polkadot-primitives
2022-07-21 13:59:07 +03:00
dependabot[bot] 17ef4100b6 Bump clap from 3.2.12 to 3.2.13 (#1455)
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.12 to 3.2.13.
- [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/v3.2.12...v3.2.13)

---
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>
2022-07-20 11:44:19 +00:00
Sebastian Kunert 79d663b4e4 Companion for polkadot#5782 (#1447)
* Make HeadSupportsParachain async

* Update Cargo.lock

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

Co-authored-by: parity-processbot <>
2022-07-20 11:03:02 +00:00
Oliver Tale-Yazdi f1b02db6e2 Co #11456: Match statement fallthrough for benchmark commands (#1350)
* Add default error for unsupported benchmarking command

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

* Same for the parachain-template...

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>

* cargo update -p polkadot-primitives

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2022-07-19 12:53:59 +00:00
dependabot[bot] 6bd0feeb42 Bump serde from 1.0.137 to 1.0.139 (#1439)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.137 to 1.0.139.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.137...v1.0.139)

---
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>
2022-07-16 23:13:09 +02:00
dependabot[bot] f21fdaf0aa Bump criterion from 0.3.5 to 0.3.6 (#1434)
Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.3.5 to 0.3.6.
- [Release notes](https://github.com/bheisler/criterion.rs/releases)
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.3.5...0.3.6)

---
updated-dependencies:
- dependency-name: criterion
  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>
2022-07-16 13:17:37 +00:00
dependabot[bot] cd200ad223 Bump smallvec from 1.8.1 to 1.9.0 (#1421)
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.8.1...v1.9.0)

---
updated-dependencies:
- dependency-name: smallvec
  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>
2022-07-16 15:12:16 +02:00
dependabot[bot] f931a3eb56 Bump clap from 3.2.8 to 3.2.12 (#1448)
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.8 to 3.2.12.
- [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/v3.2.8...v3.2.12)

---
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>
2022-07-16 12:38:06 +00:00