Commit Graph

1478 Commits

Author SHA1 Message Date
dependabot[bot] 4899e4e9da Bump ruby/setup-ruby from 1.149.0 to 1.150.0 (#2618)
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.149.0 to 1.150.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](https://github.com/ruby/setup-ruby/compare/7d546f4868fb108ed378764d873683f920672ae2...8a45918450651f5e4784b6031db26f4b9f76b251)

---
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-05-29 12:06:25 +00:00
Alexandru Vasile d73bdbd3c3 Companion for #14237: Use latest sp-crates (#2643)
* Update cargo.lock

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

* Update cargo.lock

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

* Update cargo.lock

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

---------

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
2023-05-29 11:32:27 +00:00
Ignacio Palacios f9479b78b2 Glutton script chain spec generator (#2638)
* added script

* create_glutton_spec script done

* made script for many paras

* comment fix

* comment fix

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

* update docs

* check jq installed

---------

Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
2023-05-29 11:40:25 +02:00
dependabot[bot] 6c9315698c Bump bumpalo from 3.8.0 to 3.12.0 (#2120)
Bumps [bumpalo](https://github.com/fitzgen/bumpalo) from 3.8.0 to 3.12.0.
- [Release notes](https://github.com/fitzgen/bumpalo/releases)
- [Changelog](https://github.com/fitzgen/bumpalo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fitzgen/bumpalo/compare/3.8.0...3.12.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: parity-processbot <>
2023-05-28 14:03:07 +00:00
dependabot[bot] e7206ad9b7 Bump peaceiris/actions-gh-pages from 3.9.0 to 3.9.3 (#2412)
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3.9.0 to 3.9.3.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/de7ea6f8efb354206b205ef54722213d99067935...373f7f263a76c20808c831209c920827a82a2847)

---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
  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-05-28 13:09:39 +00:00
dependabot[bot] e6abd4a031 Bump criterion from 0.5.0 to 0.5.1 (#2645)
Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.5.0 to 0.5.1.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.5.0...0.5.1)

---
updated-dependencies:
- dependency-name: criterion
  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-05-28 13:07:49 +00:00
dependabot[bot] f2787faa04 Bump proc-macro2 from 1.0.58 to 1.0.59 (#2647)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.58 to 1.0.59.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.58...1.0.59)

---
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-05-28 13:06:38 +00:00
dependabot[bot] b0d1504a36 Bump quote from 1.0.27 to 1.0.28 (#2646)
Bumps [quote](https://github.com/dtolnay/quote) from 1.0.27 to 1.0.28.
- [Release notes](https://github.com/dtolnay/quote/releases)
- [Commits](https://github.com/dtolnay/quote/compare/1.0.27...1.0.28)

---
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>
2023-05-27 20:15:33 +00:00
ordian 4ed61f9d31 polkompanion 6667: past session slashing (#2160)
* polkompanion 6667: past session slashing

* fix imports

* fix incorrect merge

* implement staging methods on RPC client

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

---------

Co-authored-by: parity-processbot <>
2023-05-26 10:13:54 +00:00
Michal Kucharczyk 4909cbb5b1 pallets: implement Default for GenesisConfig in no_std (#2624)
* pallets: implement Default for GenesisConfig in no_std

This change is follow-up of: https://github.com/paritytech/substrate/pull/14108

It is a step towards: https://github.com/paritytech/substrate/issues/13334

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

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

---------

Co-authored-by: command-bot <>
2023-05-25 23:03:13 +00:00
Marcin S 972814a2be Companion for Polkadot 7253 (#2621)
* Companion for Polkadot #7253

Polkadot PR: https://github.com/paritytech/polkadot/pull/7253

* Update Cargo.lock

* Update Cargo.lock

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

---------

Co-authored-by: parity-processbot <>
2023-05-25 21:07:56 +00:00
Gavin Wood ec21c0a24d Companion for polkadot#7234 (XCM: Tools for uniquely referencing messages) (#2601)
* Fixes for new API

* Formatting

* Fixes

* Fixes

* Further fixes

* XCMP dispatch events mention message ID

* XCMP event includes ID

* Add DMP message ID functionality

* Integrate into test parachains

* Remove WithUniqueTopic usage

* Use new primitive

* Formatting

* undiener

* Revert lock

* Fixes

* Fixes

* Fixes

* Fixes

* Formatting

* message_hash becomes message_id

* Rename

* Another Rename

* Fixes

* Fix

* Bump

* Fixes

* Grumble.
2023-05-25 16:52:38 +01:00
Squirrel febea66397 bump substrate version (#2640) 2023-05-25 15:23:48 +00:00
Javier Viola b1ba2b05bc bump zombienet version (#2637) 2023-05-25 12:08:35 -03:00
Squirrel 2e57218fe5 fix typo (#2635) 2023-05-25 06:28:34 +00:00
Bastian Köcher 490ab62a6d Companion for: Substrate#13869 (#2631)
* Companion for: Substrate#13869

https://github.com/paritytech/substrate/pull/13869

* Fix

* Warning

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

---------

Co-authored-by: parity-processbot <>
2023-05-24 23:19:28 +00:00
dependabot[bot] 3caca86966 Bump clap from 4.2.7 to 4.3.0 (#2634)
Bumps [clap](https://github.com/clap-rs/clap) from 4.2.7 to 4.3.0.
- [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.2.7...clap_complete-v4.3.0)

---
updated-dependencies:
- dependency-name: clap
  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-05-24 21:49:34 +00:00
Ignacio Palacios 5c91c70b78 Update & revamp e2e tests (#2614)
* update & revamp e2e tests

* add seeds as comments

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

---------

Co-authored-by: command-bot <>
2023-05-24 20:07:22 +02:00
dependabot[bot] 7c884813c3 Bump criterion from 0.4.0 to 0.5.0 (#2628)
Bumps [criterion](https://github.com/bheisler/criterion.rs) from 0.4.0 to 0.5.0.
- [Changelog](https://github.com/bheisler/criterion.rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bheisler/criterion.rs/compare/0.4.0...0.5.0)

---
updated-dependencies:
- dependency-name: criterion
  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-05-24 14:02:21 +02:00
Squirrel 5bc3f207b7 add statemine emulator tests (#2630)
* fix typo

* statemine tests

* fix statemine tests

* cargo fmt, update readme
2023-05-24 11:54:40 +00:00
Branislav Kontur 286f727705 Updated README.md for bridges (#2629)
* Updated README.md

* Update BRIDGES.md

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

---------

Co-authored-by: Squirrel <gilescope@gmail.com>
2023-05-24 10:51:30 +00:00
Alexandru Vasile 15bcea040c Companion for #14178: Update cargo.lock to point to substrate (#2623)
* Update cargo.lock to point to substrate PR

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

* Update sc-executor-wasmtime after diener patch

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

* Update cargo.lock

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>

---------

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
2023-05-24 10:05:56 +00:00
Branislav Kontur 45e4370a27 Change SA for Rococo/Statemine_1000 + removed CheckedExtrinsic (#2627) 2023-05-23 21:32:47 +02:00
joe petrowski 0224d1420b Add Foreign Assets to Statemint (#2540)
* add foreign assets to statemint

* make review changes

* two dots

---------

Co-authored-by: parity-processbot <>
2023-05-23 15:13:19 +00:00
dependabot[bot] a666f0f54e Bump casey from 0.3.3 to 0.4.0 (#2619)
Bumps [casey](https://github.com/jordy25519/casey) from 0.3.3 to 0.4.0.
- [Release notes](https://github.com/jordy25519/casey/releases)
- [Changelog](https://github.com/jordy25519/casey/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jordy25519/casey/compare/0.3.3...0.4.0)

---
updated-dependencies:
- dependency-name: casey
  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-05-23 17:07:20 +02:00
Ignacio Palacios 1559fee4b3 Companion for substrate#14188 (Add genesis config to Glutton pallet) (#2612)
* sudo + genesis for glutton

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

* add AdminOrigin to glutton

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

* update Cargo.lock

---------

Co-authored-by: command-bot <>
2023-05-23 16:55:28 +02:00
Squirrel bb307879ed Use default for test relay runtimes (#2616) 2023-05-23 14:53:23 +00:00
yjh 87a72158b7 use WasmExecutionMethod::default() (#2622) 2023-05-23 16:19:15 +02:00
dependabot[bot] 5fcf9cecbe Bump Swatinem/rust-cache from 2.3.0 to 2.4.0 (#2617)
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.3.0 to 2.4.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/060bda31e0be4f453bb6ed2d7e5427b31734ad01...988c164c3d0e93c4dbab36aaf5bbeb77425b2894)

---
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-05-23 14:53:28 +02:00
Koute afd1192898 Do not assume AssetIds are Copy (companion for substrate#14158) (#2586)
* Do not assume `AssetId`s are `Copy`

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

---------

Co-authored-by: parity-processbot <>
2023-05-23 12:09:45 +00:00
Jegor Sidorenko 93b30fe8d8 NFT Fractionalization on Westmint (#2600)
* NFT Fractionalization on Westmint

* Typos

* One more typo

* Undo Cargo.lock

* Point to master

* Referense the first instance of the assets pallet

* Update cargo.lock

---------

Co-authored-by: parity-processbot <>
2023-05-23 11:04:44 +00:00
Sergej Sakac 4023f519b6 Try-runtime proper return types (#2615)
* Try-runtime proper return types

* update

* update pallet-xcm
2023-05-23 09:59:52 +00:00
Jegor Sidorenko 79d5691170 Nfts on Statemint (#2595) 2023-05-23 09:35:02 +00:00
Squirrel 55b9bd61c9 Update substrate/polkadot + needed changes to compile (#2613)
* Update substrate/polkadot + needed changed to compile

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

---------

Co-authored-by: command-bot <>
2023-05-22 17:05:30 +00:00
Bastian Köcher 64d43ecf7d Chainspecs: Fix bootnode address (#2611) 2023-05-22 13:10:13 +02:00
dependabot[bot] 80d57b876b Bump Swatinem/rust-cache from 2.2.1 to 2.3.0 (#2582)
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 2.2.1 to 2.3.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/6fd3edff6979b79f87531400ad694fb7f2c84b1f...060bda31e0be4f453bb6ed2d7e5427b31734ad01)

---
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-05-22 12:40:58 +02:00
dependabot[bot] 9074f52fef Bump ruby/setup-ruby from 1.148.0 to 1.149.0 (#2581)
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.148.0 to 1.149.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Commits](https://github.com/ruby/setup-ruby/compare/d2b39ad0b52eca07d23f3aa14fdf2a3fcc1f411c...7d546f4868fb108ed378764d873683f920672ae2)

---
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-05-22 12:40:43 +02:00
yjh cee10575f2 update WasmExecutionMethod (#2599) 2023-05-21 23:31:34 +02:00
Bastian Köcher 3a20b3d702 Switch to relay_dispatch_queue_remaining_capacity (#2608)
* Switch to `relay_dispatch_queue_remaining_capacity`

This switches the parachain runtimes to use `relay_dispatch_queue_remaining_capacity` when possible.
If the data is not yet available on the relay chain it falls back to `relay_dispatch_queue_size`. It
will require that all parachains migrate to `relay_dispatch_queue_remaining_capacity` before we can
start removing the call to `relay_dipatch_queue_size`.

Besides that the pr adapts the xcm exumulator to make it work with the message queue.

* Fix test and use correct types

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

---------

Co-authored-by: command-bot <>
2023-05-21 22:23:18 +02:00
Oliver Tale-Yazdi 5ca30a3c4f Update syn (#2605)
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
2023-05-20 10:20:30 +00:00
S E R A Y A 0516e57c57 Update README.md (#2603)
fix broken link
2023-05-19 20:39:23 +02:00
Roman Useinov 944ab483d5 [Feature] XCM-Emulator (#2447)
* [Feature] XCM-Emulator

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

* rename

* readme

* more rename

* rename directory

* implement AssetTransactor

* Update xcm/xcm-emulator/README.md

Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com>

* address review comments (#2502)

* Update xcm/xcm-emulator/example/src/lib.rs

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

* Update xcm/xcm-emulator/README.md

* Use 2d weights.

* Point out nearer the failure why it should fail

* Move test-runtime to under examples

* Walk through how to use it

* proof needs to be non-zero

* Apply suggestions from code review

* Update xcm/xcm-emulator/README.md

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

* Improve xcm emulator (#2593)

* folder restructutre

* common created

* make macros repetitions

* messenger traits for relay and para

* default Messenger impls

* messenger traits refactor

* declared two networks

* init network approach works

* queues use HashMap but relay block number

* init and reset refactor

* messengers trait name changed

* relay block number suboptimal

* fix reset hashmap keys

* genesis added

* test ext added for parachains

* genesis added relay chains

* genesis to storage

* new_ext replaced by on_init

* new relay block number approach

* ext_wrapper added

* added types to Parachain trait

* relay chain with types

* restructure

* para_ids working

* replace para_id getter

* replace para_id getter 2

* tests restructure + common variables

* added sovereign and balances helpers

* more helpers + tess pass

* expected events macro added

* added events trait method

* expect_events macro improve

* expect_events macro done

* network traits added

* reserve_transfer test added

* para & relay macro inputs redefined

* added collectives & BH paras

* test restructure

* statemine removed

* nitpick

* rename test folder + events logs

* clean

* weight threshold helper

* update readme

* remove cumulus-test-service dependancy

* fmt

* comment docs

* update e2e tests to xcm v3

* clippy + runtime-benchmark + clean docs

---------

Co-authored-by: command-bot <>
Co-authored-by: Muharem Ismailov <ismailov.m.h@gmail.com>
Co-authored-by: Squirrel <gilescope@gmail.com>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
Co-authored-by: Ignacio Palacios <ignacio.palacios.santos@gmail.com>
2023-05-19 17:53:41 +00:00
Branislav Kontur 8425e2a5c0 Removed Cargo.lock from subtreee (#2604) 2023-05-19 15:00:38 +00:00
Branislav Kontur a622388c3c Bump bridges (#2602)
* Squashed 'bridges/' changes from 0f6091d481..c9dd8b9dfc

c9dd8b9dfc expose test utilities to be used in BH paras (#2142)
334df22361 Ws-port argument has been repalced with rpc-port (#2140)
106173cb91 fix nodes startup (#2138)

git-subtree-dir: bridges
git-subtree-split: c9dd8b9dfc8b48014d119153032589ac39c18c9a

* tmp
2023-05-19 14:11:27 +00:00
dependabot[bot] 8756807964 Bump toml from 0.7.3 to 0.7.4 (#2598)
Bumps [toml](https://github.com/toml-rs/toml) from 0.7.3 to 0.7.4.
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.3...toml-v0.7.4)

---
updated-dependencies:
- dependency-name: toml
  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-05-18 21:42:11 +00:00
Adrian Catangiu 4e4799927a BridgeHub[Rococo/Wococo] test batched relaying of messages and their dispatch (#2578)
Added some tests that aim to cover the runtime configuration
that is exercised when BH receives relayed complex message.

* checks correct importing of proofs for:
  bridged chain finality, bridged para heads, bridged messages,
* checks relayer extension correctly configured to reward
  submitting relayer,
* checks relayed message is successfully dispatched.

Also moved generic test-utils from
  `asset-test-utils: parachains/runtimes/assets/test-utils`
one level up to new crate
  `parachains-runtimes-test-utils: parachains/runtimes/test-utils`
to be reused by BridgeHubs.

Signed-off-by: acatangiu <adrian@parity.io>
Co-authored-by: Branislav Kontur <bkontur@gmail.com>
2023-05-18 18:10:36 +03:00
dependabot[bot] 93cf3908e0 Bump proc-macro2 from 1.0.56 to 1.0.58 (#2592)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.56 to 1.0.58.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.56...1.0.58)

---
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-05-17 21:46:57 +00:00
dependabot[bot] 5fb86be53f Bump scale-info from 2.6.0 to 2.7.0 (#2587)
Bumps [scale-info](https://github.com/paritytech/scale-info) from 2.6.0 to 2.7.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.7.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-05-17 22:06:40 +02:00
Joakim Nyman 3c8d664714 Added Dwellir bootnodes. (#2557) 2023-05-17 21:28:26 +02:00
Branislav Kontur ba216c1a18 Bump polkadot (#2589) 2023-05-17 10:19:38 +00:00