From 7ee903a8f481b6c8fb42923eab5f8c7be928c579 Mon Sep 17 00:00:00 2001 From: James Wilson Date: Wed, 21 Sep 2022 12:15:10 +0100 Subject: [PATCH 1/2] Bump scale-value and scale-decode (these both compile to wasm ok) --- subxt/Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subxt/Cargo.toml b/subxt/Cargo.toml index 9eb2309b66..07c0c2d636 100644 --- a/subxt/Cargo.toml +++ b/subxt/Cargo.toml @@ -28,8 +28,8 @@ jsonrpsee = ["dep:jsonrpsee"] bitvec = { version = "1.0.0", default-features = false, features = ["alloc"] } codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = ["derive", "full", "bit-vec"] } scale-info = { version = "2.0.0", features = ["bit-vec"] } -scale-value = "0.5.0" -scale-decode = "0.3.0" +scale-value = "0.6.0" +scale-decode = "0.4.0" futures = "0.3.13" hex = "0.4.3" jsonrpsee = { version = "0.15.1", features = ["async-client", "client-ws-transport", "jsonrpsee-types"], optional = true } From df54aae0a9311ae7b280a40a4dcb979a28638b9d Mon Sep 17 00:00:00 2001 From: James Wilson Date: Wed, 21 Sep 2022 12:32:30 +0100 Subject: [PATCH 2/2] clippy --- subxt/src/events/events_type.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subxt/src/events/events_type.rs b/subxt/src/events/events_type.rs index 2d992b93ba..f14e245877 100644 --- a/subxt/src/events/events_type.rs +++ b/subxt/src/events/events_type.rs @@ -470,7 +470,7 @@ mod tests { /// [`RawEventDetails`] can be annoying to test, because it contains /// type info in the decoded field Values. Strip that here so that /// we can compare fields more easily. - #[derive(Debug, PartialEq, Clone)] + #[derive(Debug, PartialEq, Eq, Clone)] pub struct TestRawEventDetails { pub phase: Phase, pub index: u32,