Skip to content

Commit

Permalink
solution: publish v0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
splix committed Jul 4, 2020
1 parent c58c9c8 commit 3227a8e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ apply plugin: 'jacoco'

allprojects {
group = 'io.emeraldpay.polkaj'
version = "0.2.2"
version = "0.2.3"

repositories {
mavenLocal()
Expand Down
2 changes: 1 addition & 1 deletion examples/common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Common config for Polkaj Examples
//
ext {
polkajVersion = "0.2.2"
polkajVersion = "0.2.3"
}

repositories {
Expand Down
3 changes: 2 additions & 1 deletion examples/rpc/src/main/java/ShowState.java
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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();
Expand Down

0 comments on commit 3227a8e

Please sign in to comment.