1. Apr 24, 2023
    • Frederik Gartenmeister's avatar
      XCM: Remote account converter (#6662) · 3f3a0416
      Frederik Gartenmeister authored
      * Draft remote account converter
      
      * Tests and doc comments
      
      * Adapt naming, tests fix
      
      * Try with prefix in account
      
      * Revert "Try with prefix in account"
      
      This reverts commit 461759794cc9f59f768aad0e0899df6dc8cba747.
      
      * Adapt code and test to review suggestions
      
      * adapt to take into account parent in conversion
      
      * fix: docs
      
      * fix: try doc fix v2
      3f3a0416
    • Keith Yeung's avatar
      Revert default proof size back to 64 KB (#7115) · a8d80532
      Keith Yeung authored
      * Revert default proof size back to 64 KB
      
      * Fix test expectations
      
      * Enhance unit test
      
      * cargo fmt
      
      * Fix comment
      a8d80532
  2. Apr 21, 2023
  3. Apr 20, 2023
    • Keith Yeung's avatar
      XCM: Properly set the pricing for the DMP router (#6843) · 023d4598
      Keith Yeung authored
      
      
      * Properly set the pricing for the DMP router
      
      * Publicize price types
      
      * Use FixedU128 instead of Percent
      
      * Add sp-arithmetic as a dependency for rococo runtime
      
      * Add sp-arithmetic as a dependency to all runtimes
      
      * Remove duplicate import
      
      * Add missing import
      
      * Fix tests
      
      * Create an appropriate QueueDownwardMessageError variant
      
      * Recalculate delivery fee factor based on past queue sizes
      
      * Remove unused error variant
      
      * Fixes
      
      * Fixes
      
      * Remove unused imports
      
      * Rewrite fee factor update mechanism
      
      * Remove unused imports
      
      * Fixes
      
      * Update runtime/parachains/src/dmp.rs
      
      Co-authored-by: default avatarSquirrel <[email protected]>
      
      * Make DeliveryFeeFactor be a StorageMap keyed on ParaIds
      
      * Fixes
      
      * introduce limit for fee increase on dmp queue
      
      * add message_size based fee factor to increment_fee_factor
      
      * change message_size fee rate to correct value
      
      * fix div by 0 error
      
      * bind limit to variable
      
      * fix message_size_factor and add DeliveryFeeFactor test
      
      * add test for ExponentialPrice implementation
      
      * make test formula based
      
      * make delivery fee factor test formula based
      
      * add max value test for DeliveryFeeFactor and move limit to config
      
      * change threshold back to dynamic value and fix tests
      
      * fmt
      
      * suggested changes and fmt
      
      * small stylistic change
      
      * fmt
      
      * change to tokenlocation
      
      * small fixes
      
      * fmt
      
      * remove sp_arithmetic dependency
      
      * Update runtime/parachains/src/dmp.rs
      
      Co-authored-by: default avatarKian Paimani <[email protected]>
      
      ---------
      
      Co-authored-by: default avatarSquirrel <[email protected]>
      Co-authored-by: default avatarJust van Stam <[email protected]>
      Co-authored-by: default avatarJust van Stam <[email protected]>
      Co-authored-by: default avatarKian Paimani <[email protected]>
      023d4598
  4. Apr 19, 2023
  5. Apr 18, 2023
  6. Apr 17, 2023
  7. Apr 12, 2023
    • Sam Johnson's avatar
      Companion for #13846 (#7022) · b3070be0
      Sam Johnson authored
      * globally upgrade syn to 1.0.109
      
      * globally upgrade quote to 1.0.26
      
      * globally upgrade proc-macro2 to 1.0.56
      
      * globally bump syn to v2.0.13
      
      * update expander to v1.0.0
      
      * temporary commit to prove new version of expander works
      
      (new version hasn't been released yet so using git)
      
      * use expander 2.0.0
      
      * upgrade to syn 2.0.14
      
      * update lock file
      b3070be0
    • Roman Useinov's avatar
      [Deps] bump scale-info to be in line with cumulus (#7049) · 5a052da6
      Roman Useinov authored
      * bump scale-info to be in line with cumulus
      
      * remove irrelevant lines
      
      * fix Cargo.lock
      5a052da6
  8. Apr 08, 2023
  9. Apr 04, 2023
  10. Mar 30, 2023
  11. Mar 23, 2023
  12. Mar 20, 2023
  13. Mar 16, 2023
  14. Mar 13, 2023
    • Vivek Pandya's avatar
      Remove use of Store trait (#6835) · 87db25ce
      Vivek Pandya authored
      * Remove use of Store trait from runtime directory
      
      * Remove Store trait usage from xcm directory
      
      * Run cargo fmt
      
      * update lockfile for {"substrate"}
      
      ---------
      
      Co-authored-by: parity-processbot <>
      87db25ce
  15. Mar 08, 2023
  16. Mar 04, 2023
    • Keith Yeung's avatar
      Introduce XCM matcher for writing barriers (#6756) · d29951e2
      Keith Yeung authored
      * Introduce XCM matcher for writing barriers
      
      * Fix compilation
      
      * cargo fmt
      
      * Add more doc comments
      
      * Add mod doc comment
      
      * More doc comments
      
      * Add tests and fix logic
      
      * Remove redundant syntax
      
      * Add more doc comments
      
      * Add more doc comments
      
      * Add more doc comments
      d29951e2
  17. Mar 03, 2023
  18. Mar 02, 2023
  19. Feb 25, 2023
  20. Feb 23, 2023
  21. Feb 22, 2023
  22. Feb 16, 2023
    • Marcin S.'s avatar
      Use a `BoundedVec` in `ValidationResult` (#6603) · d5a79914
      Marcin S. authored
      * Use a `BoundedVec` in `ValidationResult`
      
      > Use a `BoundedVec` for `upward_messages` and `horizontal_messages` in order to
      > limit the number of individual messages/memory allocations right at decoding
      > time. The reason for this is that the `ValidationResult` may contain a code
      > upgrade (including a full PVF binary), so the total size limit can't be set
      > too low and this limit will still allow several millions of upward messages,
      > which will (due to the memory allocator overhead) already have a
      > non-negligible memory footprint in decoded form.
      
      * List all fields when hashing so we don't miss one
      
      * Define types for  `BoundedVec`s of messages
      
      * Fix test compile errors
      
      * Depend on `bounded-collections` 0.1.4 (fixes allocation issue)
      
      * Fix compilation issue
      
      * Derive `Hash` instead of manual `impl`
      
      * Avoid use of unwrap
      d5a79914
  23. Feb 14, 2023
  24. Feb 10, 2023
  25. Feb 09, 2023
    • Keith Yeung's avatar
      Remove BoundedVec half-impls in xcm (#6636) · 7619fea8
      Keith Yeung authored
      * Replace sp-core dependency with more primitive crates
      
      * Remove BoundedVec half-impls in xcm
      
      * Fixes
      
      * Bump bounded-collections
      
      * Address review comments
      
      * Bump bounded-collections
      
      * Fix benchmarks
      
      * Fixes
      
      * Fixes
      
      * cargo fmt
      
      * Fix tests
      
      * Update url
      
      * Bump url to 2.3.1
      
      * Bump anyhow
      
      * Use bounded-collections in pallet-xcm
      
      * Update substrate
      7619fea8
  26. Feb 03, 2023
  27. Feb 02, 2023
  28. Jan 29, 2023
  29. Jan 26, 2023
  30. Jan 20, 2023
  31. Jan 19, 2023
  32. Jan 18, 2023