Skip to content
  1. Mar 24, 2023
  2. Mar 23, 2023
    • joe petrowski's avatar
      Add Support for Foreign Assets (#2133) · af46f4b4
      joe petrowski authored
      
      
      * add foreign assets to westmint
      
      * add foreign assets to statemine
      
      * use updated api for ensure origin trait
      
      * 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: default avatarjoe petrowski <[email protected]>
      
      * Added `StartsWithExplicitGlobalConsensus` to ignores (#2338)
      
      * Update parachains/runtimes/assets/common/src/lib.rs
      
      Co-authored-by: default avatarGavin Wood <[email protected]>
      
      * include mint and burn in SafeCallFilter
      
      * include mint and burn in SafeCallFilter (statemine)
      
      * clarify doc
      
      * Fix compilation (moved trait `InspectMetadata`)
      
      * Fix test
      
      * Extended test for `teleport` from/to relaychain + `CheckingAccount` (Part I)
      
      * Extended test for `teleport` from/to foreign parachain + `CheckingAccount` (Part II)
      
      * Fixed TODO - `NonLocal` for `ForeignAssets`
      
      * Changed `NonLocal` to `NoChecking`
      
      * Fix weight in test
      
      ---------
      
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarmuharem <[email protected]>
      Co-authored-by: default avatarBranislav Kontur <[email protected]>
      Co-authored-by: default avatarGavin Wood <[email protected]>
      af46f4b4
    • Oliver Tale-Yazdi's avatar
      XCM V2 weight template (#2344) · 44126eb8
      Oliver Tale-Yazdi authored
      
      
      * Update XCM weight template
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * Remove copyright year from file header
      
      Legally not needed, we already remove them from Substrate.
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * ".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible
      
      * ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::fungible
      
      * ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::fungible
      
      * ".git/.scripts/commands/bench/bench.sh" xcm statemint assets pallet_xcm_benchmarks::generic
      
      * ".git/.scripts/commands/bench/bench.sh" xcm statemine assets pallet_xcm_benchmarks::generic
      
      * Revert "".git/.scripts/commands/bench/bench.sh" xcm statemine asset pallet_xcm_benchmarks::fungible"
      
      This reverts commit c4ac1a88e2607309b726d6934273da4e5a54ca9f.
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      * ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::generic
      
      * ".git/.scripts/commands/bench/bench.sh" xcm westmint assets pallet_xcm_benchmarks::fungible
      
      * ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-kusama bridge-hubs pallet_xcm_benchmarks::generic
      
      * ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::generic
      
      * Update weights
      
      Done directly on bm2 to bypass the bot.
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      
      ---------
      
      Signed-off-by: default avatarOliver Tale-Yazdi <[email protected]>
      Co-authored-by: command-bot <>
      44126eb8
    • Just van Stam's avatar
      Companion for polkadot#6928 (#2356) · 490593bf
      Just van Stam authored
      
      
      * add AdminOrigin to all xcm-configs in cumulus
      
      * cargo fmt
      
      * Update Substrate & Polkadot
      
      ---------
      
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      490593bf
  3. Mar 21, 2023
    • Muharem Ismailov's avatar
      Introduce Fellowship into Collectives (#2186) · ef0d3fe7
      Muharem Ismailov authored
      
      
      * Fellowship into Collectives
      
      * cargo.lock
      
      * tracks alias
      
      * allow to send Fellows origin over XCM
      
      * update todos, remove duplication of type
      
      * use Collectives location for Fellows body
      
      * alias for ranks constants
      
      * benchmarks
      
      * proxy for Fellowship
      
      * docs
      
      * correct copyright date
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      
      * rustfmt
      
      * remove council, update origins
      
      * renames
      
      * remove tech committee from promote origin
      
      * renames
      
      * doc nits
      
      * weights with new api
      
      * sane weights for pallet_scheduler
      
      * XCM tweaks for OpenGov (#2305)
      
      * updated xcm configs for collectives and statemint
      
      * remove xcm send from safe filter
      
      * remove prod_or_fast
      
      * remove empty line
      
      * drop redundant aggregation
      
      * remove match arm duplication
      
      ---------
      
      Co-authored-by: default avatarjoe petrowski <[email protected]>
      ef0d3fe7
    • Jegor Sidorenko's avatar
      NFTs 2.0 on Statemine (#2314) · d43c88e1
      Jegor Sidorenko authored
      * Add nfts pallet to statemine
      
      * Add missing trait
      
      * Add nfts pallet to SafeCallFilter
      
      * Re-use uniques deposits
      d43c88e1
  4. Mar 20, 2023
  5. Mar 19, 2023
  6. Mar 17, 2023
  7. Mar 15, 2023
  8. Mar 14, 2023
  9. Mar 13, 2023
    • Jegor Sidorenko's avatar
      Companion for #13482 (#2303) · 654f98df
      Jegor Sidorenko authored
      * Add migration
      
      * Remove parentheses
      
      * Return back + add a comma
      
      * update lockfile for {"substrate", "polkadot"}
      
      ---------
      
      Co-authored-by: parity-processbot <>
      654f98df
  10. Mar 10, 2023
  11. Mar 03, 2023
  12. Mar 02, 2023
    • Jegor Sidorenko's avatar
      Companion for #13352 (#2180) · 2156cbc0
      Jegor Sidorenko authored
      
      
      * Assets balances
      
      * Update docs
      
      * AssetsApi with MultiLocation as preparation for multi pallet_assets instances (#2187)
      
      * AssetsApi with MultiLocation for Westmint + assets-common
      
      * AssetsApi with MultiLocation for Statemine/t
      
      * typo
      
      * typo for check-docs job
      
      * WIP: AssetsApi return MultiAsset instead of (MultiLocation, Balance)
      
      * WIP: assets_api + conversion refactor
      
      * WIP: assets_api + conversion refactor
      
      * Finished asset runtimes
      
      * Refactor AssetsApi to FungiblesApi
      
      * Refactor
      
      * Fix check-rust-docs
      
      * Removed todo
      
      * Fix check-rust-doc
      
      * Update parachains/runtimes/assets/common/Cargo.toml
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * update lockfile for {"substrate", "polkadot"}
      
      ---------
      
      Co-authored-by: default avatarBranislav Kontur <[email protected]>
      Co-authored-by: parity-processbot <>
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      2156cbc0
    • Sergej Sakac's avatar
      Companion for #13486 (#2253) · 47046d79
      Sergej Sakac authored
      
      
      * Companion for #13486
      
      * fix
      
      * Update Substrate & Polkadot
      
      ---------
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      47046d79
  13. Feb 27, 2023
    • Egor_P's avatar
      Tests + backport fix for teleport_assets (ReceiveTeleportedAsset) (#2235) (#2238) · 9fa8786e
      Egor_P authored
      
      
      * Wwstmint test for ReceiveTeleportedAsset
      
      * Missing fix for `weigh_multi_assets`
      
      * Added tests for statemine/statemint
      
      * [Enhancement] Use XCM V3 for initiate_teleport weight calc (#2102)
      
      * [Enhancement] Use XCM V3 for initiate_teleport weight calc
      
      * deref
      
      * replicate in all the runtimes
      
      * fmt
      
      * better handling for AllOf
      
      * fmt
      
      * small type fix
      
      * replicate the fix for all runtimes
      
      ---------
      
      Co-authored-by: parity-processbot <>
      
      * removed `frame_support::sp_tracing::try_init_simple();`
      
      * Review fixes
      
      * Removed `as u64`
      
      ---------
      
      Co-authored-by: default avatarBranislav Kontur <[email protected]>
      Co-authored-by: default avatarRoman Useinov <[email protected]>
      9fa8786e
  14. Feb 24, 2023
  15. Feb 23, 2023
  16. Feb 22, 2023
    • Jegor Sidorenko's avatar
      Companion for #13390 (#2189) · 668e5d52
      Jegor Sidorenko authored
      * Weights for offchain atrribute updates
      
      * update lockfile for {"substrate", "polkadot"}
      
      ---------
      
      Co-authored-by: parity-processbot <>
      668e5d52
  17. Feb 14, 2023
    • Jegor Sidorenko's avatar
      Companion for #13158 (#2121) · fe855329
      Jegor Sidorenko authored
      * Companion for #13158
      
      * Update values
      
      * Add MaxAttributesPerCall
      
      * Update weights
      
      * Apply suggestions
      
      * Fix imports
      
      * update lockfile for {"substrate", "polkadot"}
      
      ---------
      
      Co-authored-by: parity-processbot <>
      fe855329
  18. Feb 13, 2023
  19. Feb 09, 2023
  20. Feb 07, 2023
  21. Feb 02, 2023
    • Branislav Kontur's avatar
      Added new empty shell runtime for `BridgeHubPolkadot` (without bridging stuff)... · a7bde3b9
      Branislav Kontur authored
      Added new empty shell runtime for `BridgeHubPolkadot` (without bridging stuff) for onboarding parachain on Polkadot (#2137)
      
      * Added new empty shell runtime for `BridgeHubPolkadot` (without bridging stuff) for onboarding parachain on Polkadot
      
      * Fix benchmarks/try-runtime
      
      * ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs frame_system
      
      * ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs pallet_balances
      
      * ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs pallet_multisig
      
      * ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs pallet_xcm
      
      * Fixes
      
      * ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs pallet_session
      
      * ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs pallet_utility
      
      * ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs pallet_timestamp
      
      * ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs pallet_collator_selection
      
      * ".git/.scripts/commands/bench/bench.sh" pallet bridge-hub-polkadot bridge-hubs cumulus_pallet_xcmp_queue
      
      * PR fixes
      
      * Rebase fix
      
      * Fix new runtime api
      
      * ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::fungible
      
      * ".git/.scripts/commands/bench/bench.sh" xcm bridge-hub-polkadot bridge-hubs pallet_xcm_benchmarks::generic
      
      * Updated aura/bootNodes in `create_bridge_hub_polkadot_spec.sh`
      
      ---------
      
      Co-authored-by: command-bot <>
      a7bde3b9
  22. Jan 29, 2023
  23. Jan 27, 2023
  24. Jan 26, 2023
    • Alexander Samusev's avatar
      [ci] Update runners for benchmarks (#2138) · cef3ebca
      Alexander Samusev authored
      * [ci] Update runners for benchmarks
      
      * run benchmarks in this pr to get weights
      
      * run benches only
      
      * comment .post jobs
      
      * add docker env to benches
      
      * add git diff to artifacts
      
      * divide assets
      
      * update weights
      
      * return ci
      
      * fix refs for benchmarks
      cef3ebca
  25. Jan 24, 2023
  26. Jan 19, 2023
  27. Jan 18, 2023