Commit Graph

900 Commits

Author SHA1 Message Date
dependabot[bot] 612d44c829 Bump proc-macro-crate from 1.1.3 to 1.2.1 (#1539)
Bumps [proc-macro-crate](https://github.com/bkchr/proc-macro-crate) from 1.1.3 to 1.2.1.
- [Release notes](https://github.com/bkchr/proc-macro-crate/releases)
- [Commits](https://github.com/bkchr/proc-macro-crate/commits/v1.2.1)

---
updated-dependencies:
- dependency-name: proc-macro-crate
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-12 10:31:44 +02:00
dependabot[bot] 1a092ec4a7 Bump syn from 1.0.98 to 1.0.99 (#1540)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.98 to 1.0.99.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.98...1.0.99)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-12 07:12:41 +00:00
dependabot[bot] 5107fcf29e Bump serde from 1.0.141 to 1.0.143 (#1541)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.141 to 1.0.143.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.141...v1.0.143)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-12 07:11:52 +00:00
joe petrowski 7bd426f31e Add Collectives Parachain (#1346)
* add new runtime and remove unnecessary pallets

* make runtime build

* add collectives to collator node

* sketch alliance config in runtime

* Slash handler was supposed to be commented out (for now)

* correct signature

* move to impls

* add alliance to runtime

* rustfmt

* IsReserve, remove Ping, update fn deposit

* add transaction_payment event

* Update parachains/runtimes/collectives/collectives-polkadot/src/lib.rs

Co-authored-by: Squirrel <gilescope@gmail.com>

* fmt

* add genesis config to chain spec

* fix merge

* local and dev configs only (for now)

* remove duplicate imports

* Collectives polkadot runtime to cargo workspace members (#1397)

* Collectives polkadot runtime: use unit type impl for identity verifier (#1398)

* apply fn rename

* fmt

* one less todo

* Less code in magic macros (#1407)

* Less code in magic macros

* cargo fmt

* Bench alliance (#1427)

* add benchmarks

* call one script from the other

* shebang changes so works on nixos too.

* bench in parallel as separate jobs

* hyphens can turn into underscores

* remove workaround to trigger bench

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

* enable ci jobs

* fix publish bench results jobs

* chainspecs for collectives-westend (#1441)

* initial chainspecs for collections relay chain

* plumb in the collectives-westend chainspec

* add Runtime::CollectivesWestend

* lock

* Collectives: teleport slashed assets  (#1433)

* Collectives: teleport slashed assets

* fmt

* Cargo.lock > polkadot-parachain 0.9.25

* create temp account for imbalance

* treasury acc id from pallet id

* move accounts into constants, use here junction for assets

* assets location is relay chain, accounts as parameters

* fix typos

* fix typo

* Update parachains/runtimes/collectives/collectives-polkadot/src/constants.rs

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>

* Move alliance proposal provider to impls.rs (#1464)

* Move to impls alliance proposal provider

* rustfmt

* Bumping spec version

(so that we can redeploy with slashing change.)

* cargo lock

* slurp collectives digest to make appear in release notes (#1473)

* add slurp

* Slurp better :)

* Bring some order

Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
Co-authored-by: Wilfried Kopp <wilfried@parity.io>

* reorder barrier

* Update parachains/runtimes/collectives/collectives-polkadot/src/xcm_config.rs

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

* address review

* clean construct runtime

* fmt

* looks pretty but brings in too much

Co-authored-by: Squirrel <gilescope@gmail.com>
Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com>
Co-authored-by: alvicsam <alvicsam@gmail.com>
Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: Chevdor <chevdor@users.noreply.github.com>
Co-authored-by: Wilfried Kopp <wilfried@parity.io>
Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
2022-08-11 11:11:10 +00:00
Alexander Samusev 7ca3562665 [ci] fix pipeline for polkadot-v branches (#1503)
Co-authored-by: parity-processbot <>
2022-08-11 10:09:07 +02:00
Egor_P 074818d53d add tag creation for the runtimes release candidate (#1525)
* add tag creation for the runtimes release branch

* change githab actions versions to hashes

Co-authored-by: parity-processbot <>
2022-08-11 07:13:25 +00:00
Alexander Samusev 346392e6e1 [ci] improve cancel-pipeline job (#1532)
* [ci] improve cancel-pipeline job

* fix trigger

* fix trigger

* add file to trigger

* test job fail

* fix trigger

* fix indent

* fix before_script

* add comment

* remove debuag fail from test-linux-stable
2022-08-11 08:47:02 +02:00
dependabot[bot] ad5c97172b Bump quote from 1.0.20 to 1.0.21 (#1501)
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.20 to 1.0.21.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.20...1.0.21)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-10 21:01:00 +00:00
Chevdor ff9a00bc26 CI fixes (#1510)
* Fix templates

* Same than https://github.com/paritytech/polkadot/pull/5751

Co-authored-by: parity-processbot <>
2022-08-10 21:00:19 +00:00
Wilfried Kopp 9e02fe09ba Remove category 2022-08-10 22:59:35 +02:00
Wilfried Kopp d084d638c0 Fix ports 2022-08-10 22:59:35 +02:00
Wilfried Kopp c6b1e30d3c Add delay to see node start 2022-08-10 22:59:35 +02:00
Wilfried Kopp fcb6cd2a38 Add relay to matrix 2022-08-10 22:59:35 +02:00
Wilfried Kopp f885ccfee7 Lower timeout# Please enter the commit message for your changes. Lines starting 2022-08-10 22:59:35 +02:00
Wilfried Kopp 95f4e501df Fix relay chain ref 2022-08-10 22:59:35 +02:00
Wilfried Kopp f8a21ddd5a Fix ref node 2022-08-10 22:59:35 +02:00
Wilfried Kopp e472f0d70e WIP 2022-08-10 22:59:35 +02:00
Wilfried Kopp 6f2268175c Ignore pkill outcome 2022-08-10 22:59:35 +02:00
Wilfried Kopp 4acca4112a Move script 2022-08-10 22:59:35 +02:00
Wilfried Kopp f9fafb725b Add timeout 2022-08-10 22:59:35 +02:00
Wilfried Kopp 2dea3bf869 Fix paths 2022-08-10 22:59:35 +02:00
Wilfried Kopp 9a236743fa Move down bins to a tmp folder 2022-08-10 22:59:35 +02:00
Wilfried Kopp 6c5d7310b4 typo 2022-08-10 22:59:35 +02:00
Wilfried Kopp 2655abb6d3 Remove unquired checkout 2022-08-10 22:59:35 +02:00
Wilfried Kopp 3d9bf4f721 Move to a tmp folder 2022-08-10 22:59:35 +02:00
Wilfried Kopp b829d8a176 Fix defautls 2022-08-10 22:59:35 +02:00
Wilfried Kopp 2313983371 WIP 2022-08-10 22:59:35 +02:00
Wilfried Kopp b9c838b799 Renaming to align with Polkadot 2022-08-10 22:59:35 +02:00
dependabot[bot] 8f83e01122 Bump thiserror from 1.0.31 to 1.0.32 (#1505)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.31 to 1.0.32.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.31...1.0.32)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-10 22:07:10 +02:00
dependabot[bot] 9138e5df2b Bump wasmtime from 0.38.1 to 0.38.3 (#1461)
Bumps [wasmtime](https://github.com/bytecodealliance/wasmtime) from 0.38.1 to 0.38.3.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/compare/v0.38.1...v0.38.3)

---
updated-dependencies:
- dependency-name: wasmtime
  dependency-type: indirect
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-10 20:25:48 +02:00
Roman Useinov 2d67b59602 [Fix] Some info in the release checklist (#1516)
* [Fix] Some info in the release checklist

* fix the rest of the links

* adding more details

* improve details it

* adding proxy filters to release notes

* remove proxy checks

Co-authored-by: NachoPal <ignacio.palacios.santos@gmail.com>
Co-authored-by: parity-processbot <>
2022-08-10 19:50:14 +02:00
Roman Useinov f85a56b0f7 [Fix] flaky node tests (#1534)
* [Fix] flaky node tests

* fix tokio ver

* fix errors/warnings

* fix more errors

* some fixe

* fix err

* fix arg order for the base path to work properly

* comments

* remove extra dependencies and waiting for blocks

* fix errors

* bump sleep
2022-08-10 19:27:09 +02:00
Roman Useinov fa9fabc9db [benchmarks] pr with weights master (#1522)
* [benchmarks] pr with weights

* fix weights to reflect the current master state

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
2022-08-10 13:10:20 +02:00
Nazar Mokrynskyi 47bfa4f90f Trivial networking changes for Substrate PR #11940 (#1486)
* Trivial networking changes for Substrate PR https://github.com/paritytech/substrate/pull/11940

* Apply formatting rules

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

Co-authored-by: parity-processbot <>
2022-08-09 23:59:34 +02:00
Roman Useinov 4436f2b1b6 [Fix] Benchmark build artifact folder creation (#1518) 2022-08-09 07:15:26 +00:00
Ignacio Palacios d9d19c1d53 Upgrade spec_version to 9230 and bump transaction_version for assets parachains. (#1340) (#1494)
* Transaction version bump + updated spec_version

* Reformatting issue

* Adding missing runtimes

* Upgrading contracts pallet runtime version

* Upgrading Seedling runtime

* Bump polkadot-parachain version

Co-authored-by: Wilfried Kopp <wilfried@parity.io>

Co-authored-by: Hector Bulgarini <hbulgarini@gmail.com>
Co-authored-by: Wilfried Kopp <wilfried@parity.io>
2022-08-08 17:02:50 +02:00
Nikos Kontakis f545af2a81 Renaming CLI prunning and keep-blocks flags (#1514)
* Rename keep blocksflag

* Add correct use of BlocksPruning

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

Co-authored-by: parity-processbot <>
2022-08-08 14:22:57 +00:00
dependabot[bot] 6ad411a5fe Bump tracing from 0.1.35 to 0.1.36 (#1495)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.35 to 0.1.36.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.35...tracing-0.1.36)

---
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-08-04 22:24:26 +02:00
dependabot[bot] dff1ed159c Bump dyn-clone from 1.0.8 to 1.0.9
Bumps [dyn-clone](https://github.com/dtolnay/dyn-clone) from 1.0.8 to 1.0.9.
- [Release notes](https://github.com/dtolnay/dyn-clone/releases)
- [Commits](https://github.com/dtolnay/dyn-clone/compare/1.0.8...1.0.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-04 16:15:55 +02:00
dependabot[bot] 278e0ebde3 Bump async-trait from 0.1.56 to 0.1.57 (#1493)
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.56 to 0.1.57.
- [Release notes](https://github.com/dtolnay/async-trait/releases)
- [Commits](https://github.com/dtolnay/async-trait/compare/0.1.56...0.1.57)

---
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-08-04 10:56:41 +00:00
dependabot[bot] 1c6ba1cae5 Bump cranelift-codegen from 0.85.1 to 0.85.3 (#1466)
Bumps [cranelift-codegen](https://github.com/bytecodealliance/wasmtime) from 0.85.1 to 0.85.3.
- [Release notes](https://github.com/bytecodealliance/wasmtime/releases)
- [Changelog](https://github.com/bytecodealliance/wasmtime/blob/main/docs/WASI-some-possible-changes.md)
- [Commits](https://github.com/bytecodealliance/wasmtime/commits)

---
updated-dependencies:
- dependency-name: cranelift-codegen
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-04 10:28:35 +00:00
Giles Cope c58a7ec911 and again 2022-08-04 12:26:07 +02:00
Giles Cope e243f5e92c There's already one directly below 2022-08-04 12:26:07 +02:00
Giles Cope ddb8690a7e if not in a subdir... 2022-08-04 12:26:07 +02:00
Giles Cope 2823e29388 another shot 2022-08-04 12:26:07 +02:00
Giles Cope 4a172317a4 broader scope 2022-08-04 12:26:07 +02:00
Giles Cope 70bbf38dde Like polkadot, save context.json as an artifact 2022-08-04 12:26:07 +02:00
Giles Cope dd3762bb5a adapt to subwasm version output format change 2022-08-04 12:26:07 +02:00
Bernhard Schuster 3f01d04ad2 chore; don't require default features for cli (#1497)
* don't require default features for an API crate

Let the consumer define by overriding the features for the inner deps as needed.
Cargo feature resolution allows this.

Ref https://github.com/paritytech/polkadot/pull/5792

* Update client/relay-chain-inprocess-interface/Cargo.toml

Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
2022-08-04 09:46:01 +00:00
girazoki 8f2a3a5077 Statemint runtimes to accept sufficient assets as xcm fee payment (#1278)
* point to my branch

* girazoki-add-TakeFirstAssetTrader-to-utility

* Commit lock

* point at custom branch

* add new trader to statemine runtimes

* compiles

* Back to master

* Update last tomls

* Imports up

* remove non-needing imports

* FMT

* log messages properly

* Use TakeRevenue instead of HandleCredit

* Introduce xcm fee handler

* check total supply in tests

* FMT

* fix test

* Start decoupling balance calculation into different traits

* Make traits a bit more generic

* PR suggestions

* add import

* import well

* Place xcmfeesassethandler into parachains common

* fix tests

* config parameters

* Min amount to fee receiver

* Make minimum amount for block author to be at least the ED

* Doc in AssetFeeAsExistentialDepositMultiplier

* saturating sub

* make sure we dont enter twice

* FMT

* fmt again

* adapt tests

* Add doc and struct for weight refund

* Doc

* More doc

* PR suggestions

* store all info related to asset payment as multiasset

* return AssetNotFound instead of TooExpensive

* Use asset transactor to deposit fee

* uninstall from statemint

* R for RUntime and CON for BalanceConverter

* Rework logic to avoid unnecesary match and error

* Rework ED check, also in case of refund

* rework typo

* In case refund makes drop below ED, just refund the difference

* fix test westmint

* clone id

* move test imports to preamble

* move test imports to preamble

* test-utils with builderS

* lock file updated

* remove unused imports

Co-authored-by: Stephen Shelton <steve@brewcraft.org>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: joepetrowski <joe@parity.io>
2022-08-03 16:04:13 +00:00