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

transfer function Preservation is changed to Expendable #7243

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

dhirajs0
Copy link

Description

Fixes #7039

The Preservation of transfer method of fungible and fungibles adapters is changed from Preserve to Expendable. So the behavior of the TransferAsset will be consistent with the WithdrawAsset function, as in fungible and fungibles adapter.

This pull request includes changes to the fungible_adapter.rs and fungibles_adapter.rs files in the polkadot/xcm/xcm-builder directory. The main change involves modifying the transfer method to use the Expendable strategy instead of the Preserve strategy.

Changes to transfer strategy:

@cla-bot-2021
Copy link

cla-bot-2021 bot commented Jan 19, 2025

User @dhirajs0, please sign the CLA here.

@dhirajs0 dhirajs0 marked this pull request as ready for review January 19, 2025 17:13
@dhirajs0 dhirajs0 requested a review from a team as a code owner January 19, 2025 17:13
prdoc/pr_7243.prdoc Outdated Show resolved Hide resolved
Co-authored-by: Francisco Aguirre <[email protected]>
Copy link
Contributor

Review required! Latest push from author must always be reviewed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fungible and fungibles adapters should allow account death like burns and mints
2 participants