From 41874c842ce558460d6589fe7bc4d211a7125aae Mon Sep 17 00:00:00 2001 From: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com> Date: Thu, 25 May 2023 16:14:59 +0200 Subject: [PATCH 1/2] xcm-builder: remove clone for clippy (#7291) 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` ``` --- xcm/xcm-builder/src/routing.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xcm/xcm-builder/src/routing.rs b/xcm/xcm-builder/src/routing.rs index b2d94b788628..c46e0ce78569 100644 --- a/xcm/xcm-builder/src/routing.rs +++ b/xcm/xcm-builder/src/routing.rs @@ -41,7 +41,7 @@ impl SendXcm for WithUniqueTopic { *id } else { let unique_id = unique(&message); - message.0.push(SetTopic(unique_id.clone())); + message.0.push(SetTopic(unique_id)); unique_id }; let (ticket, assets) = Inner::validate(destination, &mut Some(message)) @@ -86,7 +86,7 @@ impl SendXcm for WithTopicSource Date: Thu, 25 May 2023 11:18:14 -0300 Subject: [PATCH 2/2] bump zombienet version (#7292) --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 01e47746b5cf..3cb34c8664da 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,7 +38,7 @@ variables: BUILDAH_COMMAND: "buildah --storage-driver overlay2" DOCKER_OS: "debian:stretch" ARCH: "x86_64" - ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.50" + ZOMBIENET_IMAGE: "docker.io/paritytech/zombienet:v1.3.55" default: cache: {}