Commit Graph

1547 Commits

Author SHA1 Message Date
Bruno Galvao eb76e109c8 add try-runtime to ping pallet (#2767)
* add try-runtime to ping pallet

* Update parachains/pallets/ping/Cargo.toml

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>

* a bit of formatting

---------

Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2023-06-23 14:01:55 +00:00
Branislav Kontur 9486fe9704 Companion for substrate#14435 (BenchmarkHelper for frame-system) (#2766)
* Temporary fix for frame_system::set_code benchmark

* Removed temprary fix

* BenchmarkHelper for frame-system (TODO: add stuff for ParachainSystem OnSetCode)

* BenchmarkHelper for frame-system (TODO: add stuff for ParachainSystem OnSetCode)

* Glutton

* Fix benchmarks for `set_code`

* Changed dummy values to non-zero

* update lockfile for {"polkadot", "substrate"}

---------

Co-authored-by: parity-processbot <>
2023-06-23 12:34:54 +00:00
Chevdor 443b139aa9 Bump subwasm to latest (#2771) 2023-06-23 11:54:19 +00:00
PG Herveou 073dad97ad Contracts-rococo: Update migration (#2763) 2023-06-22 17:50:32 +00:00
Javier Bullrich 1c5729c2de fixed one member of two teams prs counting individually (#2770)
Fixed the problem that, if a member of two of the required teams reviews a Pr that belongs to `^parachains/runtimes/assets/(asset-hub-kusama|asset-hub-polkadot)/src/[^/]+\.rs$|^parachains/runtimes/bridge-hubs/(bridge-hub-kusama|bridge-hub-polkadot)/src/[^/]+\.rs$|^parachains/runtimes/collectives/collectives-polkadot/src/[^/]+\.rs$|^parachains/common/src/[^/]+\.rs$` it won't count as enough reviews.

By changing the `all_distinct` to `all` this will allow one member of both teams to fulfill the requirements for the PR
2023-06-22 17:01:57 +02:00
dependabot[bot] ca058e9e8b Bump scale-info from 2.7.0 to 2.8.0 (#2768)
Bumps [scale-info](https://github.com/paritytech/scale-info) from 2.7.0 to 2.8.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/compare/v2.7.0...v2.8.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>
2023-06-22 12:23:04 +02:00
Milos Kriz 15f138d7ce Maintenance of bootnode endpoints - gatotech (#2689)
* Bootnode maintenance -  gatotech

* Add bootnode support -  gatotech
2023-06-21 23:39:32 +02:00
dependabot[bot] c176cb7c92 Bump clap from 4.3.4 to 4.3.5 (#2764)
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.4 to 4.3.5.
- [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/v4.3.4...v4.3.5)

---
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>
2023-06-21 07:40:30 +00:00
Branislav Kontur 43c9a94969 AssetHubs - split weights for pallet_assets (#2743)
* AssetHubs - split weights for pallet_assets

* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-kusama assets pallet_assets

* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-kusama assets pallet_assets

* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-westend assets pallet_assets

* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-polkadot assets pallet_assets

* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-westend assets pallet_assets

* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-polkadot assets pallet_assets

* Rename weight file for pallet_assets instances (polkadot)

* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-polkadot assets pallet_assets

* Rename weight file for pallet_assets instances (kusama/westend)

* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-kusama assets pallet_assets

* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-westend assets pallet_assets

* Changed `pallet_assets_remote` -> `pallet_assets_foreign`

* fmt

* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-kusama assets pallet_assets

* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-westend assets pallet_assets

* ".git/.scripts/commands/bench/bench.sh" pallet asset-hub-polkadot assets pallet_assets

---------

Co-authored-by: parity-processbot <>
2023-06-20 15:48:25 +00:00
dependabot[bot] ad2189ae4e Bump Swatinem/rust-cache from 2.4.0 to 2.5.0 (#2759)
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.4.0 to 2.5.0.
- [Release notes](https://github.com/Swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Swatinem/rust-cache/compare/988c164c3d0e93c4dbab36aaf5bbeb77425b2894...2656b87321093db1cb55fbd73183d195214fdfd1)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  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>
2023-06-20 15:50:12 +02:00
dependabot[bot] 5a16ebc3a5 Bump parity-scale-codec from 3.5.0 to 3.6.1 (#2760)
Bumps [parity-scale-codec](https://github.com/paritytech/parity-scale-codec) from 3.5.0 to 3.6.1.
- [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/parity-scale-codec-v3.5.0...parity-scale-codec-v3.6.1)

---
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>
2023-06-20 13:50:12 +02:00
Xavier Lau 5838ab681d Add sudo to template node (#2748)
* Add sudo to template node

* Fix

* Change as suggest

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

Co-authored-by: Squirrel <giles@parity.io>

* Change as suggest

---------

Co-authored-by: Squirrel <giles@parity.io>
2023-06-19 16:53:57 +00:00
Chevdor 1e417710f5 Renaming of the Asset Hubs (#2755) 2023-06-19 16:51:40 +00:00
Egor_P 7c28c5319a [Backport] version bumps from 9430 (#2709)
* Bump crate versions

* Bump spec_version to 9430
2023-06-19 13:57:25 +00:00
Gavin Wood cf68e59132 Fellowship: Voters can initiate proposals on their votable tracks (#2725)
* Voters can initiate proposals on their tracks in Fellowship

* Bump

* Remove it_builds

* Docs
2023-06-19 10:41:50 +01:00
dependabot[bot] 6beb11e8cc Bump serde_json from 1.0.96 to 1.0.97 (#2749)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.96 to 1.0.97.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.96...v1.0.97)

---
updated-dependencies:
- dependency-name: serde_json
  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>
2023-06-19 06:51:08 +00:00
Juan d77a8826d1 Companion for Soft deprecate GenesisConfig (#2636)
* update genesis config

* rebase and fix errors

---------

Co-authored-by: parity-processbot <>
Co-authored-by: joepetrowski <joe@parity.io>
2023-06-16 11:05:45 +00:00
Bulat Saifullin 185d376446 Rename Statemint* bootnodes to Asset Hub (#2683) 2023-06-16 09:37:52 +03:00
dependabot[bot] 094d0b8ad8 Bump ruby/setup-ruby from 1.151.0 to 1.152.0 (#2737)
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.151.0 to 1.152.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](https://github.com/ruby/setup-ruby/compare/bc1dd263b68cb5626dbb55d5c89777d79372c484...250fcd6a742febb1123a77a841497ccaa8b9e939)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  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>
2023-06-15 14:51:35 +00:00
dependabot[bot] 0b77f18d22 Bump clap from 4.3.3 to 4.3.4 (#2738)
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.3 to 4.3.4.
- [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/v4.3.3...v4.3.4)

---
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>
2023-06-15 11:12:02 +00:00
Branislav Kontur 4f62a41a33 Bump substrate (#2741) 2023-06-15 11:01:20 +02:00
Guillaume Yu Thiolliere c519c78809 minor refactor (#2733) 2023-06-14 12:43:41 +00:00
Branislav Kontur 2dbba10f6e Add TransactionPaymentCallApi to Bridge Hubs (#2729) 2023-06-14 11:53:29 +00:00
Oliver Tale-Yazdi 6a4063917d Co #14338: pallet-glutton: over-unity consumption (#2730)
* Fix types

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

* fix import

* ".git/.scripts/commands/fmt/fmt.sh"

* Fix more

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

* Actually fix stuff

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

* update glutton genesis script

* Update Substrate and Polkadot

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

---------

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
Co-authored-by: NachoPal <ignacio.palacios.santos@gmail.com>
Co-authored-by: command-bot <>
2023-06-13 16:37:47 +00:00
dependabot[bot] 49815cee3c Bump log from 0.4.18 to 0.4.19 (#2728)
Bumps [log](https://github.com/rust-lang/log) from 0.4.18 to 0.4.19.
- [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/compare/0.4.18...0.4.19)

---
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>
2023-06-13 12:38:47 +02:00
dependabot[bot] f58151abec Bump proc-macro2 from 1.0.59 to 1.0.60 (#2718)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.59 to 1.0.60.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.59...1.0.60)

---
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>
2023-06-12 14:07:02 +02:00
dependabot[bot] 5a66d7a2f3 Bump actions/checkout from 3.5.2 to 3.5.3 (#2723)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/8e5e7e5ab8b370d6c329ec480221332ada57f0ab...c85c95e3d7251135ab7dc9ce3241c5835cc595a9)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
2023-06-12 12:04:12 +00:00
eskimor f27d4b5bfe Companion for https://github.com/paritytech/polkadot/pull/7341 (#2726)
* Companion to enabling past session slashing on production.

* update lockfile for {"substrate", "polkadot"}

---------

Co-authored-by: eskimor <eskimor@no-such-url.com>
Co-authored-by: parity-processbot <>
2023-06-12 11:58:37 +00:00
dependabot[bot] d86d676ce8 Bump clap from 4.3.2 to 4.3.3 (#2724)
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.2 to 4.3.3.
- [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/v4.3.2...v4.3.3)

---
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>
2023-06-10 11:32:04 +00:00
asynchronous rob 08d0acf10e Update all uses of pallet-aura to disallow multiple blocks per slot (#2707)
* Update all uses of pallet-aura to disallow multiple blocks per slot

* use ConstBool

* update lockfile for {"substrate", "polkadot"}

---------

Co-authored-by: parity-processbot <>
2023-06-09 21:47:35 +00:00
Squirrel acda676805 fix new nightly warning (#2721) 2023-06-09 15:50:13 +00:00
dependabot[bot] 206a4a4810 Bump serde from 1.0.163 to 1.0.164 (#2719)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.163 to 1.0.164.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.163...v1.0.164)

---
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>
2023-06-09 14:18:19 +00:00
Juan 4afbff9763 Add Migrations to contracts config (#2701)
* add Migrations to contracts config

* update lockfile for {"substrate", "polkadot"}

---------

Co-authored-by: parity-processbot <>
2023-06-09 11:46:10 +00:00
Squirrel 356620ba5c tweak to integration tests (#2713)
* ump.ExecutedUpward -> messageQueue.Processed

* update lock file because

* use one line format
2023-06-09 10:36:59 +00:00
dependabot[bot] ea3a668558 Bump docker/login-action from 2.1.0 to 2.2.0 (#2705)
Bumps [docker/login-action](https://github.com/docker/login-action) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/f4ef78c080cd8ba55a85445d5b36e214a81df20a...465a07811f14bebb1938fbed4728c6a1ff8901fc)

---
updated-dependencies:
- dependency-name: docker/login-action
  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>
2023-06-09 09:43:06 +00:00
dependabot[bot] f5327c1400 Bump ruby/setup-ruby from 1.150.0 to 1.151.0 (#2717)
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.150.0 to 1.151.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](https://github.com/ruby/setup-ruby/compare/8a45918450651f5e4784b6031db26f4b9f76b251...bc1dd263b68cb5626dbb55d5c89777d79372c484)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  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>
2023-06-09 09:42:04 +00:00
eskimor 798a9bac70 Version independent import. (#2708)
Co-authored-by: eskimor <eskimor@no-such-url.com>
2023-06-09 10:57:40 +02:00
Robert La Ferla 2e43d25a4f Fix max > T::MaxCandidates benchmark warning (#2716) 2023-06-09 00:25:28 +02:00
Ignacio Palacios 5a0f9d243c add account nonce api to glutton (#2714) 2023-06-08 14:45:55 +02:00
Muharem Ismailov f8cc95c6b9 Xcm Emulator: prepare XCMP on init (#2711)
* std for pallet-glutton

* fix xcm-emulator init

* headers for it tests
2023-06-08 11:09:48 +00:00
Squirrel 29fa722f38 Update integration tests following event rename (#2700)
* ump.ExecutedUpward -> messageQueue.Processed

* update lock file because
2023-06-08 10:02:11 +00:00
Egor_P a6597ba645 [Backport] weights 9430 to master (#2710)
* [benchmarks] pr with weights (#2667)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] pr with weights (#2668)

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>

* [benchmarks] pr with weights (#2669)

co-authored-by: paritytech-ci <paritytech-ci@parity.io>

---------

Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
2023-06-08 09:39:37 +00:00
Sergejs Kostjucenko ede7f65f19 fix gha set-output command (#2697) 2023-06-07 23:48:17 +03:00
Davide Galassi 3135baf75e Finalize target block after warp sync (#2696)
* Finalize state after warp sync

* Update cargo.lock

* Apply code review suggestion

Co-authored-by: Sebastian Kunert <skunert49@gmail.com>

* Update lock

---------

Co-authored-by: Sebastian Kunert <skunert49@gmail.com>
2023-06-07 13:34:20 +02:00
dependabot[bot] cab52dc1f4 Bump tempfile from 3.5.0 to 3.6.0 (#2698)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.5.0 to 3.6.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.5.0...v3.6.0)

---
updated-dependencies:
- dependency-name: tempfile
  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>
2023-06-07 10:22:00 +00:00
Bastian Köcher c8416af829 Remove unused deps and upgrade fs_extra (#2695) 2023-06-06 14:41:00 +00:00
Muharem Ismailov ce0dcd5741 Runtime: Polkadot Fellowship promotion/demotion periods, members activity and salaries (#2607)
* core fellowship

* core fellowship weights

* salary

* weights

* fellowship pot

* registration period 15 days

* use treasury account for salary pay, promotion origin

* decision period for tracks 30 days

* docs

* comment

* Couple of fixes and some refactoring

* Alter curves to be a bit more conservative

* Use `PayOverXcm` for fellowship salary payments

* Docs and remove unneeded code

* Fixes

* Move Fellowship stuff in line with whitepaper

* fix: induction by a single Fellow (not proficient)

* doc fix

* renames, pallet index, allow unpaid for salary pallet

* Fix budget units

* Fixes

* Test sovereign account for Fellowship salaries

* Nice address test

* Fixes

* test for PayOverXcm setup

* Update parachains/runtimes/collectives/collectives-polkadot/src/fellowship/mod.rs

Co-authored-by: Bastian Köcher <git@kchr.de>

---------

Co-authored-by: Gav <gavin@parity.io>
Co-authored-by: Bastian Köcher <git@kchr.de>
2023-06-06 11:48:15 +01:00
Oliver Tale-Yazdi 1d395b6c99 Fix feature (#2690)
Mea culpa...

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2023-06-06 09:21:29 +00:00
dependabot[bot] 65d9ba170a Bump url from 2.3.1 to 2.4.0 (#2694)
Bumps [url](https://github.com/servo/rust-url) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](https://github.com/servo/rust-url/compare/v2.3.1...v2.4.0)

---
updated-dependencies:
- dependency-name: url
  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>
2023-06-05 22:42:32 +00:00
dependabot[bot] 8e13b8df9f Bump clap from 4.3.1 to 4.3.2 (#2691)
Bumps [clap](https://github.com/clap-rs/clap) from 4.3.1 to 4.3.2.
- [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/clap_complete-v4.3.1...v4.3.2)

---
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>
2023-06-05 21:59:18 +00:00