Commit Graph

657 Commits

Author SHA1 Message Date
Tsvetomir Dimitrov ee7d4e4e2a Handle relocation of ParachainHost in Polkadot (#1108)
* Handle relocation of `ParachainHost` in Polkadot

`ParachainHost` is no longer versioned and is in `runtime_api` module.

This is a companion for
https://github.com/paritytech/polkadot/pull/5048

* Update dependencies
2022-04-12 16:31:33 +00:00
Denis Pisarev 0c17c7e5df CI: rename ambiguous jobs (#1168) 2022-04-12 15:52:56 +02:00
Alexander Samusev a33f07a1ce Fix rules for benchmarks and publish (#1167)
* Fix rules for benchmarks and publish

* fix publish refs

* add comments

* add comment

* Apply suggestions from code review

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

Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
2022-04-12 15:10:24 +02:00
Alexander Samusev 058469bb93 Add benchmarks to pipeline (#1074)
* [Do not merge] add benchmarks to pipeline

* disable jobs for test

* Revert "[Do not merge] add benchmarks to pipeline"

This reverts commit af3cca09f2bbec7ab75e1e905314356ce4405a6f.

* add weights tag

* add stage

* empty before_script for benches

* run benchmarks on ci6

* disable cargo target dir

* disable pre-cache

* add CARGO_TARGET_DIR var to bench script

* debug

* debug

* fix script path

* divide build and benchmark into 2 jobs

* fix bench build

* small fix

* reduce benchmark output log

* add push github

* add push gh

* add after_script

* typo fix

* typo fix

* fix curl

* fix git config

* add title and body to pr

* final check that everything works

* final check that everything works

* return jobs back

* fix rules

* cancel changes benchmarks.sh

* Apply suggestions from code review

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

* rename job

* change benches jobs to run on release-parachains-v*

* remove master refs

Co-authored-by: Denis Pisarev <denis.pisarev@parity.io>
2022-04-12 13:53:02 +02:00
dependabot[bot] 476c3bf688 Bump scale-info from 2.0.1 to 2.1.0 (#1165)
Bumps [scale-info](https://github.com/paritytech/scale-info) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/paritytech/scale-info/releases)
- [Changelog](https://github.com/paritytech/scale-info/blob/master/CHANGELOG.md)
- [Commits](https://github.com/paritytech/scale-info/commits/v2.1.0)

---
updated-dependencies:
- dependency-name: scale-info
  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-04-12 09:43:02 +02:00
dependabot[bot] 5d86e2d1bf Bump tracing from 0.1.32 to 0.1.33 (#1164)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.32 to 0.1.33.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.32...tracing-0.1.33)

---
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-04-12 08:05:43 +02:00
Amar Singh 17a3f3099d Make functionality to read relay state proof entries public (#1135)
* add read entry and read optional entry to RelayChainStateProof pub methods

* rm toolchain

* docs

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

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2022-04-11 10:45:59 +02:00
João Paulo Silva de Souza 3dc9f86bf4 create .github/workflows/pr-custom-review.yml (#1153) 2022-04-08 17:39:21 +02:00
dependabot[bot] 018a9b4c4c Bump proc-macro2 from 1.0.36 to 1.0.37 (#1150)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.36 to 1.0.37.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.36...1.0.37)

---
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-04-08 09:05:23 +02:00
Oliver Tale-Yazdi 64a33792c1 Co #11164: Sub-commands for benchmark (#1156)
* para-template: Add bench commands

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

* collator: Add bench commands

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

* Test benchmark commands

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

* Remove comments

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

* update lockfile for {"polkadot"}

* Remove benchmark block test as the collator cannot produce blocks on its own

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

Co-authored-by: parity-processbot <>
2022-04-08 00:02:22 +00:00
dependabot[bot] c201b0261b Bump syn from 1.0.90 to 1.0.91 (#1149)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.90 to 1.0.91.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.90...1.0.91)

---
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-04-07 20:45:11 +00:00
Bastian Köcher 61772f5ad7 Remove old caching stuff from CI (#1154) 2022-04-07 21:15:43 +02:00
João Paulo Silva de Souza 6accad0961 fix pr-custom-review.yml (#1155) 2022-04-07 20:11:57 +03:00
João Paulo Silva de Souza c1641f7857 create .github/pr-custom-review.yml (#1142)
syntax in accordance to https://github.com/paritytech/pr-custom-review/tree/5814820aa0e5d35412f31dc02f9d130a8b138cae#configuration-syntax

rules in accordance to https://github.com/paritytech/pr-custom-review/blob/da1d81b9fd39705cc8b37f59235283801c818708/rules.md
2022-04-07 16:23:23 +02:00
Stephen Shelton 669e1c1672 Add LengthToFee to runtimes (#1152)
* Add LengthToFee to runtimes

* update lockfile for {"polkadot"}

* fmt

* Update Cargo.lock

Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
2022-04-07 14:05:27 +00:00
Squirrel 8d0e4229c5 Bump collator version to 5.4 (#1131) 2022-04-04 18:05:32 +01:00
Squirrel 437891fe22 bump tx version due to substrate 10896 (#1133) 2022-04-04 18:05:19 +01:00
Koute e674e33b23 Bump lru to 0.7.4 (#1137) 2022-04-04 13:55:00 +02:00
dependabot[bot] b852825fa2 Bump clap from 3.1.6 to 3.1.8 (#1134)
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.6 to 3.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/v3.1.6...v3.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>
2022-04-03 20:53:31 +02:00
Squirrel 7df065e7de Bump version to v900 (#1130) 2022-04-01 12:09:43 +01:00
Squirrel 66591cd90e updated weights for v800 (#1120) (#1126) 2022-03-31 20:05:22 +00:00
Chevdor e39cf0894b Fix target docker hub org (#1125) 2022-03-31 18:20:47 +02:00
Chevdor 71d7743869 Hide unwanted hashes for parachain runtimes (#1122) 2022-03-31 08:47:12 +00:00
Andrew Jones 28d75eac87 Register dev rpc api for canvas parachain (#1102)
* Register dev api for canvas parachain

* Update Substrate

* Update Polkadot
2022-03-30 09:14:48 +00:00
dependabot[bot] 3b66550ead Bump quote from 1.0.16 to 1.0.17 (#1118)
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.16 to 1.0.17.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.16...1.0.17)

---
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-03-29 23:28:23 +02:00
Chevdor bf8b24071c Skip runtime migrations for the client release (#1116)
Also removes a bunch of empty lines for a nice output
2022-03-29 18:17:56 +02:00
dependabot[bot] 564c0532a6 Bump async-trait from 0.1.52 to 0.1.53 (#1117)
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.52 to 0.1.53.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.52...0.1.53)

---
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-03-28 23:20:18 +02:00
dependabot[bot] e5a9a5a240 Bump syn from 1.0.89 to 1.0.90 (#1119)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.89 to 1.0.90.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.89...1.0.90)

---
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-03-28 21:15:43 +00:00
Chevdor b468d0c33e Fix #851 (#1110)
* Fix doc

* Formatting fixes and bump prio if host functions are detected

* Add canvas

* Bump canvas-kusama's runtime version to 800

* Add db migrations

* Prepare for client releases

* Split the upload of the context artifact

* Rename of the srtool digests to match script default expectations

* Fix runtime name for canvas

* Fix jobs dependencies when skipping jobs/steps for client builds

* Fix CI for the client builds

* Fix issue when building in client mode

* Bump checkout action to v3 and gate some tests

* Fix notification

ref #851
2022-03-28 10:00:07 +02:00
Sergejs Kostjucenko dc10d1520d Move scripts used in CI to the new location (#1109)
* Move CI scripts to new location

* Update references

* Update CODEOWNERS file

* Update docker/polkadot-collator_builder.Containerfile

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

Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
2022-03-25 01:25:06 +02:00
Davide Galassi 6ea78e9cc9 Companion for revert command new API (#11022) (#1089)
* Additional parameter for 'revert' command

* Update substrate

* cargo update -p xcm

* Update Cargo.lock

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
2022-03-24 16:32:12 -04:00
joe petrowski 61c20971d3 Enable DOT-over-XCM and Lift Asset Creation Restrictions (#1057)
* enable DOT-over-XCM and lift asset creation restrictions

* no Contains

* Remove unused import

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
2022-03-23 19:22:23 +00:00
cheme 571b20f95e Companion to #11081, upgrade paritydb version. (#1101)
* update paritydb.

* update lockfile for {"polkadot"}

Co-authored-by: parity-processbot <>
2022-03-23 17:57:00 +00:00
dependabot[bot] 2fe7a2edba Bump log from 0.4.14 to 0.4.16 (#1107)
Bumps [log](https://github.com/rust-lang/log) from 0.4.14 to 0.4.16.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/commits)

---
updated-dependencies:
- dependency-name: log
  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-03-23 00:17:49 +01:00
Squirrel 3cbd4279fa xcmp-queue / less indexing (#1100)
* less indexing

* removed unneeded clone

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
2022-03-22 20:56:58 +00:00
Squirrel 9717379012 bump versions in preparation for next release (#1103)
* bump collator version

* bump statmint runtimes versions

* Update lock file

* unifying runtime versions
2022-03-22 17:01:15 +00:00
dependabot[bot] fc903ed678 Bump quote from 1.0.15 to 1.0.16
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.15 to 1.0.16.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.15...1.0.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 15:32:40 +00:00
Squirrel 2db0a69f66 express intent better (#1099) 2022-03-21 14:47:47 +00:00
dependabot[bot] f6fa460911 Bump parity-scale-codec from 3.1.0 to 3.1.2 (#1096)
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases)
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/paritytech/parity-scale-codec/commits)

---
updated-dependencies:
- dependency-name: parity-scale-codec
  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-03-17 21:09:28 +00:00
Amar Singh 680c5738d6 Add babe randomness to relay state proof (#1083)
* add new babe keys to relay storage proof

* persist relay state proof and make pub super to expose to runtime

* use sp trie StorageProof instead of sp state machine Storage Proof

* fmt
2022-03-17 11:02:59 +01:00
dependabot[bot] 878872c319 Bump syn from 1.0.88 to 1.0.89 (#1094)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.88 to 1.0.89.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.88...1.0.89)

---
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-03-17 11:01:12 +01:00
Squirrel 4322e064ea collator-selection pallet tidy (#1093)
* One less collect + clippy suggestions.

* No need to index into collection

* Update pallets/collator-selection/src/lib.rs

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2022-03-16 19:10:41 +00:00
dependabot[bot] dd5e9775b5 Bump dyn-clone from 1.0.4 to 1.0.5 (#1090)
Bumps [dyn-clone](https://github.com/dtolnay/dyn-clone) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/dtolnay/dyn-clone/releases)
- [Commits](https://github.com/dtolnay/dyn-clone/compare/1.0.4...1.0.5)

---
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-03-15 23:19:00 +01:00
dependabot[bot] 345de10b55 Bump syn from 1.0.87 to 1.0.88 (#1091)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.87 to 1.0.88.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.87...1.0.88)

---
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-03-15 21:33:39 +00:00
dependabot[bot] 4e95228291 Bump syn from 1.0.86 to 1.0.87 (#1086)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.86 to 1.0.87.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.86...1.0.87)

---
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-03-14 21:49:18 +00:00
Squirrel e535a504ed --json switched to --json-file param in benchmarking script (#1084) 2022-03-14 21:32:11 +00:00
dependabot[bot] bddb7d0f0a Bump parity-scale-codec from 3.0.0 to 3.1.0 (#1087)
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/paritytech/parity-scale-codec/releases)
- [Changelog](https://github.com/paritytech/parity-scale-codec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/paritytech/parity-scale-codec/compare/v3.0...parity-scale-codec-v3.1.0)

---
updated-dependencies:
- dependency-name: parity-scale-codec
  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-03-14 21:08:40 +00:00
Oliver Tale-Yazdi 99bb22d8e9 Co #5091: Runtime dependent weights for parachains (#1081)
* Use runtime dependent weights in parachains

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

* Lockfile

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

* update lockfile for {"polkadot"}

Co-authored-by: parity-processbot <>
2022-03-12 20:12:31 +00:00
Bastian Köcher b496ce8f4c Directly use the new to_memory_db function (#1080)
This reduces the amount of code a little bit.
2022-03-11 23:01:17 +01:00
Oliver Tale-Yazdi 4ee62872a1 Make CI work (#1079)
MR#1076 somehow broke the check-runtime-benchmarks CI.

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2022-03-11 20:44:33 +00:00