From 10ab510b338f69b3439b59719989270383270a7c Mon Sep 17 00:00:00 2001 From: Aziz Date: Wed, 6 Mar 2024 16:24:44 -0800 Subject: [PATCH] 187185079: Now using Frequency 1.11.0 Also, now we are not override the RpcException message which is incredibly useful for debugging --- build.gradle | 2 +- .../substrateclient/tests/containers/FrequencyVersion.java | 4 ++-- .../substrateclient/transport/ws/RpcException.java | 2 -- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/build.gradle b/build.gradle index 7e81f31b..843af8f9 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ plugins { allprojects { group = 'com.strategyobject.substrateclient' - version = '0.2.5.1-SNAPSHOT' + version = '0.2.5.2-SNAPSHOT' repositories { mavenLocal() diff --git a/tests/src/main/java/com/strategyobject/substrateclient/tests/containers/FrequencyVersion.java b/tests/src/main/java/com/strategyobject/substrateclient/tests/containers/FrequencyVersion.java index 5f49ba61..5a2b6431 100644 --- a/tests/src/main/java/com/strategyobject/substrateclient/tests/containers/FrequencyVersion.java +++ b/tests/src/main/java/com/strategyobject/substrateclient/tests/containers/FrequencyVersion.java @@ -1,8 +1,8 @@ package com.strategyobject.substrateclient.tests.containers; public class FrequencyVersion { - public static final String CURRENT_VERSION = "v1.10.0"; - public static final Long SPEC = 67L; + public static final String CURRENT_VERSION = "v1.11.0"; + public static final Long SPEC = 74L; private FrequencyVersion() { } diff --git a/transport/src/main/java/com/strategyobject/substrateclient/transport/ws/RpcException.java b/transport/src/main/java/com/strategyobject/substrateclient/transport/ws/RpcException.java index e291cfaf..1edaf44c 100644 --- a/transport/src/main/java/com/strategyobject/substrateclient/transport/ws/RpcException.java +++ b/transport/src/main/java/com/strategyobject/substrateclient/transport/ws/RpcException.java @@ -5,13 +5,11 @@ @Getter public class RpcException extends RuntimeException { private final int code; - private final String message; private final String data; public RpcException(int code, String message, String data) { super("RPC error " + code + ": " + message + (data == null ? "" : " (" + data + ")")); this.code = code; - this.message = message; this.data = data; } } \ No newline at end of file