-
Notifications
You must be signed in to change notification settings - Fork 1k
Introduce XcmFeesToAccount fee manager #1234
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
Merged
Changes from 79 commits
Commits
Show all changes
153 commits
Select commit
Hold shift + click to select a range
b862137
Introduce XcmFeesToAccount fee manager
KiChjang b1ca17e
Put system parachain IDs into consts
KiChjang fa6e6e2
Fixes
KiChjang 48d3a18
Remove XcmFeesToAccount config for Westend
KiChjang cdc288a
Include Encointer as a system parachain
KiChjang dc48ba3
Emit warning when deposit_asset fails
KiChjang 1299ad9
Add comment on what happens when deposit_asset errors
KiChjang 8d7a422
Fixes
KiChjang 6f1eaac
Move SystemParachains to constants
KiChjang 24c560e
Fixes
KiChjang 72b8af5
cargo fmt
KiChjang 655b864
Added BridgeHubs constants (#7053)
bkontur a89c6c2
Add SystemParachain type to Westmint
KiChjang 9512b45
Waive fee handling during benchmarking
KiChjang e06740f
Fixes
KiChjang 13226de
Fixes
KiChjang 2fee6e5
Rename to ASSET_HUB_ID
KiChjang 758b977
Rename all asset parachains to AssetHub
KiChjang 3a9bcb8
Fixes
KiChjang 298ab71
Send xcm fees to local treaury
gilescope 13f9577
should not include self
gilescope 898645c
Add collectives and contracts.
gilescope 53dfe45
Less error-prone specifying of system parachains
gilescope 58ce029
Typo fix
KiChjang 8853c4a
Fixes
KiChjang bb36077
Test for `pallet_xcm::reserve_transfer_assets` with paid XcmRouter
bkontur 0681ffd
Fix another assert
bkontur 58fa19f
Potential fix?
bkontur e07bc53
Even easier
bkontur d57a819
Potential fix for `fn respond(`
bkontur 3027720
`set_router_fee_for_destination` inside `new_test_ext`
bkontur 7179f08
Added TestPaidForPara3000SendXcm to test
bkontur 9c26367
TODO: remove dependency of `is_waived` on `runtime-benchmarks`
bkontur 510ebc7
Fixed benchmarks to be `FeeManager/XcmFeesToAccount` aware
bkontur 3d372ba
Extract logic to common place to be reused by different runtimes (rel…
bkontur db595f9
Fix rococo xcm benchmarks
bkontur 2f64173
".git/.scripts/commands/fmt/fmt.sh"
caa703c
Nits
bkontur 2f0161e
Update polkadot/xcm/xcm-builder/tests/scenarios.rs
KiChjang b3a62f7
Merge branch 'master' into kckyeung/xcm-fees-manager
KiChjang 84cf8ce
Fixes
KiChjang 78357aa
Improve docs
KiChjang a9a3f7e
Doc link
KiChjang a343a07
cargo fmt
KiChjang 680b321
Implement FeeTracker on the XCMP queue pallet
KiChjang abf8764
Merge remote-tracking branch 'origin/master' into kckyeung/xcm-fees-m…
KiChjang 4a9a309
Fixes
KiChjang 42c80f1
Formatting
KiChjang 760fb9b
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 8ceea34
Add default DeliveryHelper for system parachains
franciscoaguirre d0df126
Typo
KiChjang ca69936
Create DeliveryHelper for reserve chains
KiChjang 6469962
Fixes
KiChjang d29d3a1
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 4f98070
Fix teleports_for_foreign_assets_works test
franciscoaguirre af68790
Fix teleports_for_native_asset_works
franciscoaguirre 0ccb348
Fix some clippy issues
franciscoaguirre 2748e68
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 8a81521
Fix faulty import
franciscoaguirre 0fd77b7
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre cd4d023
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 678effb
Fix topic issue in tests
franciscoaguirre 36b5833
Fix topic issue in another test
franciscoaguirre 1d439b9
Stop asserting the expected message
franciscoaguirre 6c0e859
Remove unnecessary mut
franciscoaguirre 51a35fb
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 1a20dbb
".git/.scripts/commands/fmt/fmt.sh"
56383d7
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre ed5fd90
Fix asset-hub-kusama-integration-tests tests
franciscoaguirre 1cfec49
Fix asset-hub-westend-integration-tests tests
franciscoaguirre 59eb4fb
Fix asset-hub-polkadot-integration-tests tests
franciscoaguirre 1e37646
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre b1b7ce8
Refactor xcm helper to a common crate
franciscoaguirre a71219a
Fix feature propagation
franciscoaguirre c4fe1ac
".git/.scripts/commands/fmt/fmt.sh"
f94fc1d
Fix feature propagation for std
franciscoaguirre b555e59
Fixes
franciscoaguirre 79d8020
Format features
franciscoaguirre 64afc86
".git/.scripts/commands/fmt/fmt.sh"
797ef39
Fix tests with runtime-benchmarks
franciscoaguirre 7e85258
Fix pallet-xcm tests
franciscoaguirre 6e089e3
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 792f197
Fix polkadot-collectives and bridge-hub-rococo tests
franciscoaguirre 73f2731
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 0c5980f
Fix license issue
franciscoaguirre 72718fd
Remove dbg
franciscoaguirre 3af7624
Change xcm delivery fee helpers to work with UMP
franciscoaguirre 33746fc
Remove remnant from UMP branch
franciscoaguirre 231f548
Remove remnant from UMP branch
franciscoaguirre 36fd612
Fix collectives tests
franciscoaguirre 8d525f7
Wrong constants module being imported
franciscoaguirre fb4ff56
Add SetFeesMode to expected message in PayOverXcm tests
franciscoaguirre 65c0fc6
Fix ambiguous trait calls
franciscoaguirre 268fa71
Updated lock
franciscoaguirre ce3d091
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre eecbb12
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre fce81f1
".git/.scripts/commands/fmt/fmt.sh"
37cd57a
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre fc97690
Remove conflict
franciscoaguirre a28be66
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre fe48b31
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 4141b93
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 598516e
Add missing import
franciscoaguirre b9697b6
Remove polkadot and kusama constants
franciscoaguirre a38ee4c
Remove hardcoded constant
franciscoaguirre cd11b32
Fix CI
franciscoaguirre 4f5759a
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre df2ff2d
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 29f8003
Address feedback
franciscoaguirre ec36b49
".git/.scripts/commands/fmt/fmt.sh"
7329a72
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 6355068
Default FeeManager shouldn't waive fees
franciscoaguirre 9fd00c2
Remove changes to polkadot and kusama system parachains
franciscoaguirre e30bae6
Update lockfile
franciscoaguirre d95d13c
Fix emulated tests
franciscoaguirre 842c78b
Tackle no delivery fees scenario in runtime tests
franciscoaguirre e7e5729
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 1fd76fa
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 53efd8f
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre b062437
Format features
franciscoaguirre c1c4805
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre b79b016
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 18bcdec
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 73ad0fc
Add UMP pricing (#1556)
franciscoaguirre 9a8e138
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre c7043b8
Merge branch 'master' into kckyeung/xcm-fees-manager
kianenigma 3bd7e28
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 9f0843c
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 97aab4d
Add tests for XCMP and UMP delivery fees
franciscoaguirre 7f4d6d9
Remove an expect
franciscoaguirre 1e187c5
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 5b427bb
Add missing import
franciscoaguirre fad641e
Remove unused import
franciscoaguirre 6a93770
Move warn to trace
franciscoaguirre 45b9245
".git/.scripts/commands/fmt/fmt.sh"
5737b62
Add prdoc
franciscoaguirre 96fd58e
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 9c1fced
Fix function call outside of externalities
franciscoaguirre 4e075cf
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre ff3cf19
Fix rococo bridge hub test
franciscoaguirre dde8475
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre 794a52d
Remove 'Here' from waived locations
franciscoaguirre 237d25d
Fix test
franciscoaguirre 4686838
Add XcmFeesToAccount to westend runtime
franciscoaguirre 6a75e67
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre bf9e431
".git/.scripts/commands/fmt/fmt.sh"
74bb3e0
Add delivery fees to asset hub rococo tests
franciscoaguirre 997a426
".git/.scripts/commands/fmt/fmt.sh"
4df9871
Merge branch 'master' into kckyeung/xcm-fees-manager
franciscoaguirre ffcd09f
Fix rococo benchmarks
franciscoaguirre b24cc02
Fix asset hub rococo bridge test for now
franciscoaguirre a4e332f
Use derive impl for balances in mock
franciscoaguirre f3a5ce6
".git/.scripts/commands/fmt/fmt.sh"
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
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
Oops, something went wrong.
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.