- May 15, 2024
-
-
Adrian Catangiu authored
Add `transfer_assets_using_type_and_then()` for transferring assets from local chain to destination chain using explicit XCM transfer types: - `TransferType::LocalReserve`: transfer assets to sovereign account of destination chain and forward a notification XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. - `TransferType::DestinationReserve`: burn local assets and forward a notification to `dest` chain to withdraw the reserve assets from this chain's sovereign account and deposit them to `beneficiary`. - `TransferType::RemoteReserve(reserve)`: burn local assets, forward XCM to `reserve` chain to move reserves from this chain's SA to `dest` chain's SA, and forward another XCM to `dest` to mint and deposit reserve-based assets to `beneficiary`. Typically the remote `reserve` is Asset Hub. - `TransferType::Teleport`: burn local assets and forward XCM to `dest` chain to mint/teleport assets and deposit them to `beneficiary`. By default, an asset's reserve is its origin chain. But sometimes we may want to explicitly use another chain as reserve (as long as allowed by runtime `IsReserve` filter). This is very helpful for transferring assets with multiple configured reserves (such as Asset Hub ForeignAssets), when the transfer strictly depends on the used reserve. E.g. For transferring Foreign Assets over a bridge, Asset Hub must be used as the reserve location. ERC20-tokenX is registered on AssetHub as a ForeignAsset by the Polkadot<>Ethereum bridge (Snowbridge). Its asset_id is something like `(parents:2, (GlobalConsensus(Ethereum), Address(tokenX_contract)))`. Its _original_ reserve is Ethereum (only we can't use Ethereum as a reserve in local transfers); but, since tokenX is also registered on AssetHub as a ForeignAsset, we can use AssetHub as a reserve. With this PR we can transfer tokenX from ParaA to ParaB while using AssetHub as a reserve. AssetA created on ParaA but also registered as foreign asset on Asset Hub. Can use AssetHub as a reserve. And all of the above can be done while still controlling transfer type for `fees` so mixing assets in same transfer is supported. Provides the caller with the ability to specify custom XCM that be executed on `dest` chain as the last step of the transfer, thus allowing custom usecases for the transferred assets. E.g. some are used/swapped/etc there, while some are sent further to yet another chain. This allows usecases such as: https://forum.polkadot.network/t/managing-sas-on-multiple-reserve-chains-for-same-asset/7538/4 Signed-off-by: Adrian Catangiu <[email protected]>
-
- May 13, 2024
-
-
Morgan Adamiec authored
-
Oliver Tale-Yazdi authored
Backporting #3865 to 1.7 crates release for the `pallet-balances`. --------- Signed-off-by: Oliver Tale-Yazdi <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
- Apr 25, 2024
-
-
EgorPopelyaev authored
-
EgorPopelyaev authored
-
joe petrowski authored
Backport of #4229 into the v1.7.0 release in order to support dependent runtimes. This version of the SDK doesn't have `UncheckedOnRuntimeUpgrade`, so I do it the "old way".
-
- Apr 24, 2024
-
-
Morgan Adamiec authored
-
georgepisaltu authored
Signed-off-by: georgepisaltu <[email protected]>
-
joe petrowski authored
-
joe petrowski authored
-
joe petrowski authored
-
joe petrowski authored
-
joe petrowski authored
-
joe petrowski authored
Co-authored-by: Oliver Tale-Yazdi <[email protected]>
-
joe petrowski authored
Co-authored-by: georgepisaltu <[email protected]>
-
joe petrowski authored
-
joe petrowski authored
-
joe petrowski authored
-
joe petrowski authored
-
joe petrowski authored
-
joe petrowski authored
-
- Apr 19, 2024
-
-
Morgan Adamiec authored
-
Svyatoslav Nikolsky authored
We'll need to prepare a hotfix `1.2.2` release for fellowship runtimes We need to republish `bp-header-chain` with minor version bump.
-
- Apr 18, 2024
-
-
Morgan Adamiec authored
-
Bastian Köcher authored
Part of: https://github.com/paritytech/polkadot-sdk/issues/4107
-
- Mar 28, 2024
-
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
Gonçalo Pestana authored
Backports for 1.7: - https://github.com/paritytech/polkadot-sdk/pull/3639 - https://github.com/paritytech/polkadot-sdk/pull/3706 Relevant Issues: - https://github.com/paritytech/polkadot-sdk/issues/3245
-
- Mar 26, 2024
-
-
Morgan Adamiec authored
-
- Mar 22, 2024
-
-
Adrian Catangiu authored
Add `SetFeesMode { jit_withdraw: true }` before `InitiateReserveWithdraw` instruction to allow paying JIT fees in the executor. This is backport of https://github.com/paritytech/polkadot-sdk/pull/3792
-
Clara van Staden authored
This is a cherry-pick from master of https://github.com/paritytech/polkadot-sdk/pull/3790 Expected patches for (1.7.0): snowbridge-pallet-ethereum-client snowbridge-pallet-inbound-queue snowbridge-pallet-outbound-queue snowbridge-outbound-queue-runtime-api snowbridge-pallet-system snowbridge-core --------- Co-authored-by: Vincent Geddes <[email protected]> Co-authored-by: claravanstaden <Cats 4 life!> Co-authored-by: Vincent Geddes <[email protected]> Co-authored-by: Adrian Catangiu <[email protected]>
-
Clara van Staden authored
This is a cherry-pick from master of https://github.com/paritytech/polkadot-sdk/pull/3727 and https://github.com/paritytech/polkadot-sdk/pull/3790 Expected patches for (1.7.0): snowbridge-pallet-ethereum-client snowbridge-pallet-inbound-queue snowbridge-pallet-outbound-queue snowbridge-outbound-queue-runtime-api snowbridge-pallet-system snowbridge-core
-
- Mar 20, 2024
-
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
Morgan Adamiec authored
-
- Mar 18, 2024
-
-
Alexandru Gheorghe authored
This is a cherry-pick from master of https://github.com/paritytech/polkadot-sdk/pull/3722 Expected patches for (1.7.0): `pallet-authorithy-discovery` Signed-off-by: Alexandru Gheorghe <[email protected]> Co-authored-by: Bastian Köcher <[email protected]>
-
Branislav Kontur authored
Relates to: https://github.com/polkadot-fellows/runtimes/issues/231 Fixes: https://github.com/paritytech/parity-bridges-common/issues/2874 Expected patches for (1.7.0): - pallet-xcm `8.0.3`
-
- Mar 08, 2024
-
-
Branislav Kontur authored
Backport of https://github.com/paritytech/polkadot-sdk/pull/3564 Expected patches for (1.7.0): - penpal-runtime `0.15.1`
-
- Mar 03, 2024
-
-
Morgan Adamiec authored
-