Commit Graph

650 Commits

Author SHA1 Message Date
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
Oliver Tale-Yazdi 984d9fab25 Co #5064: Use runtime dependant weights (#1076)
* Use runtime dependant weights

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

* Re-add dependencies

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

* update lockfile for {"polkadot"}

Co-authored-by: parity-processbot <>
2022-03-11 18:26:25 +01:00
Robert Habermeier 8eee3c37c4 Companion for primitives consolidation into v2 (#1071)
* branches

* update all primitives references

* fmt

* Update Polkadot & Substrate

* Again

Co-authored-by: Bastian Köcher <info@kchr.de>
2022-03-10 09:33:05 +00:00
dependabot[bot] 40bd56db82 Bump tracing from 0.1.31 to 0.1.32 (#1075)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.31 to 0.1.32.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.31...tracing-0.1.32)

---
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-03-10 00:04:16 +00:00
Keith Yeung 1f94506386 Use WeightToFee when calculating cost of each weight unit in XCM trader (#1055)
* Use WeightToFee when calculating cost of each weight unit in XCM trader

* Set the OnUnbalanced type parameter for XCM Traders
2022-03-08 09:10:41 +00:00
dependabot[bot] 4b3b955497 Bump clap from 3.1.5 to 3.1.6 (#1072)
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.5 to 3.1.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.1.5...v3.1.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-03-07 17:51:05 -08:00
Doordashcon c543f9d980 Add benchmarks for Xcmp QueueConfigData setters (#982)
* add benchmarks for xcmp queue config data setters

* add new benchmarks

* cargo fmt

* added newline

* Additional weights for dmp queue for westmint

* include new weights

* Adding WeightInfo trait and friends

* WeightInfo should be on xcmp rather than dmp pallet

* cargo fmt

* update scripts

* mock weightinfo

* cargo fmt

* canvas kusama is substrate weight

* weights from bm2

* expanding to other similar config functions

* updated weights from bm2

* Revert "updated weights from bm2"

This reverts commit b1702780982c278b44f572c2089b1d7ddc564d76.

* Consolidation to one benchmark

* reran weights

* Update pallets/xcmp-queue/src/lib.rs

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

* integrating review feedback

* rerun weights

* Add DispatchClass::Operational

Co-authored-by: Squirrel <gilescope@gmail.com>
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com>
2022-03-07 11:47:24 +00:00
Gavin Wood 1919cbb4d4 Companion for #10896: Minor Uniques pallet improvements (#1070)
* Formatting

* Add set_accept_ownership weight

* Revert lock file

* Fixes

* Fixed

* Revert lock

* Fixes

* Bump Substrate
2022-03-07 11:02:03 +01:00