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
2e57218fe5
fix typo ( #2635 )
2023-05-25 06:28:34 +00: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
Squirrel
bb307879ed
Use default for test relay runtimes ( #2616 )
2023-05-23 14:53:23 +00: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