Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use barrier from the polkadot-sdk for XCM asset transfer #2530

Merged
merged 4 commits into from
Oct 30, 2023

Conversation

noandrea
Copy link
Collaborator

The barrier override was introduced as a workaround to execute multi-asset XCM transfer since the limit was set to 1 upstream, but it has since been updated to 2.

What does it do?

Remove the override and replace it using the one from upstream

@noandrea noandrea added B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit not-breaking Does not need to be mentioned in breaking changes labels Oct 18, 2023
@noandrea noandrea force-pushed the noandrea-xcm-barrier-from-upstream branch from 326a5cc to 6910093 Compare October 18, 2023 21:47
@github-actions
Copy link
Contributor

github-actions bot commented Oct 18, 2023

Coverage generated "Wed Oct 18 22:55:11 UTC 2023":
https://d3ifz9vhxc2wtb.cloudfront.net/pulls/2530/html/index.html

Master coverage: 87.39%
Pull coverage:

the barrier override was introduced as a workarodund
to execute multi asset XCM transfer since the limit was set
to 1 upstrea, but it has since updated to 2.
@noandrea noandrea force-pushed the noandrea-xcm-barrier-from-upstream branch from 6910093 to a90f6b0 Compare October 18, 2023 22:22
@rimbi
Copy link
Contributor

rimbi commented Oct 19, 2023

Did we include the corresponding change in the upstream polkadot-sdk?

@rimbi
Copy link
Contributor

rimbi commented Oct 19, 2023

It would also be nice to apply the same change in orml.

@noandrea noandrea marked this pull request as draft October 19, 2023 09:43
noandrea and others added 3 commits October 24, 2023 09:51
transferring more than one ERC20 token is not currently supported,
and the test for a single ERC20 transfer is already implemented in
test-xcm-erc20-transfer.ts
@noandrea noandrea marked this pull request as ready for review October 30, 2023 16:36
@noandrea noandrea merged commit c12d7a4 into master Oct 30, 2023
27 of 28 checks passed
@noandrea noandrea deleted the noandrea-xcm-barrier-from-upstream branch October 30, 2023 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B7-runtimenoteworthy Changes should be noted in any runtime-upgrade release notes D3-trivial PR contains trivial changes in a runtime directory that do not require an audit not-breaking Does not need to be mentioned in breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants