Commit Graph

1293 Commits

Author SHA1 Message Date
dependabot[bot] 290615794e Bump thiserror from 1.0.30 to 1.0.31 (#1230)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.30...1.0.31)

---
updated-dependencies:
- dependency-name: thiserror
  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-03 10:56:41 +02:00
dependabot[bot] 51eeb6fd32 Bump serde from 1.0.136 to 1.0.137 (#1229)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.136 to 1.0.137.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.136...v1.0.137)

---
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-05-03 10:55:52 +02:00
Roman 9cf5871678 Companion for substrate#11009 (#1221)
* Downgrade zeroize to v1.4.3

* Update Substrate & Polkadot

Co-authored-by: Bastian Köcher <info@kchr.de>
2022-04-29 23:42:38 +02:00
Koute 7255f0eb85 Bump tempfile to 3.3.0 (#1179) 2022-04-28 14:23:04 +00:00
Joshua W c309952ea4 Companion for #11025 (Uniques Locker Trait) (#1085)
* Add Locker trait to pallet_uniques

* update lockfile for {"substrate"}

* Updated lock file to latest master substrate and polkadot

Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
Co-authored-by: Giles Cope <gilescope@gmail.com>
Co-authored-by: parity-processbot <>
2022-04-28 12:10:52 +00:00
dependabot[bot] 423a7f5a37 Bump tokio from 1.17.0 to 1.18.0 (#1220)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.17.0...tokio-1.18.0)

---
updated-dependencies:
- dependency-name: tokio
  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-28 10:56:12 +02:00
Oliver Tale-Yazdi 598755cf3c Co #11270: Update benchmark machine command (#1214)
* Use polkadot reference hardware for benchmark machine

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

* Rename POLKADOT_REFERENCE_HARDWARE -> SUBSTRATE_REFERENCE_HARDWARE

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>

* Revert "cargo update -p polkadot-primitives"

This reverts commit 051d51c5ab3fdd80c6351e16d3255efc67288136.

* cargo update -p polkadot-primitives

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2022-04-26 17:46:13 +00:00
Koute 867eb8ebf9 Companion for Substrate#11062 (#1113)
* Align to changes in Substrate

* Align to the newest changes in substrate

* Update `Cargo.lock`

* Add hwbenches to `parachain-template` too

* update lockfile for {"polkadot"}

Co-authored-by: parity-processbot <>
2022-04-26 09:51:18 +00:00
Alexander Samusev a715b8b551 [ci] Fix benchmark branch name and typo (#1216) 2022-04-26 11:05:54 +02:00
dependabot[bot] d72a356983 Bump nix from 0.24.0 to 0.24.1 (#1215)
Bumps [nix](https://github.com/nix-rust/nix) from 0.24.0 to 0.24.1.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/compare/v0.24.0...v0.24.1)

---
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-04-26 09:40:30 +02:00
nodi-andy d5434b3054 bash tutorial: change the working path after clone (#1210) 2022-04-25 10:38:21 +02:00
Squirrel 4f160f9ccd benchmark now takes a command. (#1191) 2022-04-23 20:44:19 +00:00
dependabot[bot] 202b10072f Bump clap from 3.1.10 to 3.1.12 (#1208)
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.10 to 3.1.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.1.10...v3.1.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-04-23 20:42:44 +00:00
girazoki 68b4da78d0 Default not implemented for non-std builds for PersistedValidationData (#1207)
* Default not implemented for non-std builds for PersistedValidationData

* Remove v1

* Remove v1 for v2, this time correct

* More reverts of v1 for v2

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

* fmt

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2022-04-22 22:35:47 +02:00
Chevdor de296554fb Fix priority thresholds (#1203) 2022-04-22 15:52:24 +02:00
Sebastian Kunert 3f9a57dedb Bump jsonrpsee-core to 11.0 2022-04-22 11:46:19 +00:00
dependabot[bot] 60b8c7bf1d Bump jsonrpsee from 0.10.1 to 0.11.0
Bumps [jsonrpsee](https://github.com/paritytech/jsonrpsee) from 0.10.1 to 0.11.0.
- [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.10.1...v0.11.0)

---
updated-dependencies:
- dependency-name: jsonrpsee
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-22 11:46:19 +00:00
Alexander Samusev ce6f0d7858 [ci] small fixes for benchmark jobs (#1195) 2022-04-22 11:10:47 +02:00
João Paulo Silva de Souza b1e97a8f1b skip pr-custom-review if pull request is in Draft (#1188) 2022-04-22 05:51:17 -03:00
Squirrel d68e9bf27b warn not info (#1190)
* warn not info

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
2022-04-22 08:51:59 +01:00
dependabot[bot] 98707fc3a2 Bump nix from 0.23.1 to 0.24.0 (#1200)
Bumps [nix](https://github.com/nix-rust/nix) from 0.23.1 to 0.24.0.
- [Release notes](https://github.com/nix-rust/nix/releases)
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nix-rust/nix/commits)

---
updated-dependencies:
- dependency-name: nix
  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-22 08:53:57 +02:00
girazoki 9aead492b7 Make sure when storage is empty we set the block number (#1197) 2022-04-21 21:18:09 +02:00
girazoki 08bc38ddff Implement set_block_number for runtime-bencmarks in RelayBlockNumberProiver (#1187) 2022-04-21 10:23:20 +02:00
Bastian Köcher 8b31bce403 Aura: Switch to SimpleSlotWorker (#1186)
* Aura: Switch to `SimpleSlotWorker`

* Fix build

* Update Substrate & Polkadot

* Update again
2022-04-21 09:57:11 +02:00
Squirrel 563ce7cb93 Deny using relay chain for reserve transfers (#1169)
* Deny using relay chain for reserve transfers

* match on junction as well.

* Update polkadot-parachains/parachains-common/src/xcm_config.rs

* Use Err to signal deny

* Deny depisiting reserved assets + fmt

* Allow DepositReserveAssets from relay chain

Deny InitiateReserveWithdrawal

* Rather than allow DepositReserveAsset,

it was ReservAssetDeposited that should be allowed but logged.

* don't reference common parachains.

* Update parachain-template/runtime/src/xcm_config.rs

* Warn if reserve asset deposited msg detected.

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
2022-04-20 10:14:08 +01:00
dependabot[bot] bf51fd1513 Bump clap from 3.1.9 to 3.1.10 (#1184)
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.9 to 3.1.10.
- [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.9...v3.1.10)

---
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-20 11:07:43 +02:00
Bastian Köcher 587cec055a Update Substrate & Polkadot (#1180) 2022-04-19 15:43:21 +02:00
dependabot[bot] 6e42f83d22 Bump tracing from 0.1.33 to 0.1.34 (#1174)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.33 to 0.1.34.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.33...tracing-0.1.34)

---
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-16 12:25:16 +02:00
dependabot[bot] d52574d8df Bump clap from 3.1.8 to 3.1.9 (#1175)
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.8 to 3.1.9.
- [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.8...v3.1.9)

---
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-16 12:07:27 +02:00
Oliver Tale-Yazdi 5ae9b9baef Co #11198: Expose benchmark machine command (#1172)
* Expose benchmark machine command

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-client

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2022-04-15 21:39:26 +02:00
Bastian Köcher 7d38d13a48 Update Substrate & Polkadot (#1173) 2022-04-14 16:46:39 +02:00
dependabot[bot] 3b0f145934 Bump scale-info from 2.1.0 to 2.1.1 (#1171)
Bumps [scale-info](https://github.com/paritytech/scale-info) from 2.1.0 to 2.1.1.
- [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/compare/v2.1.0...v2.1.1)

---
updated-dependencies:
- dependency-name: scale-info
  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-14 10:21:04 +02:00
Adrian Catangiu 5b96340369 use the right MMR primitives crate (companion for substrate#11183) (#1161)
* use the right MMR primitives crate

* fix cargo mmr primitives

* fix lockfile

* try another lockfile

* bump substrate to 5597a93a

* update lockfile

* update lockfile for {"polkadot"}

Co-authored-by: parity-processbot <>
2022-04-13 11:29:44 +00:00
dependabot[bot] ad02126077 Bump quote from 1.0.17 to 1.0.18 (#1163)
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.17 to 1.0.18.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.17...1.0.18)

---
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-04-13 08:59:26 +02:00
dependabot[bot] 6768cf8cda Bump jsonrpsee from 0.9.0 to 0.10.1 (#1146) 2022-04-12 23:05:17 +02:00
Doordashcon e1963ef070 Log XCMP Queue Errors (#1147)
* test invalid xcmp data

* proper messaging

* cargo fmt

* Use `error` instead of `info`

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2022-04-12 22:39:17 +02:00
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