From 3227a8ef605cd65b29b1cb2648a02e3a2a9c2419 Mon Sep 17 00:00:00 2001 From: Igor Artamonov Date: Fri, 3 Jul 2020 21:13:53 -0400 Subject: [PATCH] solution: publish v0.2.3 --- README.adoc | 4 ++-- build.gradle | 2 +- examples/common.gradle | 2 +- examples/rpc/src/main/java/ShowState.java | 3 ++- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/README.adoc b/README.adoc index 7006de9..d44c962 100644 --- a/README.adoc +++ b/README.adoc @@ -1,6 +1,6 @@ = PolkaJ - Polkadot Java Client -:lib-version: 0.2.2 -:lib-version-dev: 0.2.2 +:lib-version: 0.2.3 +:lib-version-dev: 0.2.3 image:https://github.com/emeraldpay/polkaj/workflows/Tests/badge.svg["Unit Tests"] image:https://codecov.io/gh/emeraldpay/polkaj/branch/master/graph/badge.svg["Coverage",link="https://codecov.io/gh/emeraldpay/polkaj"] diff --git a/build.gradle b/build.gradle index 7b7801c..046b4d6 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ apply plugin: 'jacoco' allprojects { group = 'io.emeraldpay.polkaj' - version = "0.2.2" + version = "0.2.3" repositories { mavenLocal() diff --git a/examples/common.gradle b/examples/common.gradle index aa8c05a..130fc67 100644 --- a/examples/common.gradle +++ b/examples/common.gradle @@ -2,7 +2,7 @@ // Common config for Polkaj Examples // ext { - polkajVersion = "0.2.2" + polkajVersion = "0.2.3" } repositories { diff --git a/examples/rpc/src/main/java/ShowState.java b/examples/rpc/src/main/java/ShowState.java index 8368df2..05243cf 100644 --- a/examples/rpc/src/main/java/ShowState.java +++ b/examples/rpc/src/main/java/ShowState.java @@ -1,5 +1,6 @@ import com.fasterxml.jackson.databind.ObjectMapper; import io.emeraldpay.polkaj.api.PolkadotApi; +import io.emeraldpay.polkaj.api.PolkadotMethod; import io.emeraldpay.polkaj.api.RpcCall; import io.emeraldpay.polkaj.apihttp.PolkadotHttpApi; import io.emeraldpay.polkaj.json.BlockResponseJson; @@ -21,7 +22,7 @@ public static void main(String[] args) throws Exception { // the first parameter is Class / JavaType of the expected result // second is the method name // and optionally a list of parameters for the call - RpcCall.create(Hash256.class, "chain_getFinalisedHead") + RpcCall.create(Hash256.class, PolkadotMethod.CHAIN_GET_FINALIZED_HEAD) ); Hash256 hash = hashFuture.get();