Commit Graph

573 Commits

Author SHA1 Message Date
dependabot[bot] eef9479087 Bump tracing from 0.1.30 to 0.1.31 (#1036)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.30 to 0.1.31.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.30...tracing-0.1.31)

---
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-02-22 19:19:58 +00:00
dependabot[bot] 307080e59a Bump parking_lot from 0.10.2 to 0.12.0 (#1030)
Bumps [parking_lot](https://github.com/Amanieu/parking_lot) from 0.10.2 to 0.12.0.
- [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.10.2...0.12.0)

---
updated-dependencies:
- dependency-name: parking_lot
  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-02-22 19:39:09 +01:00
Bastian Köcher 0ffe7929a7 Dependabot: A new round... (#1034) 2022-02-22 16:58:27 +01:00
dependabot[bot] 6c81cbddb5 Bump nix from 0.17.0 to 0.23.1 (#1017)
Bumps [nix](https://github.com/nix-rust/nix) from 0.17.0 to 0.23.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.17.0...v0.23.1)

---
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-02-22 16:50:13 +01:00
dependabot[bot] 4755cf7c28 Bump hex-literal from 0.2.1 to 0.3.4 (#1028)
Bumps [hex-literal](https://github.com/RustCrypto/utils) from 0.2.1 to 0.3.4.
- [Release notes](https://github.com/RustCrypto/utils/releases)
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.2.1...hex-literal-v0.3.4)

---
updated-dependencies:
- dependency-name: hex-literal
  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-02-22 16:49:46 +01:00
Bastian Köcher c433484e40 Dependabot: Also ignore polkadot :grimaced: (#1026)
* Dependabot: Also ignore polkadot :grimaced:

* And XCM
2022-02-22 15:18:46 +01:00
Bastian Köcher d18429d18a Dependabot: Make sure to ignore all the Substrate deps (#1021) 2022-02-22 14:54:28 +01:00
Sergejs Kostjucenko 4abfb0093f Add dependabot config file (#1015) 2022-02-22 12:56:39 +01:00
Koute 222d5cfaa1 Bump tokio to 1.17.0 (#1014) 2022-02-22 11:01:17 +00:00
Alexander Theißen 829dadceca canvas: Run migrations defined by pallet-contracts (#1011)
* Run migrations defined by pallet-contracts

* cargo fmt
2022-02-21 15:28:25 +00:00
Squirrel 8cf65b2e3c updating benchmarking script (#1012)
we should be using production profile for benchmarks.
--raw does not exist: https://github.com/paritytech/substrate/pull/10771
2022-02-21 15:18:56 +00:00
Alexander Theißen dfe16328b0 canvas: More refactoring (#997)
* canvas: Move contracts config to own file

* Reduce usage of parameter_types where possible

* Fix try-runtime compilation
2022-02-21 11:59:29 +00:00
Alexander Theißen a2280507eb canvas: Add sudo (#1010) 2022-02-21 11:45:43 +00:00
Squirrel d1a5414b59 Remove migrations that have been executed. (#986) 2022-02-21 11:25:54 +00:00
Alexander Theißen 1918632332 Bump state version (#1009) 2022-02-21 10:57:56 +00:00
Bastian Köcher 53c0ec904f Fix relay chain node name (#1008)
Before this fix the relay chain node name was always a random generated, because we did not had
implemented all the required methods of the `CliConfiguration` trait.
2022-02-21 11:34:23 +01:00
Alexander Theißen 5e80975d1b Move Canvas xcm config to own module (#994) 2022-02-21 08:14:18 +00:00
vincent 431c8df086 Fix parachain-template-runtime build fail (#996)
sync solution from #887
2022-02-20 12:17:10 +01:00
Alexander Theißen 230978b683 Add canvas-kusama runtime (#980)
* Added kanvas runtime

* Fix up benchmarking

* Fixup markdown stucture

* replace :emoji_name: by utf8
* fix up header hierarchy

* Merge canvas README

* Only use "Canvas" as a name

* Remove reference to Rocanvas
2022-02-17 16:18:48 -05:00
Shawn Tabrizi 81e7db5bc8 Fix Runtime Benchmarks Feature Flag in Parachain Template (#991)
* Update Cargo.toml

* add checks to ci
2022-02-16 13:33:08 +01:00
Keith Yeung e141b72ec7 Update rand to v0.8.5 (#987)
* Update rand to v0.8.5

* Enable std_rng feature on rand

* Enable std_rng only when std is enabled

* Revert "Enable std_rng only when std is enabled"

This reverts commit 8fb3b72dbd6dc18bc19868b999b5b07cea4b7392.
2022-02-14 23:14:05 +00:00
Bastian Köcher af29f2da18 Update Polkadot & Substrate (#985) 2022-02-14 11:16:41 +01:00
Keith Yeung 18af89c601 Move XCM configurations out into its own module (#981)
* Move XCM configurations out into its own module

* Revert removal of the AccountNonceApi
2022-02-11 15:59:48 -08:00
Squirrel b8eef1486c bump tx version (#966) (#975) 2022-02-10 16:19:16 +00:00
Squirrel 7a789ac2bc collective flip migration removed, uniques added (#965) (#974)
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com>
2022-02-10 16:17:57 +00:00
Squirrel cc7116dde6 new weights for release-parachains-v7.0.0 (#951) (#973)
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com>
2022-02-10 16:16:31 +00:00
Squirrel 19f0be8e08 Set statemin runtime versions (#971) 2022-02-10 16:15:49 +00:00
Squirrel 51f9ec06e4 Bump collator version (#970)
Co-authored-by: Wilfried Kopp <wilfried@parity.io>
2022-02-10 16:12:33 +00:00
Mara Robin B 4500d91830 ci: fix bash quoting in docker ci (#978) 2022-02-10 13:26:22 +00:00
Bastian Köcher a66eac712a Update Substrate & Polkadot (#977) 2022-02-10 09:34:22 +01:00
Bastian Köcher 1a7a452795 CI: Check that rustdocs can be generated (#972) 2022-02-09 13:24:42 +01:00
yjh e4576e541d Fix some typos for client (#968)
* chore: fix typos for consensus

* chore: fix typos for RelayChainError
2022-02-09 11:20:00 +01:00
Bastian Köcher 74472ea085 Update Substrate & Polkadot (#967) 2022-02-08 23:27:13 +01:00
Bastian Köcher 753f58caac Return compressed PoV from collation (#942)
* Return compressed PoV from collation

This enables us to also print the size of the compressed PoV.

* FMT

* Update Polkadot & Substrate

* Fix compilation

* Fixes

* FMT
2022-02-07 21:04:56 +00:00
omadoyeabraham b2f663475f Ensure invulnerables have associated validator keys before they are set (#812)
* Added check to ensure invulnerables have associated validator keys before they are set

* Added check to ensure invulnerables have associated validator keys before they are set

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

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>

* Added test for associated validators when setting invulnerables

* FMT

Co-authored-by: Omadoye Abraham <abraham.o@turing.com>
Co-authored-by: Ricardo Rius <9488369+riusricardo@users.noreply.github.com>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Co-authored-by: Bastian Köcher <info@kchr.de>
2022-02-07 16:42:37 +00:00
Mara Robin B 93ca4e137e ci: fix publish-runtimes for parachains containing - in name (v2) (#959) 2022-02-07 11:41:47 +00:00
Doordashcon 7d48c42b56 Add Setter for XCMP QueueConfigData (#931)
* add QueueConfigData setter

* update weights

* syntax change

* add test case

* fix Result error

* cargo fmt

* Apply suggestions from code review

Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com>

* update

* one call per set

* cargo fmt

* cargo fmt

* mutate method

* cargo fmt

Co-authored-by: Alexander Popiak <alexander.popiak@gmail.com>
2022-02-05 11:47:31 +00:00
Mara Robin B 7f45366210 ci: fix publish-runtimes for rococo-parachain (or any other -parachain) failing on incorrect wasm path (#957) 2022-02-04 15:41:47 +00:00
Ignacio Palacios 43b427d89c Update command for running benchmarks (#954)
* Update command for running benchmarks

* add --locked

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

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
2022-02-03 17:41:44 +00:00
dependabot[bot] 079a2834ec Bump node-fetch from 2.6.5 to 2.6.7 in /scripts/scale_encode_genesis (#946)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.5 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.5...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-02 11:00:53 +01:00
dependabot[bot] a52e8703ae Bump node-fetch from 2.6.1 to 2.6.7 in /scripts/generate_genesis_values (#945)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-01 23:38:57 +01:00
Mara Robin B cb7b8249ff ci: fix broken reference to rococo srtool digest (#943) 2022-02-01 17:07:10 +00:00
Chris Sosnin 28b653b611 Remove unused cli param (#941) 2022-02-01 12:03:54 +01:00
Keith Yeung 77491879cd Add the ability to suspend or resume XCM execution on the XCMP queue (#896)
* Add the ability to suspend or resume XCM execution on the XCMP queue

* Rename QueueActive to QueueSuspended

* Add the ability to suspend the DMP queue

* Rename XCMP to DMP in comments where appropriate

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>

* Add a bypass for XCMP queue suspension

* Revert "Add the ability to suspend the DMP queue"

This reverts commit 363ca09b41e40fce3f2740e7ab78f5c54781ca5c.

* Change controller origin to either root or council-issued origin

* Rename to ControllerOriginConverter

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
2022-01-31 12:12:09 +00:00
Squirrel 88928d09a4 Add safe_xcm_version to Genesis Specs (#743) (#904)
* Add safe_xcm_version to Genesis Specs (#743)

* add safe_xcm_version to genesis specs

* cargo +nightly fmt

* Point to xcm latest version

Co-authored-by: Alexander Popiak <alexander.popiak@parity.io>
2022-01-26 11:11:03 +00:00
Sebastian Kunert a9630551c2 Unify RelayChainInterface error handling and introduce async (#909) 2022-01-25 18:27:54 +01:00
Chevdor c70156b122 Add production profile (#934)
* Add production profile

* Fix opt-level

* Update Cargo.toml

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

* Move opt-level to release

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2022-01-25 14:46:05 +00:00
WMQ e25e21fd52 fix: remove duplicate event of pallet_balances (#933)
* fix: remove duplicate event of pallet_balances

https://github.com/paritytech/substrate/blob/master/frame/support/src/traits/tokens/currency.rs#L158
https://github.com/paritytech/substrate/blob/master/frame/balances/src/lib.rs#L1647

Since 0.9.12 of substrate, there is no need for a separate of balances event in runtime.

* Update impls.rs
2022-01-25 12:50:00 +01:00
Qinxuan Chen fd145766d4 Companion for substrate#10632 (#895)
* Companion for substrate#10632

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

* cargo update -p clap

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

* Update substrate

* update lockfile for {"polkadot"}

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Co-authored-by: parity-processbot <>
2022-01-25 11:42:59 +00:00
Bastian Köcher a9eb032086 Update Substrate & Polkadot (#930)
* Update Substrate & Polkadot

* Hmm

* Set workspace hint path

* Test

* Use absolute path

* Update again
2022-01-22 20:49:01 +00:00