Commit Graph

1293 Commits

Author SHA1 Message Date
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
dependabot[bot] d4f2b6e92e Bump dyn-clone from 1.0.6 to 1.0.8 (#1450)
Bumps [dyn-clone](https://github.com/dtolnay/dyn-clone) from 1.0.6 to 1.0.8.
- [Release notes](https://github.com/dtolnay/dyn-clone/releases)
- [Commits](https://github.com/dtolnay/dyn-clone/compare/1.0.6...1.0.8)

---
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>
2022-07-16 13:40:24 +02:00
Qinxuan Chen 3175d2fa27 Use genesis_state_version param instead of StateVersion::V0 (#1410)
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
2022-07-14 10:51:37 +02:00
Jegor Sidorenko ba9d9cdf6e Companion to #11398 (#1324)
* Companion to #11398

* Remove buy_item() from AssetOwner

* Remove set_price() as well

* Remove set_price and buy_item from the proxy in Westmint and Statemine

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

Co-authored-by: parity-processbot <>
2022-07-13 13:21:34 +00:00
dependabot[bot] b056dae0fa Bump clap from 3.2.6 to 3.2.8 (#1422)
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.6 to 3.2.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/v3.2.6...v3.2.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>
2022-07-12 22:33:53 +02:00
Squirrel 8f613256be Penpal testing runtime (#1254)
* adapt to common good paras

* fmt

* Updated to leave parachain-template alone

* use norm_id + cargo fmt

* removed comment as we are not touching parachain template

* is_penpal

* updated code to new locations

* changes required to get penpal running

* cargo fmt

* remove warning, rename chain

* Update polkadot-parachain/src/command.rs

* Update polkadot-parachain/src/command.rs

Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com>

* remove now moved functions

* added runtime description

* add missing copyright notices

* more copyright notices.

Co-authored-by: NachoPal <ignacio.palacios.santos@gmail.com>
2022-07-12 12:59:41 +00:00
Xiliang Chen a56dbabbbd Companion for substrate#11786 (#1436)
* bump deps

* companion substrate#11786

* cargo fmt

* update substrate

Co-authored-by: André Silva <andrerfosilva@gmail.com>
2022-07-12 12:58:01 +00:00
Branislav Kontur 3bb82e5126 Typo + some clippy stuff (unnecessary clone/to_string/refs) + fmt (#1437) 2022-07-11 11:05:40 +00:00
Wilfried Kopp e46b59430a cleanup 2022-07-08 09:21:39 +02:00
Wilfried Kopp 8555ca2b60 Add new room to the matrix notifications 2022-07-08 09:21:39 +02:00
dependabot[bot] fc4181b3ff Bump chevdor/srtool-actions from 0.4.0 to 0.5.0
Bumps [chevdor/srtool-actions](https://github.com/chevdor/srtool-actions) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/chevdor/srtool-actions/releases)
- [Commits](https://github.com/chevdor/srtool-actions/compare/v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: chevdor/srtool-actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-08 09:04:14 +02:00
Ignacio Palacios a47caa1ebc Update Readme for integration-tests (#1429)
* Update Readme for integration-tests

* Update parachains/README.md

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

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
2022-07-06 11:10:14 +02:00
Squirrel c764b0b460 standard way to get at the docs (#1430)
* standard way to get at the docs

* Update README.md
2022-07-05 19:15:45 +00:00
Ignacio Palacios b80db21988 Adding integration tests (#1426)
* adding parachains integration tests

* final integration-tests

* Update parachains/integration-tests/statemine/xcm/2_ump.yml

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

* Update parachains/integration-tests/statemine/xcm/1_dmp.yml

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

* Update parachains/integration-tests/statemine/xcm/4_hrmp.yml

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

* Update parachains/integration-tests/statemint/xcm/1_dmp.yml

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

* Update parachains/integration-tests/statemint/xcm/2_ump.yml

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

* Update parachains/integration-tests/statemint/xcm/4_hrmp.yml

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

* Update parachains/integration-tests/statemine/xcm/3_hrmp-open-channels.yml

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

* Update parachains/integration-tests/statemint/xcm/3_hrmp-open-channels.yml

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

* clean up & trailling spaces

* leftovers

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-07-05 12:24:54 +02:00
Alexander Samusev cc8c8347e4 [ci] Send bench results to S3 (#1417)
* [ci] Send bench results to S3

* move publish stage
2022-07-01 11:42:35 +02:00
Chevdor eff2c9e498 Second part of the Docker CI fix (#1420)
* Switch to defautl working-directory

* Fix manual docker CI

* Fix ENV/Context

* Fix both CI workflows
2022-06-30 10:13:07 +00:00
João Paulo Silva de Souza 6962b1b7f5 add release-engineering to CI files' reviewers (#1413) 2022-06-30 08:26:35 +00:00
Chevdor 149f691216 Fix Docker CI (#1418) 2022-06-29 16:03:44 +00:00
bernardo a940d16f7b add wss bootnodes to statemine/t chainspec (#1378)
* add wss bootnodes to statemint chainspec

* add wss bootnodes to statemine chainspec
2022-06-29 11:29:28 -03:00
Chevdor f7490083e8 Fix GHA hash (#1411) 2022-06-27 10:15:13 +00:00
Chevdor 32a9df4bb5 Remove left over runtime sections for client builds (#1401)
fix #1124
2022-06-27 10:00:21 +00:00
dependabot[bot] f4b1f59e46 Bump smallvec from 1.8.0 to 1.8.1 (#1409)
Bumps [smallvec](https://github.com/servo/rust-smallvec) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](https://github.com/servo/rust-smallvec/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: smallvec
  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-06-27 08:39:27 +00:00
Muharem Ismailov 4ae4032055 README: installation instructions (#1403) 2022-06-24 08:31:51 +00:00
Alexander Gryaznov 4bb9b610f4 Companion for substrate#11501 (#1404)
* Companion for substrate#11501

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

Co-authored-by: parity-processbot <>
2022-06-23 12:48:13 +00:00
Squirrel 880496c7cc rename now shared node creation function (#1402) 2022-06-23 11:41:44 +00:00
Sebastian Kunert 0a069ce7f3 Rename help string parachain-collator -> parachain-template-node (#1392) 2022-06-23 11:36:33 +02:00
dependabot[bot] f7e9daee20 Bump clap from 3.2.5 to 3.2.6 (#1400)
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.5 to 3.2.6.
- [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.5...v3.2.6)

---
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-06-22 17:32:01 +00:00
dependabot[bot] 15bff3ce57 Bump quote from 1.0.19 to 1.0.20 (#1399)
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.19 to 1.0.20.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.19...1.0.20)

---
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>
2022-06-22 17:30:41 +00:00