-
Notifications
You must be signed in to change notification settings - Fork 1.1k
pallet-xcm: enhance reserve_transfer_assets to support remote reserves
#1672
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
Merged
acatangiu
merged 115 commits into
paritytech:master
from
acatangiu:pallet-xcm-fully-support-reserve-transfers
Nov 13, 2023
Merged
Changes from 1 commit
Commits
Show all changes
115 commits
Select commit
Hold shift + click to select a range
43ef694
asset-hubs runtimes: add xcm reserve transfer tests
acatangiu 945b34c
pallet-xcm: filter assets teleports based on XcmExecutor configuration
acatangiu ce215a1
xcm: MultiLocation: add .chain_location() helper function
acatangiu a5fd746
pallet-xcm: enchance reserve_transfer_assets() to support various res…
acatangiu c581d76
use correct fees beneficiary on assets reserve chain
acatangiu fe52d48
build dest-reserve and remote-reserve XCM programs
acatangiu 5d847e3
deduplicate teleport and reserve transfer tests
acatangiu 026a779
add test cases plan
acatangiu 4465c65
add pallet-assets to mock test runtime
acatangiu 2392dd9
fix add assets to mock pallet-xcm runtime
acatangiu 67daafe
add test for asset-reserve and fee-reserve both at destination
acatangiu 88b3024
add test for asset-reserve and fee-reserve both at remote chain
acatangiu 513e15a
add test for asset-reserve at destination while fee-reserve is local
acatangiu 19eec17
add test for asset local-reserve while fee-reserve is destination
acatangiu 1687c53
add test for asset local-reserve while fee-reserve is remote chain
acatangiu abf029d
refactor tests using better naming and conceptual examples
acatangiu 576c770
add test for asset destination-reserve while fee-reserve is remote chain
acatangiu 280c4b1
fix some typos
acatangiu bab8fc2
deduplicate code for do_teleport_assets()
acatangiu f7a4a2e
add test for asset local-reserve while teleporting fees
acatangiu f88de5e
add test for asset destination-reserve while teleporting fees
acatangiu f7abb0a
fix cases when asset reserve is remote, add test remote-asset and tel…
acatangiu 7b920ec
add test for transfer asset remote reserve and fee local reserve
acatangiu 3130566
add test for transfer asset remote reserve and fee destination reserve
acatangiu 1b17e84
disallow teleportable assets in reserve-transfer, add regression test
acatangiu 84e213a
asset-hubs: fix emulated tests and deduplicate code
acatangiu ce00c28
asset-hubs: use non-system para IDs in tests where non-system paras a…
acatangiu 1dfcd01
pallet-xcm: refactor newly added tests
acatangiu 24f9b72
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
acatangiu 022ef71
pallet-xcm: fix benchmarks
acatangiu 9827c3b
fix pallet-xcm benchmarks for all runtimes
acatangiu 23588a8
address review comments
acatangiu 931e093
expose TransferType through XcmExecutor::traits::AssetTransferSupport…
acatangiu bf39726
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
acatangiu 8ac30aa
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
acatangiu 09badd6
allow transfer for non-fungible assets too
acatangiu 648ba8a
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
acatangiu f8e8b4a
fix merge damage
acatangiu 71bd4b3
fmt
acatangiu 4ab90f7
pallet-xcm: split asset transfer tests to own file
acatangiu 3070994
address review comments
acatangiu f045c73
pallet-xcm: disallow combining remote reserves with other xfer types
acatangiu fe93ef4
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
acatangiu d1a9709
xcm-barriers: allow SetFeesMode in BuyExecution barrier and fix tests
acatangiu 50d844f
verify assets and beneficiary in over-bridge test
acatangiu 0bf64e6
fix AHs tests
acatangiu c711961
AHs: fix emulated tests
acatangiu 67929a5
AHs: include delivery-fee checking in tests
acatangiu dd46f23
fix runtime-benchmarks for AHRococo
acatangiu e8cbcb9
fix clippy
acatangiu d725103
withdraw fees before buyexecution - still broken because of executor …
acatangiu 3d97f19
pallet-xcm: uses single custom XCM to send both fees and assets
acatangiu ac3773e
pallet-xcm: handle teleport checking account when custom burn+teleport
acatangiu cb6f53a
fixes plus tests
acatangiu 560d788
fix pallet-xcm tests
acatangiu 3bc2d73
fix AHs tests
acatangiu f838cd5
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
acatangiu bd60203
remove unused SetFeesMode instruction
acatangiu 2e71447
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
acatangiu 371ac2d
pallet-xcm: fix broken reserve_transfer_assets benchmark
acatangiu 9b58ff0
try add pallet-assets for benchmarking to rococo
acatangiu 942977e
Revert "try add pallet-assets for benchmarking to rococo"
acatangiu 3b9965b
pallet-xcm benchmarking: most chains do not have pallet-assets, use p…
acatangiu adcd688
pallet-xcm: fix teleport_assets benchmark
acatangiu eca0c3e
fix runtimes benchmarks for pallet-xcm
acatangiu b648df2
AHs simplify test_cases_over_bridge
acatangiu da7d8ff
runtimes: add dedicated benchmarking config for pallet-xcm
acatangiu 8d85faa
AHs benchmarks: fix transfer to sibling parachain
acatangiu 37552fd
Update polkadot/xcm/xcm-executor/src/traits/asset_transfer.rs
acatangiu 6714d39
Update polkadot/xcm/pallet-xcm/src/lib.rs
acatangiu a79ed78
Merge branch 'master' into pallet-xcm-fully-support-reserve-transfers
acatangiu 7a61129
fmt
acatangiu 0f76530
Update polkadot/xcm/xcm-builder/src/barriers.rs
acatangiu 9d3f2dd
Update polkadot/xcm/pallet-xcm/src/lib.rs
acatangiu 9feb4b0
Update polkadot/xcm/pallet-xcm/src/lib.rs
acatangiu 0a38b70
Update polkadot/xcm/pallet-xcm/src/lib.rs
acatangiu 02447d0
fmt
acatangiu 84e3e29
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
acatangiu b67cb0f
xcm-emulator: configure penpal for asset transfers and enhance existi…
acatangiu ec87ce6
xcm-emulator: add relay to penpal native transfer test
acatangiu da3c12e
xcm-emulator: add ah to penpal native asset transfer test
acatangiu ac9bf49
xcm: MultiLocation::chain_location() takes nonmut reference
acatangiu e85e339
pallet-xcm: benchmarks: enforce single asset transfer at the api level
acatangiu 9f7538d
xcm-executor: rename AssetTransferSupport to XcmAssetTransfer
acatangiu 45279cc
clippy
acatangiu 59cf104
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
acatangiu e9c7205
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
acatangiu 6ba36f8
AssetHub tests: account for Westend higher delivery fees
acatangiu 7728527
fix merge damage
acatangiu a4089c8
Added withdraw reserve to scripts
bkontur 44e1918
bridge-hub-westend-runtime: fix benchmarks
acatangiu a59ccf3
xcm-emulator: add ah to penpal multiple mixed assets transfer test
acatangiu 27c7cea
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
acatangiu 582c616
fix merge damage
acatangiu 94aaffd
remove limited from test names, all transfers use limited method now
acatangiu fe2cb6a
barriers: allow withdrawing multiple assets in AllowTopLevelPaidExecu…
acatangiu 2ebefc0
pallet-xcm: add trace logs
acatangiu 839af41
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
acatangiu 56c52f1
fix runtime-benchmarks
acatangiu 669e109
Merge branch 'master' into pallet-xcm-fully-support-reserve-transfers
acatangiu ba91cd6
pallet-xcm: fix tests
acatangiu 8951238
xcm-emulator: remove unused pallet import
acatangiu dd2a06f
xcm-barrier: enforce MAX_ASSETS_FOR_BUY_EXECUTION
acatangiu 6d67ea1
rename some variables and fns
acatangiu db1e826
add explicit incomplete local execution error
acatangiu 54d7465
rename fns
acatangiu 39e7b66
pallet-xcm: fix pallet extrinsic default weights
acatangiu ceddec5
pallet-xcm: also buy execution as part of custom fee handling
acatangiu 7f78c73
pallet-xcm: fix lossy fees math
acatangiu 45131b1
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
acatangiu cb8226d
fix merge damage
acatangiu d0c8944
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
acatangiu c5522e4
fix merge damage
acatangiu 9827904
Merge branch 'master' of github.com:paritytech/polkadot-sdk into pall…
acatangiu 0cc32e3
fix merge damage
acatangiu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
add test cases plan
- Loading branch information
commit 026a779fe21bb53f6c2dcd71de7fc60e642b7e5c
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.