Skip to content
Snippets Groups Projects
  1. Feb 25, 2025
    • Daniel Shiposha's avatar
      Fix DryRunApi client-facing XCM versions (#7438) · 1c9da87e
      Daniel Shiposha authored
      
      Fixes #7413
      
      This PR updates the `DryRunApi`. The signature of the `dry_run_call` is
      changed, and the XCM version of the return values of `dry_run_xcm` now
      follows the version of the input XCM program.
      
      * **The `DryRunApi` is modified**
      * **Added the `Router::clear_messages` to `dry_run_xcm` common
      implementation**
      * **Fixed the xcmp-queue's Router's clear_messages: channels details'
      first_index and last_index are reset when clearing**
      * **The MIN_XCM_VERSION is added**
      * The common implementation in the `pallet-xcm` is modified accordingly
      * The `DryRunApi` tests are modified to account for testing old XCM
      versions
      * The implementation from the `pallet-xcm` is used where it was not used
      (including the `DryRunApi` tests)
      * All the runtime implementations are modified according to the Runtime
      API change
      
      ---------
      
      Co-authored-by: default avatarAdrian Catangiu <adrian@parity.io>
      (cherry picked from commit 963f0d73)
      1c9da87e
  2. Feb 21, 2025
  3. Feb 20, 2025
  4. Feb 19, 2025
  5. Feb 18, 2025
  6. Feb 17, 2025
  7. Feb 09, 2025
  8. Feb 07, 2025
  9. Feb 06, 2025
  10. Feb 05, 2025
  11. Feb 04, 2025
  12. Jan 29, 2025
  13. Jan 28, 2025
  14. Jan 27, 2025
  15. Jan 24, 2025
  16. Jan 23, 2025
  17. Jan 17, 2025