Skip to content
  1. Aug 07, 2023
  2. May 25, 2023
    • Michal Kucharczyk's avatar
      xcm-builder: remove clone for clippy (#7291) · 6efbc1a4
      Michal Kucharczyk authored
      fix for:
      ```
      error: using `clone` on type `[u8; 32]` which implements the `Copy`
      trait
        --> xcm/xcm-builder/src/routing.rs:44:28
         |
      44 |             message.0.push(SetTopic(unique_id.clone()));
         |                                     ^^^^^^^^^^^^^^^^^ help: try
      removing the `clone` call: `unique_id`
         |
         = help: for further information visit
      https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
         = note: `-D clippy::clone-on-copy` implied by `-D clippy::complexity`
      ```
      6efbc1a4
    • Gavin Wood's avatar
      XCM: Tools for uniquely referencing messages (#7234) · 85dfadff
      Gavin Wood authored
      
      
      * Tools for unique topic references
      
      * Formatting
      
      * Naming
      
      * Repot into routing.rs.
      
      * More things done
      
      * Universal Exporter supports topic-as-reference
      
      * Some tests for the topic routing
      
      * More tests
      
      * Paid bridge tests
      
      * Add message ID to sending events
      
      * Formatting
      
      * fix and integrate into test nets
      
      * Move DenyThenTry and friend from Cumulus
      
      * Append SetTopic rather than prepend
      
      * Docs
      
      * Docs
      
      * Work with new ProcessMessage ID API
      
      * Formatting
      
      * Fix build
      
      * Fixes
      
      * Formatting
      
      * Update xcm/xcm-builder/src/barriers.rs
      
      Co-authored-by: default avatarFrancisco Aguirre <[email protected]>
      
      * Update xcm/xcm-builder/src/routing.rs
      
      Co-authored-by: default avatarFrancisco Aguirre <[email protected]>
      
      * Docs
      
      * Rename message_hash
      
      * Formatting
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * Rename
      
      * Another Rename
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * ".git/.scripts/commands/fmt/fmt.sh"
      
      * Update xcm/xcm-builder/src/routing.rs
      
      Co-authored-by: default avatarKeith Yeung <[email protected]>
      
      ---------
      
      Co-authored-by: default avatarFrancisco Aguirre <[email protected]>
      Co-authored-by: command-bot <>
      Co-authored-by: default avatarKeith Yeung <[email protected]>
      85dfadff