Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Comments

Make xcm-simulator async with more tests#3618

Merged
7 commits merged intoparitytech:masterfrom
4meta5:amar-extend-xcm-simulator
Aug 17, 2021
Merged

Make xcm-simulator async with more tests#3618
7 commits merged intoparitytech:masterfrom
4meta5:amar-extend-xcm-simulator

Conversation

@4meta5
Copy link
Contributor

@4meta5 4meta5 commented Aug 10, 2021

Takes work from #3546 and puts them on top of master.

Adds tests from #3537 to xcm-simulator (except teleport_assets)

Also makes message processing asynchronous and pulls it out from the test externalities environment to allow for the processing of messages that go back to the origin chain. The previous implementation ran into borrowing issues in the underlying RefCells when sending messages back to the origin. Messages are processed after the closure passed to test_ext.execute_with().

@4meta5
Copy link
Contributor Author

4meta5 commented Aug 10, 2021

Request review by @shaunxw @kianenigma @apopiak @shawntabrizi and anyone else interested in the xcm-simulator

cc @girazoki for test examples using xcm-simulator

Copy link
Contributor

@apopiak apopiak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@apopiak apopiak mentioned this pull request Aug 11, 2021
@apopiak apopiak added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Aug 12, 2021
@apopiak apopiak requested review from KiChjang and gavofyork August 13, 2021 14:17
4meta5 and others added 2 commits August 14, 2021 18:44
@apopiak apopiak requested a review from shawntabrizi August 16, 2021 08:13
@apopiak
Copy link
Contributor

apopiak commented Aug 16, 2021

Let's get this in soon?

@4meta5
Copy link
Contributor Author

4meta5 commented Aug 17, 2021

The previous PR which contained the same code (#3546 ) was approved by shaunxw and kianenigma . This PR is approved by @apopiak and was reviewed by keith.

Is there anything blocking this @shawntabrizi ?

@shawntabrizi
Copy link
Member

bot merge

@ghost
Copy link

ghost commented Aug 17, 2021

Trying merge.

@ghost ghost merged commit 83d18b4 into paritytech:master Aug 17, 2021
@4meta5 4meta5 deleted the amar-extend-xcm-simulator branch August 17, 2021 23:09
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants