Commit Graph

757 Commits

Author SHA1 Message Date
Bastian Köcher 2ddfe5edc4 Ensure relay chain block number strictly increases (#1280)
* Ensure relay chain block number strictly increases

This is a safeguard for when async backing is enabled on the relay chain and multiple parachain
blocks per relay chain block are legal. We will need to later change this to support then multiple
parachain blocks per relay chain block.

* Make the check configurable

* Fix compilation

* Update pallets/parachain-system/src/lib.rs

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>

* Update pallets/parachain-system/src/lib.rs

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>

* Fix test

Co-authored-by: André Silva <123550+andresilva@users.noreply.github.com>
2022-06-05 09:21:03 -05:00
dependabot[bot] e6781f0841 Bump async-trait from 0.1.53 to 0.1.54 (#1328)
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.53 to 0.1.54.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.53...0.1.54)

---
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-06-05 13:00:38 +02:00
dependabot[bot] 694cbd0af6 Bump syn from 1.0.95 to 1.0.96 (#1329)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.95 to 1.0.96.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.95...1.0.96)

---
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>
2022-06-05 10:15:21 +00:00
Alexander Samusev 059d992e03 [ci] Add build docker test-parachain for zombienet (#1327)
* [ci] Add build docker test-parachain for zombienet

* debug ci

* disable cancel pipeline

* fix wrong rename

* enable jobs

* uncomment needs

* fixes
2022-06-02 19:20:22 +02:00
Chevdor 51e31c9004 Run the release branch check on the cumulus code releases as well (#1326) 2022-06-02 13:53:38 +02:00
Chevdor de2727d93b Fix problematic char (#1323) 2022-06-01 22:49:12 +02:00
Alexander Samusev 2e514ad005 Publish polkadot-parachain docker images on PRs (#1311)
* [WIP] Dockerize polkadot-parachain

* fix build job

* disable test job for debug

* disable all tests for debug

* add publish docker

* fix docker publish

* uncomment tests; add dag

* fix docker naming

* add DAG to build job

* small fixes

* combine test and build

* fix typo

* divide test and build back

* Update .gitlab-ci.yml

Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>

* rename docker image

* add needs publish-s3

* remove collect artifacts from test

Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
2022-06-01 15:07:19 +02:00
Chevdor 5d53e5293f Add release branch checks (#1319) 2022-06-01 14:23:00 +02:00
joe petrowski e3a2a10e45 Statemint Should Not Recognise DOT Reserves (#1318)
* recognise no reserves

* adjust should_execute

* docs and pass should_execute

* typo
2022-06-01 11:11:31 +00:00
Squirrel 39f79659a8 Fixup benches after dir re-org (#1300)
* Fixup after dir re-org

* Update scripts/benchmarks-ci.sh

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

* Update scripts/benchmarks-ci.sh

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

* Update scripts/benchmarks-ci.sh

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

* fix typo

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-06-01 07:40:03 +00:00
dependabot[bot] 3d5cb7e46c Bump parking_lot from 0.12.0 to 0.12.1 (#1322)
Bumps [parking_lot](https://github.com/Amanieu/parking_lot) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/Amanieu/parking_lot/releases)
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.12.0...0.12.1)

---
updated-dependencies:
- dependency-name: parking_lot
  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-05-31 23:16:54 +02:00
Gavin Wood ba258329c8 Companion for #11124 (#1316)
* Fixes

* Bump

* Formatting

* Bump

* Bump
2022-05-31 18:50:02 +01:00
Squirrel f157bf7adb Add rockmine json (#1290) 2022-05-31 10:06:42 +00:00
Bastian Köcher aaa7b59c6a Ensure we send the correct polkadot node version to telemetry (#1307)
This is basically a hack, but with the current way we initialize the node this is the easiest
solution to ensure we send the correct version etc.
2022-05-30 19:50:00 +02:00
Gavin Wood 02d9eb0883 Companion to Substrate #11490 (#1305)
* Fix warnings

* Bump

* Fix build

* Fix the build

* Fixes

* Formatting

Co-authored-by: Bastian Köcher <info@kchr.de>
2022-05-30 19:47:28 +02:00
Xiliang Chen 9349f0ffaa use RuntimeDebug (#1306) 2022-05-30 12:11:21 +02:00
Egor_P 27bd0755ed bringing back repo checkout and adding a temp dir to avoid name duplication between binary and repo dir (#1299)
* bringing back repo checkout and adding a temp dir to avoid name duplication between binary and repo dir

* added hash to the action

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

* adjusted extrinsic ordering action

* addressed comments from PR

* addressed comments from PR

* variables reoredering

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-05-30 08:47:25 +00:00
Squirrel 586ba3b26b transfer ownership of uniques looks cheaper. (#1302)
batch all now looking a bit expensive compared to batch. no big changes.
2022-05-27 10:49:55 +00:00
Sergejs Kostjucenko 37db8aec2d change ci rule to run benchmarks (#1301) 2022-05-26 16:06:48 +03:00
Alexander Theißen bcc7ccb594 contracts: Update bootnodes (#1294) 2022-05-26 10:57:40 +00:00
Egor_P 9e6d216e26 deleted unnecessary repo checkout to fix fetch binary step (#1296)
* deleted unnecessary repo checkout to fix fetch binary step

* Update .github/workflows/extrinsic-ordering-check-from-bin.yml

Co-authored-by: Mara Robin B. <mara@broda.me>

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
Co-authored-by: Mara Robin B. <mara@broda.me>
2022-05-25 14:46:37 +00:00
Squirrel 545dfe327d sudo was removed but we were still pulling in the crate. (#1289) 2022-05-24 12:13:31 +00:00
joe petrowski 97a97965b6 Runtime Documentation (#1282)
* add docs to parachain runtimes

* update and add top readme

* clarify docs

* review plus licenses

* Update parachains/README.md

* Update parachains/runtimes/assets/README.md

Co-authored-by: Bernhard Schuster <bernhard@ahoi.io>

* Update parachains/runtimes/assets/README.md

Co-authored-by: Bernhard Schuster <bernhard@ahoi.io>

Co-authored-by: Bernhard Schuster <bernhard@ahoi.io>
2022-05-24 12:58:39 +02:00
Chevdor 86e777d646 Node bump to v0.9.220 (#1284)
* Node bump to v0.9.220

* Runtime version bump to 922 (#1283)

* Runtime version bump to 922

* Switch to 9220

* Update cargo.lock
2022-05-23 14:03:39 +00:00
João Paulo Silva de Souza c92fb61e44 use API for pr-custom-review (#1279) 2022-05-23 15:14:35 +02:00
Chevdor c2abd7bde5 Runtime version bump to 922 (#1283)
* Runtime version bump to 922

* Switch to 9220
2022-05-23 14:37:20 +02:00
Squirrel c7ef5f6a6b Use named events in cumulus pallets (#1260)
* Use named events

* For now standardise on message_id

* cargo fmt

* reverting xcm changes

* remove superfluous comments

* renaming

* updating benches
2022-05-23 08:23:27 +00:00
Qinxuan Chen 12221cb534 Companion for polkadot#5569 (#1281)
* Companion for polkadot#5569

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* update lockfile for {"polkadot"}

Co-authored-by: parity-processbot <>
2022-05-21 09:14:02 +00:00
dependabot[bot] 5db6491add Bump actions/upload-artifact from 2 to 3 (#1271)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 16:20:52 +02:00
dependabot[bot] 136127b799 Bump docker/login-action from 1 to 2 (#1272)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 16:11:37 +03:00
dependabot[bot] ac9ef74463 Bump actions/download-artifact from 2 to 3 (#1273)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 14:52:54 +02:00
dependabot[bot] 6c020492f3 Bump actions/cache from 2 to 3 (#1274)
Bumps [actions/cache](https://github.com/actions/cache) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20 15:49:08 +03:00
Squirrel bc0c98884f dir restructure to support more CGP (#1266)
* rerame res to chain-specs

* split polkadot-parachains dir

* rename dir parachains-common to common

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Wilfried Kopp <wilfried@parity.io>
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-05-20 13:43:04 +01:00
Shawn Tabrizi 9d88e462f0 Fix Cumulus Compile (into_account_truncating) (#1277)
* fix cumulus compile

* Update Cargo.lock
2022-05-19 19:38:57 +00:00
Sebastian Kunert b32764ff99 Create binary for cumulus testing node #1128 (#1158)
* Create binary for cumulus testing node

* Fix call to wrong method

* Fix iterator bug

* Add real networking to polkadot node

* Allow using of file chain specs

* Implement export of wasm blob and genesis state

* Add parachain id to test service export

* Remove debug logs

* Fix main.rs

* Do not use cli from polkadot-collator

* Add tracing dependency

* Improve cli structure

* Use struct instead of enum for export commands

* Add missing license header

* Fix benchmark

* add build-spec subcommand (#19)

* add build-spec subcommand

* reorder args

* Fix formatting

* Add zombienet test (#26)

* add migrated tests

* rename test files

* uncomment args and remove extra collator node

* Fix indentation (#27)

* add migrated tests

* rename test files

* uncomment args and remove extra collator node

* fix identation

* Review comments

* Remove unwanted version changes

Co-authored-by: Sebastian Kunert <skunert@Sebastians-MacBook-Pro.fritz.box>
Co-authored-by: Javier Viola <pepoviola@gmail.com>
2022-05-18 16:41:48 +02:00
Sergejs Kostjucenko b71820047d add GHA checks to dependabot (#1270)
* add GHA checks to dependabot

* Update .github/dependabot.yml

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

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-05-18 16:09:41 +02:00
Jegor Sidorenko 0c3a9d0724 Companion to #11441 (Uniques Max Supply) (#1267)
* Companion to #11441

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
2022-05-18 11:59:36 +00:00
Michael Müller a03c4c82d6 Rename canvas to contracts (#1265)
* Update SVG

* Rename `canvas-kusama` folder `contracts-rococo`

* Search-Replace `canvas-kusama` with `contracts-rococo`

* Search-Replace `canvas_kusama` with `contracts_rococo`

* Search-Replace `canvas_rococo` with `contracts_rococo`

* Rename `canvas-rococo.json` to `contracts-rococo.json`

* Rename `CanvasKusamaChainSpec` to `ContractsRococoChainSpec`

* Migrate chain specs and configurations to `contracts-rococo`

* Adapt readme

* Improve directory structure

* Remove last occurrences of `canvas`

* Apply `cargo fmt`

* Update README.md

Co-authored-by: Alexander Theißen <alex.theissen@me.com>

* Fix funny indentation

* Fix wasm path renaming

Co-authored-by: Alexander Theißen <alex.theissen@me.com>
Co-authored-by: Wilfried Kopp <wilfried@parity.io>
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-05-18 09:56:34 +00:00
Alexander Theißen 41900039fc Companion for bounded contracts storage (#1261)
* Companion for bounded contracts storage

* Add missing import

* update lockfile for {"substrate"}

* bump polkadot

Co-authored-by: parity-processbot <>
2022-05-18 08:48:31 +00:00
dependabot[bot] 15ce82c7cc Bump proc-macro2 from 1.0.38 to 1.0.39 (#1268)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.38 to 1.0.39.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.38...1.0.39)

---
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-05-18 08:56:25 +02:00
Shawn Tabrizi 6ceca1d373 Companion for Substrate #10719 (Into Account Truncating) (#1262)
* into account truncating

* more truncating

* Update Cargo.lock
2022-05-17 22:29:38 +00:00
dependabot[bot] 9b15f17391 Bump jsonrpsee from 0.13.0 to 0.13.1 (#1263)
Bumps [jsonrpsee](https://github.com/paritytech/jsonrpsee) from 0.13.0 to 0.13.1.
- [Release notes](https://github.com/paritytech/jsonrpsee/releases)
- [Changelog](https://github.com/paritytech/jsonrpsee/blob/master/CHANGELOG.md)
- [Commits](https://github.com/paritytech/jsonrpsee/compare/v0.13.0...v0.13.1)

---
updated-dependencies:
- dependency-name: jsonrpsee
  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-05-17 22:14:05 +02:00
Shawn Tabrizi fd13ef94ba Companion for Polkadot #5536 (Remove Duplicate Traits) (#1264)
* change deps

* update lockfile for {"polkadot"}

Co-authored-by: parity-processbot <>
2022-05-17 07:12:13 +00:00
Shawn Tabrizi d14687b2ae Companion to #11389 (Uniques Rename) (#1256)
* rename

* weight rename

* update lockfile for {"substrate"}

* cargo update -p xcm

Co-authored-by: parity-processbot <>
2022-05-16 17:53:14 +00:00
dependabot[bot] fcb06df4d2 Bump jsonrpsee-core from 0.13.0 to 0.13.1 (#1259)
Bumps jsonrpsee-core from 0.13.0 to 0.13.1.

---
updated-dependencies:
- dependency-name: jsonrpsee-core
  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-05-16 11:18:35 +02:00
dependabot[bot] 6782343cdb Bump syn from 1.0.93 to 1.0.94 (#1258)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.93 to 1.0.94.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.93...1.0.94)

---
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>
2022-05-13 23:25:43 +02:00
Squirrel 1474308bbb rename polkadot-collator to polkadot-parachain (#1241)
* rename polkadot-collator to polkadot-parachain

Not every node has to be a collator.

* Update README.md

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

* rename docker file

* Update .github/workflows/extrinsic-ordering-check-from-bin.yml

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

* Versioning scheme that tracks polkadot relay chain

but allows for patch releases by having a 0 at the end.
(`-patch1` patch naming schemes were discussed but they
were judged to cause downstream packagers pain.)

* update name

* update lock file

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-05-13 13:02:52 +00:00
Niklas Adolfsson d8ba3cf547 companion 11395 (#1253)
* companion for 11395

* companion for 11395

* update polkadot
2022-05-11 15:02:22 +02:00
dependabot[bot] 10c9255a93 Bump syn from 1.0.92 to 1.0.93 (#1251)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.92 to 1.0.93.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.92...1.0.93)

---
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>
2022-05-11 09:16:47 +00:00
dependabot[bot] e6a1bbd14c Bump clap from 3.1.17 to 3.1.18 (#1252)
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.17 to 3.1.18.
- [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.1.17...v3.1.18)

---
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-05-11 10:39:42 +02:00