Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Add Support for Foreign Assets #2133

Merged
merged 30 commits into from
Mar 23, 2023
Merged

Commits on Jan 24, 2023

  1. Configuration menu
    Copy the full SHA
    81abe45 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0da76e0 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2023

  1. Configuration menu
    Copy the full SHA
    063fef0 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2023

  1. Configuration menu
    Copy the full SHA
    bc4664b View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2023

  1. Configuration menu
    Copy the full SHA
    b534445 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2023

  1. Configuration menu
    Copy the full SHA
    0590241 View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2023

  1. Configuration menu
    Copy the full SHA
    a1ce9b8 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2023

  1. Configuration menu
    Copy the full SHA
    0f80e76 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2023

  1. Configuration menu
    Copy the full SHA
    ae8cac6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1b21403 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2023

  1. Configuration menu
    Copy the full SHA
    5cb396f View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2023

  1. Configuration menu
    Copy the full SHA
    56abaf5 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2023

  1. Configuration menu
    Copy the full SHA
    4f70058 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2023

  1. Assets/ForeignAssets tests and fixes (#2167)

    * Test for create and transfer `TrustBackedAssets` with AssetTransactor
    
    * Test for transfer `local Currency` with AssetTransactor
    
    * Test for create foreign assets (covers foreign relaychain currency)
    
    * Added `ForeignFungiblesTransactor` and test for transfer `ForeignAssets` with AssetTransactor
    
    * Removed unused `pub const Local: MultiLocation`
    
    * Changed `ParaId -> Sibling` for `SiblingParachainConvertsVia`
    
    * Test for create foreign assets (covers local sibling parachain assets)
    
    * Reverted stuff for ForeignCreators from different global consensus (moved to transfer asset branch)
    
    * Refactor `weight_limit` for `execute_xcm`
    
    * Added test for `set_metadata` by ForeignCreator with `xcm::Transact(set_metadata)`
    
    * Renamed `receive_teleported_asset_works` -> `receive_teleported_asset_for_native_asset_works`
    
    * Allow `ForeignCreators` only for sibling parachains
    
    * Unify ReservedDmpWeight/ReservedXcmpWeight usage
    
    * Removed hack - replaced with `MatchedConvertedConcreteId`
    
    * Refactor `ForeignCreators` to assets-common
    
    * Add `ReceiveTeleportedAsset` test
    
    * Change test - `Utility::batch` -> Multiple `xcm::Transact`
    
    * Reusing the same deposits as for TrustBackedAssets
    
    * missing `try_successful_origin` ?
    
    * Finished `ForeignAssets` for westmint (converter, FungiblesApi, tests)
    
    * Refactoring tests - receive_teleported_asset_for_native_asset_works
    
    * ForeignAssets for statemine + refactored `receive_teleported_asset_from_foreign_creator_works`
    
    * Add `ForeignAssets` to statemine `FungiblesApi`
    
    * Add `asset_transactor_transfer_with_local_consensus_currency_works` to all runtimes
    
    * Added `asset_transactor_transfer_with_trust_backed_assets_works` test
    
    * Added `asset_transactor_transfer_with_foreign_assets_works`
    
    * Fix `missing `try_successful_origin` in implementation`
    
    * Added `create_and_manage_foreign_assets_for_local_consensus_parachain_assets_works`
    
    * Added `ExpectTransactStatus` check
    
    * Small rename
    
    * Extended `test_assets_balances_api_works` with ForeignAssets for `statemine`
    
    * PR fixes
    
    * Update parachains/runtimes/assets/test-utils/src/test_cases.rs
    
    ---------
    
    Co-authored-by: parity-processbot <>
    Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
    bkontur and joepetrowski committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    60a6089 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    018b800 View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2023

  1. Configuration menu
    Copy the full SHA
    47e0283 View commit details
    Browse the repository at this point in the history
  2. Update parachains/runtimes/assets/common/src/lib.rs

    Co-authored-by: Gavin Wood <gavin@parity.io>
    joepetrowski and gavofyork committed Mar 20, 2023
    Configuration menu
    Copy the full SHA
    c33236a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4ca0d6d View commit details
    Browse the repository at this point in the history

Commits on Mar 21, 2023

  1. merge master

    joepetrowski committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    9a80078 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    086f507 View commit details
    Browse the repository at this point in the history
  3. master again

    joepetrowski committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    638153a View commit details
    Browse the repository at this point in the history
  4. clarify doc

    joepetrowski committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    5bbdebb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    7099ebc View commit details
    Browse the repository at this point in the history
  6. Fix test

    bkontur committed Mar 21, 2023
    Configuration menu
    Copy the full SHA
    76b144d View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2023

  1. Configuration menu
    Copy the full SHA
    852a32a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    74c70c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e203b2a View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2023

  1. Configuration menu
    Copy the full SHA
    71d3577 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    70f1c12 View commit details
    Browse the repository at this point in the history
  3. Fix weight in test

    bkontur committed Mar 23, 2023
    Configuration menu
    Copy the full SHA
    d371389 View commit details
    Browse the repository at this point in the history