Ignacio Palacios
241601b1c1
[xcm-emulator] Improve hygiene and clean up ( #1301 )
...
* improve hygiene & clean up
* improve hygiene & clean up - xcm-emulator
* improve hygiene & clean up - common
* improve hygiene & clean up - tests
* improve hygiene & clean up - tests 2
* last hygiene bits
* ".git/.scripts/commands/fmt/fmt.sh"
---------
Co-authored-by: command-bot <>
2023-09-01 12:44:06 +02:00
Lulu
31c79470a3
Rename squatted crates ( #1241 )
...
* Rename squatted crates
This commit adds the staging- prefix to squatted crates so we can go forward and publish them to crates.io.
Using the staging- prefix is a temp fix until we decide on replacement names.
https://forum.parity.io/t/renaming-squated-crates-in-substrate-polkadot-cumulus/1964/6
* Fix test after crate renames
* Update Lockfile
2023-08-30 17:57:49 +03:00
Lulu
1c7ef1f232
Set test crates to nopublish ( #1240 )
...
* Set test crates to nopublish
* Don't publish more crates
* Set even more crates to nopublish
---------
Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-08-29 21:40:33 +02:00
Oliver Tale-Yazdi
dcda0e50f5
Fix build profiles ( #1229 )
...
* Fix build profiles
Closes https://github.com/paritytech/polkadot-sdk/issues/1155
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Manually set version to 1.0.0
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* Use workspace repo
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
* 'Authors and Edition from workspace
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
---------
Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io >
2023-08-29 13:39:41 +02:00
alvicsam
f441a5fc93
Diener workspacify
...
Signed-off-by: alvicsam <alvicsam@gmail.com >
2023-08-25 11:05:17 +02:00
dependabot[bot]
6b07f1306f
Bump log from 0.4.19 to 0.4.20 ( #3009 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.19 to 0.4.20.
- [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.19...0.4.20 )
---
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-08-15 23:02:53 +02:00
Ignacio Palacios
eadfbca388
Replicate e2e integration test as emulated ( #2958 )
...
* Allow functions to work over both parachains and relay chains
* additional references
* import
* backup
* refactoring para and relay traits
* use runtime crates to build types
* decouple ProcessMessage
* decouple ProcessMessage 2
* dmp and xcmp handlers decouple
* backup
* refactor done
* common int values working
* added global ext with mutex
* works for two mutex
* single mutex and remove condvar
* global test ext done
* failing moving test_ext because relay block num
* relay_block_number issue fixed
* backup
* Test working with assertions
* assertions get Test as arg
* DispatchArgs as generic
* clean up
* backup
* teleports for asset-hub-kusama done
* improve assert_expected_events macro
* rename Test generics
* check assertions for tuples
* test assertions redone
* reserve_transfer_assets done
* send transact done
* hrmp test for paras
* hrmp channels test done
* hrmp channels test done 2
* before modifying test dispatch
* reserve tests done & Test dispatch fixed
* reserve transfer local asset
* force_create_and_mint_asset
* force create and mint done
* tests done
* fix imports in common
* common events refactored
* add option to events attributes
* asset-hub-polkadot tests done
* asset-hub-westend half done
* relay chain events move to common
* remove failing send tests for asset-hub-westend
* added events to bridge-hub-rococo
* added events to collectives-polkadot
* cargo clean up
* fix asset-hub-westend tests
* ".git/.scripts/commands/fmt/fmt.sh"
* fix clippy
* ".git/.scripts/commands/fmt/fmt.sh"
* Removed unnecessary deps
* Extracted some commonality for Kusama/Polkadot (which will be reused also for BridgeHubs) (#2971 )
* Extracted some commonality for Kusama/Polkadot (which will be reused also for BridgeHubs)
* AssetHubRococo should better use AssetHubKusama runtime
* add fund_account
---------
Co-authored-by: NachoPal <ignacio.palacios.santos@gmail.com >
* address comments
* rename event assertion helpers
* clean comments
* address comments 2
* ".git/.scripts/commands/fmt/fmt.sh"
---------
Co-authored-by: Giles Cope <gilescope@gmail.com >
Co-authored-by: command-bot <>
Co-authored-by: Branislav Kontur <bkontur@gmail.com >
2023-08-10 19:38:18 +02:00
dependabot[bot]
c4512f79a4
Bump quote from 1.0.31 to 1.0.32 ( #2939 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.31 to 1.0.32.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.31...1.0.32 )
---
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-07-27 13:36:58 +00:00
Xiliang Chen
688aa88570
improve deps for xcm-emulator ( #2925 )
...
* improve deps for xcm-emulator
* ".git/.scripts/commands/fmt/fmt.sh"
---------
Co-authored-by: command-bot <>
2023-07-25 13:52:55 +00:00
dependabot[bot]
781b9326da
Bump quote from 1.0.30 to 1.0.31 ( #2895 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.30...1.0.31 )
---
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-07-19 16:34:09 +02:00
dependabot[bot]
18340b304b
Bump paste from 1.0.13 to 1.0.14 ( #2896 )
...
Bumps [paste](https://github.com/dtolnay/paste ) from 1.0.13 to 1.0.14.
- [Release notes](https://github.com/dtolnay/paste/releases )
- [Commits](https://github.com/dtolnay/paste/compare/1.0.13...1.0.14 )
---
updated-dependencies:
- dependency-name: paste
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-07-19 11:48:09 +02:00
dependabot[bot]
b1cd6bcd39
Bump quote from 1.0.29 to 1.0.30 ( #2887 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.29...1.0.30 )
---
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-07-17 23:02:38 +00:00
dependabot[bot]
c225896590
Bump paste from 1.0.12 to 1.0.13 ( #2822 )
...
Bumps [paste](https://github.com/dtolnay/paste ) from 1.0.12 to 1.0.13.
- [Release notes](https://github.com/dtolnay/paste/releases )
- [Commits](https://github.com/dtolnay/paste/compare/1.0.12...1.0.13 )
---
updated-dependencies:
- dependency-name: paste
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-07-05 11:46:37 +00:00
Ignacio Palacios
f6b33fe927
Add Bridges to xcm-emulator ( #2812 )
...
* rename bridge hub + BridgeMessages type
* bridge base
* bridge string approach
* add decl_test_bridges macro
* outbound lanes on the way
* get & dispatch mock bridge done
* fix bridge errors + log::debug for messages
* clean up
* update source OutboundLaneData
* rococo & wococo added
* sender_receiver_accounts_parameter_types macro
* sender_receiver_accounts_parameter_types macro 2
* fixed multi parachain + example on the way
* working but router error
* bridge working
* refactor NetworkComponent
* make it generic
* working as generic
* clean up
* last bit
* ".git/.scripts/commands/fmt/fmt.sh"
* fix bridge hub handler name
* ".git/.scripts/commands/fmt/fmt.sh"
* add AssetConversion back for AssetHubWestend
* Update xcm/xcm-emulator/src/lib.rs
Co-authored-by: Squirrel <gilescope@gmail.com >
* add LaneId wrapper
* update substrate
* fix wrapper conversion
* remove duplicate in workspace
* Revert "update substrate"
This reverts commit 92e8f201ae433aed3f70b998ebd4c23d9168d0ee.
* ".git/.scripts/commands/fmt/fmt.sh"
---------
Co-authored-by: command-bot <>
Co-authored-by: Squirrel <gilescope@gmail.com >
2023-07-05 09:39:08 +00:00
dependabot[bot]
89df09e2a0
Bump quote from 1.0.28 to 1.0.29 ( #2799 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.28 to 1.0.29.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.28...1.0.29 )
---
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-06-30 01:15:20 +02: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]
0c5038e556
Bump log from 0.4.17 to 0.4.18 ( #2651 )
...
Bumps [log](https://github.com/rust-lang/log ) from 0.4.17 to 0.4.18.
- [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.17...0.4.18 )
---
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-05-31 04:51:12 +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
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
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
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