-
Notifications
You must be signed in to change notification settings - Fork 708
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
pallet-xcm: enhance reserve_transfer_assets
to support remote reserves
#1672
pallet-xcm: enhance reserve_transfer_assets
to support remote reserves
#1672
Commits on Sep 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 43ef694 - Browse repository at this point
Copy the full SHA 43ef694View commit details -
pallet-xcm: filter assets teleports based on XcmExecutor configuration
Add AssetTransferFilter trait for configuring transfer types. Implement it for XcmExecutor based on existing executor teleports and reserves configuration. Filter assets on pallet-xcm::limited_teleport_assets() based on above.
Configuration menu - View commit details
-
Copy full SHA for 945b34c - Browse repository at this point
Copy the full SHA 945b34cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce215a1 - Browse repository at this point
Copy the full SHA ce215a1View commit details -
pallet-xcm: enchance reserve_transfer_assets() to support various res…
…erves 'reserve_transfer_assets()' assumed all provided `assets` (fees included) have same, local reserve. This commit enhances the extrinsic to support various scenarios: - transferring assets with reserve on destination, - transferring assets with reserve on remote/third-party chain, - transferring assets with reserve different than the reserve of the asset to be used as fees - meaning can use to transfer random asset with random reserve while using DOT for fees on all involved chains, even if local chain is NOT a reserve location of DOT (aka most chains), - transferring assets with any type of local/dest/remote reserve while using fees which can be teleported between involved chains. All of the above is done by pallet inner logic without the user having to specify which scenario/reserves/teleports/etc. The correct scenario and corresponding XCM programs are identified, and respectively, built automatically based on runtime configuration of trusted teleporters and trusted reserves. Current limitations: - while `fees` and "non-fee" `assets` CAN have different reserves (or fees CAN be teleported), the remaining "non-fee" `assets` CANNOT have different reserve locations (this is also implicitly enforced by `MAX_ASSETS_FOR_TRANSFER=2`, but this can be safely increased in the future). - `fees` and "non-fee" `assets` CANNOT have **different remote** reserves (this can also be supported in the future, but adds even more complexity while possibly not being worth it - we'll see what the future holds).
Configuration menu - View commit details
-
Copy full SHA for a5fd746 - Browse repository at this point
Copy the full SHA a5fd746View commit details -
Configuration menu - View commit details
-
Copy full SHA for c581d76 - Browse repository at this point
Copy the full SHA c581d76View commit details -
Configuration menu - View commit details
-
Copy full SHA for fe52d48 - Browse repository at this point
Copy the full SHA fe52d48View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d847e3 - Browse repository at this point
Copy the full SHA 5d847e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 026a779 - Browse repository at this point
Copy the full SHA 026a779View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4465c65 - Browse repository at this point
Copy the full SHA 4465c65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2392dd9 - Browse repository at this point
Copy the full SHA 2392dd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67daafe - Browse repository at this point
Copy the full SHA 67daafeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 88b3024 - Browse repository at this point
Copy the full SHA 88b3024View commit details -
Configuration menu - View commit details
-
Copy full SHA for 513e15a - Browse repository at this point
Copy the full SHA 513e15aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19eec17 - Browse repository at this point
Copy the full SHA 19eec17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1687c53 - Browse repository at this point
Copy the full SHA 1687c53View commit details -
Configuration menu - View commit details
-
Copy full SHA for abf029d - Browse repository at this point
Copy the full SHA abf029dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 576c770 - Browse repository at this point
Copy the full SHA 576c770View commit details -
Configuration menu - View commit details
-
Copy full SHA for 280c4b1 - Browse repository at this point
Copy the full SHA 280c4b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for bab8fc2 - Browse repository at this point
Copy the full SHA bab8fc2View commit details -
Configuration menu - View commit details
-
Copy full SHA for f7a4a2e - Browse repository at this point
Copy the full SHA f7a4a2eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f88de5e - Browse repository at this point
Copy the full SHA f88de5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f7abb0a - Browse repository at this point
Copy the full SHA f7abb0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b920ec - Browse repository at this point
Copy the full SHA 7b920ecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3130566 - Browse repository at this point
Copy the full SHA 3130566View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b17e84 - Browse repository at this point
Copy the full SHA 1b17e84View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84e213a - Browse repository at this point
Copy the full SHA 84e213aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ce00c28 - Browse repository at this point
Copy the full SHA ce00c28View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dfcd01 - Browse repository at this point
Copy the full SHA 1dfcd01View commit details
Commits on Oct 10, 2023
-
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
…et-xcm-fully-support-reserve-transfers
Configuration menu - View commit details
-
Copy full SHA for 24f9b72 - Browse repository at this point
Copy the full SHA 24f9b72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 022ef71 - Browse repository at this point
Copy the full SHA 022ef71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9827c3b - Browse repository at this point
Copy the full SHA 9827c3bView commit details
Commits on Oct 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 23588a8 - Browse repository at this point
Copy the full SHA 23588a8View commit details -
expose TransferType through XcmExecutor::traits::AssetTransferSupport…
… instead of pallet_xcm
Configuration menu - View commit details
-
Copy full SHA for 931e093 - Browse repository at this point
Copy the full SHA 931e093View commit details -
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
…et-xcm-fully-support-reserve-transfers
Configuration menu - View commit details
-
Copy full SHA for bf39726 - Browse repository at this point
Copy the full SHA bf39726View commit details
Commits on Oct 13, 2023
-
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
…et-xcm-fully-support-reserve-transfers
Configuration menu - View commit details
-
Copy full SHA for 8ac30aa - Browse repository at this point
Copy the full SHA 8ac30aaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09badd6 - Browse repository at this point
Copy the full SHA 09badd6View commit details
Commits on Oct 19, 2023
-
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
…et-xcm-fully-support-reserve-transfers
Configuration menu - View commit details
-
Copy full SHA for 648ba8a - Browse repository at this point
Copy the full SHA 648ba8aView commit details
Commits on Oct 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f8e8b4a - Browse repository at this point
Copy the full SHA f8e8b4aView commit details
Commits on Oct 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 71bd4b3 - Browse repository at this point
Copy the full SHA 71bd4b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ab90f7 - Browse repository at this point
Copy the full SHA 4ab90f7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3070994 - Browse repository at this point
Copy the full SHA 3070994View commit details -
Configuration menu - View commit details
-
Copy full SHA for f045c73 - Browse repository at this point
Copy the full SHA f045c73View commit details -
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
…et-xcm-fully-support-reserve-transfers
Configuration menu - View commit details
-
Copy full SHA for fe93ef4 - Browse repository at this point
Copy the full SHA fe93ef4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1a9709 - Browse repository at this point
Copy the full SHA d1a9709View commit details
Commits on Oct 24, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 50d844f - Browse repository at this point
Copy the full SHA 50d844fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0bf64e6 - Browse repository at this point
Copy the full SHA 0bf64e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c711961 - Browse repository at this point
Copy the full SHA c711961View commit details -
Configuration menu - View commit details
-
Copy full SHA for 67929a5 - Browse repository at this point
Copy the full SHA 67929a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd46f23 - Browse repository at this point
Copy the full SHA dd46f23View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8cbcb9 - Browse repository at this point
Copy the full SHA e8cbcb9View commit details
Commits on Oct 25, 2023
-
withdraw fees before buyexecution - still broken because of executor …
…appended ClearOrigin
Configuration menu - View commit details
-
Copy full SHA for d725103 - Browse repository at this point
Copy the full SHA d725103View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d97f19 - Browse repository at this point
Copy the full SHA 3d97f19View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac3773e - Browse repository at this point
Copy the full SHA ac3773eView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb6f53a - Browse repository at this point
Copy the full SHA cb6f53aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 560d788 - Browse repository at this point
Copy the full SHA 560d788View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3bc2d73 - Browse repository at this point
Copy the full SHA 3bc2d73View commit details
Commits on Oct 26, 2023
-
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
…et-xcm-fully-support-reserve-transfers
Configuration menu - View commit details
-
Copy full SHA for f838cd5 - Browse repository at this point
Copy the full SHA f838cd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd60203 - Browse repository at this point
Copy the full SHA bd60203View commit details
Commits on Oct 27, 2023
-
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
…et-xcm-fully-support-reserve-transfers
Configuration menu - View commit details
-
Copy full SHA for 2e71447 - Browse repository at this point
Copy the full SHA 2e71447View commit details -
Configuration menu - View commit details
-
Copy full SHA for 371ac2d - Browse repository at this point
Copy the full SHA 371ac2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b58ff0 - Browse repository at this point
Copy the full SHA 9b58ff0View commit details -
Revert "try add pallet-assets for benchmarking to rococo"
This reverts commit c82330b.
Configuration menu - View commit details
-
Copy full SHA for 942977e - Browse repository at this point
Copy the full SHA 942977eView commit details -
pallet-xcm benchmarking: most chains do not have pallet-assets, use p…
…allet-balances instead
Configuration menu - View commit details
-
Copy full SHA for 3b9965b - Browse repository at this point
Copy the full SHA 3b9965bView commit details -
Configuration menu - View commit details
-
Copy full SHA for adcd688 - Browse repository at this point
Copy the full SHA adcd688View commit details -
Configuration menu - View commit details
-
Copy full SHA for eca0c3e - Browse repository at this point
Copy the full SHA eca0c3eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b648df2 - Browse repository at this point
Copy the full SHA b648df2View commit details -
Configuration menu - View commit details
-
Copy full SHA for da7d8ff - Browse repository at this point
Copy the full SHA da7d8ffView commit details
Commits on Oct 28, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8d85faa - Browse repository at this point
Copy the full SHA 8d85faaView commit details
Commits on Oct 30, 2023
-
Update polkadot/xcm/xcm-executor/src/traits/asset_transfer.rs
Co-authored-by: Francisco Aguirre <franciscoaguirreperez@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 37552fd - Browse repository at this point
Copy the full SHA 37552fdView commit details -
Update polkadot/xcm/pallet-xcm/src/lib.rs
Co-authored-by: Francisco Aguirre <franciscoaguirreperez@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6714d39 - Browse repository at this point
Copy the full SHA 6714d39View commit details -
Configuration menu - View commit details
-
Copy full SHA for a79ed78 - Browse repository at this point
Copy the full SHA a79ed78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a61129 - Browse repository at this point
Copy the full SHA 7a61129View commit details
Commits on Oct 31, 2023
-
Update polkadot/xcm/xcm-builder/src/barriers.rs
Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0f76530 - Browse repository at this point
Copy the full SHA 0f76530View commit details -
Update polkadot/xcm/pallet-xcm/src/lib.rs
Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9d3f2dd - Browse repository at this point
Copy the full SHA 9d3f2ddView commit details -
Update polkadot/xcm/pallet-xcm/src/lib.rs
Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 9feb4b0 - Browse repository at this point
Copy the full SHA 9feb4b0View commit details -
Update polkadot/xcm/pallet-xcm/src/lib.rs
Co-authored-by: Branislav Kontur <bkontur@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0a38b70 - Browse repository at this point
Copy the full SHA 0a38b70View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02447d0 - Browse repository at this point
Copy the full SHA 02447d0View commit details -
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
…et-xcm-fully-support-reserve-transfers
Configuration menu - View commit details
-
Copy full SHA for 84e3e29 - Browse repository at this point
Copy the full SHA 84e3e29View commit details
Commits on Nov 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for b67cb0f - Browse repository at this point
Copy the full SHA b67cb0fView commit details -
Configuration menu - View commit details
-
Copy full SHA for ec87ce6 - Browse repository at this point
Copy the full SHA ec87ce6View commit details -
Configuration menu - View commit details
-
Copy full SHA for da3c12e - Browse repository at this point
Copy the full SHA da3c12eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac9bf49 - Browse repository at this point
Copy the full SHA ac9bf49View commit details -
Configuration menu - View commit details
-
Copy full SHA for e85e339 - Browse repository at this point
Copy the full SHA e85e339View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f7538d - Browse repository at this point
Copy the full SHA 9f7538dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 45279cc - Browse repository at this point
Copy the full SHA 45279ccView commit details -
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
…et-xcm-fully-support-reserve-transfers
Configuration menu - View commit details
-
Copy full SHA for 59cf104 - Browse repository at this point
Copy the full SHA 59cf104View commit details
Commits on Nov 2, 2023
-
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
…et-xcm-fully-support-reserve-transfers
Configuration menu - View commit details
-
Copy full SHA for e9c7205 - Browse repository at this point
Copy the full SHA e9c7205View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ba36f8 - Browse repository at this point
Copy the full SHA 6ba36f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7728527 - Browse repository at this point
Copy the full SHA 7728527View commit details -
Configuration menu - View commit details
-
Copy full SHA for a4089c8 - Browse repository at this point
Copy the full SHA a4089c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44e1918 - Browse repository at this point
Copy the full SHA 44e1918View commit details
Commits on Nov 3, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a59ccf3 - Browse repository at this point
Copy the full SHA a59ccf3View commit details -
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
…et-xcm-fully-support-reserve-transfers
Configuration menu - View commit details
-
Copy full SHA for 27c7cea - Browse repository at this point
Copy the full SHA 27c7ceaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 582c616 - Browse repository at this point
Copy the full SHA 582c616View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94aaffd - Browse repository at this point
Copy the full SHA 94aaffdView commit details
Commits on Nov 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fe2cb6a - Browse repository at this point
Copy the full SHA fe2cb6aView commit details
Commits on Nov 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2ebefc0 - Browse repository at this point
Copy the full SHA 2ebefc0View commit details -
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
…et-xcm-fully-support-reserve-transfers
Configuration menu - View commit details
-
Copy full SHA for 839af41 - Browse repository at this point
Copy the full SHA 839af41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 56c52f1 - Browse repository at this point
Copy the full SHA 56c52f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 669e109 - Browse repository at this point
Copy the full SHA 669e109View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba91cd6 - Browse repository at this point
Copy the full SHA ba91cd6View commit details
Commits on Nov 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8951238 - Browse repository at this point
Copy the full SHA 8951238View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd2a06f - Browse repository at this point
Copy the full SHA dd2a06fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d67ea1 - Browse repository at this point
Copy the full SHA 6d67ea1View commit details -
Configuration menu - View commit details
-
Copy full SHA for db1e826 - Browse repository at this point
Copy the full SHA db1e826View commit details -
Configuration menu - View commit details
-
Copy full SHA for 54d7465 - Browse repository at this point
Copy the full SHA 54d7465View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39e7b66 - Browse repository at this point
Copy the full SHA 39e7b66View commit details
Commits on Nov 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ceddec5 - Browse repository at this point
Copy the full SHA ceddec5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f78c73 - Browse repository at this point
Copy the full SHA 7f78c73View commit details -
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
…et-xcm-fully-support-reserve-transfers
Configuration menu - View commit details
-
Copy full SHA for 45131b1 - Browse repository at this point
Copy the full SHA 45131b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb8226d - Browse repository at this point
Copy the full SHA cb8226dView commit details -
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
…et-xcm-fully-support-reserve-transfers
Configuration menu - View commit details
-
Copy full SHA for d0c8944 - Browse repository at this point
Copy the full SHA d0c8944View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5522e4 - Browse repository at this point
Copy the full SHA c5522e4View commit details
Commits on Nov 13, 2023
-
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
…et-xcm-fully-support-reserve-transfers
Configuration menu - View commit details
-
Copy full SHA for 9827904 - Browse repository at this point
Copy the full SHA 9827904View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cc32e3 - Browse repository at this point
Copy the full SHA 0cc32e3View commit details