From d11400478dddb6bb78d294ced9d688712343fde0 Mon Sep 17 00:00:00 2001
From: PG Herveou <pgherveou@gmail.com>
Date: Thu, 13 Feb 2025 22:53:03 +0100
Subject: [PATCH] [pallet-revive] fix subxt version (#7570)

Cargo.lock change to subxt were rolled back
Fixing it and updating it in Cargo.toml so it does not happen again

---------

Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
---
 Cargo.lock          | 12 ++++++------
 Cargo.toml          |  2 +-
 prdoc/pr_7570.prdoc |  7 +++++++
 3 files changed, 14 insertions(+), 7 deletions(-)
 create mode 100644 prdoc/pr_7570.prdoc

diff --git a/Cargo.lock b/Cargo.lock
index 0a29b20c02d..493494c423b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -8727,7 +8727,7 @@ dependencies = [
  "httpdate",
  "itoa",
  "pin-project-lite",
- "socket2 0.5.7",
+ "socket2 0.4.9",
  "tokio",
  "tower-service",
  "tracing",
@@ -16428,7 +16428,7 @@ checksum = "4e69bf016dc406eff7d53a7d3f7cf1c2e72c82b9088aac1118591e36dd2cd3e9"
 dependencies = [
  "bitcoin_hashes 0.13.0",
  "rand",
- "rand_core 0.6.4",
+ "rand_core 0.5.1",
  "serde",
  "unicode-normalization",
 ]
@@ -20687,7 +20687,7 @@ checksum = "f8650aabb6c35b860610e9cff5dc1af886c9e25073b7b1712a68972af4281302"
 dependencies = [
  "bytes",
  "heck 0.5.0",
- "itertools 0.13.0",
+ "itertools 0.12.1",
  "log",
  "multimap",
  "once_cell",
@@ -20733,7 +20733,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
 checksum = "acf0c195eebb4af52c752bec4f52f645da98b6e92077a04110c7f349477ae5ac"
 dependencies = [
  "anyhow",
- "itertools 0.13.0",
+ "itertools 0.12.1",
  "proc-macro2 1.0.93",
  "quote 1.0.38",
  "syn 2.0.98",
@@ -29110,9 +29110,9 @@ dependencies = [
 
 [[package]]
 name = "subxt"
-version = "0.38.0"
+version = "0.38.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c53029d133e4e0cb7933f1fe06f2c68804b956de9bb8fa930ffca44e9e5e4230"
+checksum = "1c17d7ec2359d33133b63c97e28c8b7cd3f0a5bc6ce567ae3aef9d9e85be3433"
 dependencies = [
  "async-trait",
  "derive-where",
diff --git a/Cargo.toml b/Cargo.toml
index 3fa521170c3..2b635d5966b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1321,7 +1321,7 @@ substrate-test-runtime-client = { path = "substrate/test-utils/runtime/client" }
 substrate-test-runtime-transaction-pool = { path = "substrate/test-utils/runtime/transaction-pool" }
 substrate-test-utils = { path = "substrate/test-utils" }
 substrate-wasm-builder = { path = "substrate/utils/wasm-builder", default-features = false }
-subxt = { version = "0.38", default-features = false }
+subxt = { version = "0.38.1", default-features = false }
 subxt-metadata = { version = "0.38.0", default-features = false }
 subxt-signer = { version = "0.38" }
 syn = { version = "2.0.87" }
diff --git a/prdoc/pr_7570.prdoc b/prdoc/pr_7570.prdoc
new file mode 100644
index 00000000000..c38107f2de3
--- /dev/null
+++ b/prdoc/pr_7570.prdoc
@@ -0,0 +1,7 @@
+title: '[pallet-revive] fix subxt version'
+doc:
+- audience: Runtime Dev
+  description: |-
+    Cargo.lock change to subxt were rollback
+    Fixing it and updating it in Cargo.toml so it does not happen again
+crates: []
-- 
GitLab