Migrate fee payment from `Currency` to `fungible` (#2292)
Part of https://github.com/paritytech/polkadot-sdk/issues/226 Related https://github.com/paritytech/polkadot-sdk/issues/1833 - Deprecate `CurrencyAdapter` and introduce `FungibleAdapter` - Deprecate `ToStakingPot` and replace usage with `ResolveTo` - Required creating a new `StakingPotAccountId` struct that implements `TypedGet` for the staking pot account ID - Update parachain common utils `DealWithFees`, `ToAuthor` and `AssetsToBlockAuthor` implementations to use `fungible` - Update runtime XCM Weight Traders to use `ResolveTo` instead of `ToStakingPot` - Update runtime Transaction Payment pallets to use `FungibleAdapter` instead of `CurrencyAdapter` - [x] Blocked by https://github.com/paritytech/polkadot-sdk/pull/1296, needs the `Unbalanced::decrease_balance` fix
Showing
- bridges/bin/runtime-common/src/mock.rs 1 addition, 1 deletionbridges/bin/runtime-common/src/mock.rs
- cumulus/pallets/collator-selection/src/lib.rs 14 additions, 0 deletionscumulus/pallets/collator-selection/src/lib.rs
- cumulus/parachains/common/src/impls.rs 31 additions, 14 deletionscumulus/parachains/common/src/impls.rs
- cumulus/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs 1 addition, 1 deletion...us/parachains/runtimes/assets/asset-hub-rococo/src/lib.rs
- cumulus/parachains/runtimes/assets/asset-hub-rococo/src/xcm_config.rs 9 additions, 4 deletions...chains/runtimes/assets/asset-hub-rococo/src/xcm_config.rs
- cumulus/parachains/runtimes/assets/asset-hub-westend/src/lib.rs 1 addition, 1 deletion...s/parachains/runtimes/assets/asset-hub-westend/src/lib.rs
- cumulus/parachains/runtimes/assets/asset-hub-westend/src/xcm_config.rs 9 additions, 4 deletions...hains/runtimes/assets/asset-hub-westend/src/xcm_config.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs 1 addition, 1 deletion...achains/runtimes/bridge-hubs/bridge-hub-rococo/src/lib.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-rococo/src/xcm_config.rs 9 additions, 4 deletions.../runtimes/bridge-hubs/bridge-hub-rococo/src/xcm_config.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/lib.rs 1 addition, 1 deletion...chains/runtimes/bridge-hubs/bridge-hub-westend/src/lib.rs
- cumulus/parachains/runtimes/bridge-hubs/bridge-hub-westend/src/xcm_config.rs 9 additions, 4 deletions...runtimes/bridge-hubs/bridge-hub-westend/src/xcm_config.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/src/lib.rs 1 addition, 1 deletion...hains/runtimes/collectives/collectives-westend/src/lib.rs
- cumulus/parachains/runtimes/collectives/collectives-westend/src/xcm_config.rs 12 additions, 9 deletions...untimes/collectives/collectives-westend/src/xcm_config.rs
- cumulus/parachains/runtimes/contracts/contracts-rococo/src/lib.rs 1 addition, 1 deletion...parachains/runtimes/contracts/contracts-rococo/src/lib.rs
- cumulus/parachains/runtimes/coretime/coretime-rococo/src/lib.rs 1 addition, 1 deletion...s/parachains/runtimes/coretime/coretime-rococo/src/lib.rs
- cumulus/parachains/runtimes/coretime/coretime-rococo/src/xcm_config.rs 9 additions, 4 deletions...hains/runtimes/coretime/coretime-rococo/src/xcm_config.rs
- cumulus/parachains/runtimes/coretime/coretime-westend/src/lib.rs 1 addition, 1 deletion.../parachains/runtimes/coretime/coretime-westend/src/lib.rs
- cumulus/parachains/runtimes/coretime/coretime-westend/src/xcm_config.rs 3 additions, 3 deletions...ains/runtimes/coretime/coretime-westend/src/xcm_config.rs
- cumulus/parachains/runtimes/people/people-rococo/src/lib.rs 1 addition, 1 deletioncumulus/parachains/runtimes/people/people-rococo/src/lib.rs
- cumulus/parachains/runtimes/people/people-rococo/src/xcm_config.rs 9 additions, 4 deletions...arachains/runtimes/people/people-rococo/src/xcm_config.rs