Skip to content
  1. May 31, 2023
  2. May 29, 2023
  3. May 25, 2023
    • Gavin Wood's avatar
      Companion for polkadot#7234 (XCM: Tools for uniquely referencing messages) (#2601) · ec21c0a2
      Gavin Wood authored
      * Fixes for new API
      
      * Formatting
      
      * Fixes
      
      * Fixes
      
      * Further fixes
      
      * XCMP dispatch events mention message ID
      
      * XCMP event includes ID
      
      * Add DMP message ID functionality
      
      * Integrate into test parachains
      
      * Remove WithUniqueTopic usage
      
      * Use new primitive
      
      * Formatting
      
      * undiener
      
      * Revert lock
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Fixes
      
      * Formatting
      
      * message_hash becomes message_id
      
      * Rename
      
      * Another Rename
      
      * Fixes
      
      * Fix
      
      * Bump
      
      * Fixes
      
      * Grumble.
      ec21c0a2
  4. May 24, 2023
  5. May 23, 2023
  6. May 18, 2023
    • Adrian Catangiu's avatar
      BridgeHub[Rococo/Wococo] test batched relaying of messages and their dispatch (#2578) · 4e479992
      Adrian Catangiu authored
      
      
      Added some tests that aim to cover the runtime configuration
      that is exercised when BH receives relayed complex message.
      
      * checks correct importing of proofs for:
        bridged chain finality, bridged para heads, bridged messages,
      * checks relayer extension correctly configured to reward
        submitting relayer,
      * checks relayed message is successfully dispatched.
      
      Also moved generic test-utils from
        `asset-test-utils: parachains/runtimes/assets/test-utils`
      one level up to new crate
        `parachains-runtimes-test-utils: parachains/runtimes/test-utils`
      to be reused by BridgeHubs.
      
      Signed-off-by: default avataracatangiu <[email protected]>
      Co-authored-by: default avatarBranislav Kontur <[email protected]>
      4e479992
  7. May 17, 2023
  8. May 16, 2023
    • Branislav Kontur's avatar
      BridgeHubRococo/Wococo nits + updated subtree (#2572) · 17b2e1b3
      Branislav Kontur authored
      * Nits (merge before separatelly)
      
      * Small cosmetics for Rococo/Wococo bridge local run
      
      * Squashed 'bridges/' changes from 04b3dda6aa..5fc377ab34
      
      5fc377ab34 Support for kusama-polkadot relaying (#2128)
      01f4b7f1ba Fix clippy warnings (#2127)
      696ff1c368 BHK/P alignments (#2115)
      2a66aa3248 Small fixes (#2126)
      7810f1a988 Cosmetics (#2124)
      daf250f69c Remove some `expect()` statements (#2123)
      1c5fba8274 temporarily remove balance guard (#2121)
      3d0e547361 Propagate message receival confirmation errors (#2116)
      1c33143f07 Propagate message verification errors (#2114)
      b075b00910 Bump time from 0.3.20 to 0.3.21
      51a3a51618 Bump serde from 1.0.160 to 1.0.162
      da88d044a6 Bump clap from 4.2.5 to 4.2.7
      cdca322cd6 Bump sysinfo from 0.28.4 to 0.29.0
      
      git-subtree-dir: bridges
      git-subtree-split: 5fc377ab34f7dfd3293099c5feec49255e827812
      
      * Fix
      
      * Allow to change storage constants (DeliveryReward, RequiredStakeForStakeAndSlash) + tests
      
      * Clippy
      
      * New SA for RO/WO
      
      * Squashed 'bridges/' changes from 5fc377ab34..0f6091d481
      
      0f6091d481 Bump polkadot/substrate (#2134)
      9233f0a337 Bump tokio from 1.28.0 to 1.28.1
      a29c1caa93 Bump serde from 1.0.162 to 1.0.163
      
      git-subtree-dir: bridges
      git-subtree-split: 0f6091d48184ebb4f75cb3089befa6b92cf37335
      17b2e1b3
  9. May 12, 2023
    • Egor_P's avatar
      [Backport] version bumps from 9420 (#2561) · 0bab3ce6
      Egor_P authored
      * Bump crate versions
      
      * Bump spec_version to 9420
      
      * Bump transaction_version (#2520)
      
      * bump trnsaction_version
      
      * revert transaction_version bump for all except the collectives
      
      * make cargo fmt happy again
      0bab3ce6
  10. May 11, 2023
  11. May 08, 2023
  12. May 06, 2023
  13. May 05, 2023
  14. May 02, 2023
  15. Apr 27, 2023
    • Keith Yeung's avatar
      Companion for paritytech/polkadot#7098 (#2469) · b441d05d
      Keith Yeung authored
      * Companion for paritytech/polkadot#7098
      
      * Fixes
      
      * Add missing benchmarked function
      
      * Fix typo
      
      * update lockfile for {"polkadot", "substrate"}
      
      ---------
      
      Co-authored-by: parity-processbot <>
      b441d05d
  16. Apr 24, 2023
  17. Apr 17, 2023
  18. Apr 05, 2023
  19. Apr 04, 2023
  20. Apr 03, 2023
  21. Mar 30, 2023
  22. Mar 28, 2023
  23. Mar 24, 2023
  24. 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
  25. Mar 21, 2023
  26. Mar 20, 2023
  27. Mar 17, 2023
  28. Mar 15, 2023
  29. Mar 14, 2023