From 3e3012228d98debc832923ee1c8ed1b3af820188 Mon Sep 17 00:00:00 2001 From: ligi Date: Mon, 12 Aug 2019 15:21:08 +0200 Subject: [PATCH] Migrate to Kethereum 0.76.0 --- build.gradle | 2 +- src/main/kotlin/org/ethereum/lists/chains/ChainChecker.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index 95fe3c10..29e0829a 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ buildscript { ext { KOTLIN_VERSION = "1.3.41" - KETHEREUM_VERSION = "0.75.1" + KETHEREUM_VERSION = "0.76.0" } repositories { diff --git a/src/main/kotlin/org/ethereum/lists/chains/ChainChecker.kt b/src/main/kotlin/org/ethereum/lists/chains/ChainChecker.kt index dc5f2e3e..9339f6a8 100644 --- a/src/main/kotlin/org/ethereum/lists/chains/ChainChecker.kt +++ b/src/main/kotlin/org/ethereum/lists/chains/ChainChecker.kt @@ -2,7 +2,7 @@ package org.ethereum.lists.chains import com.beust.klaxon.JsonObject import com.beust.klaxon.Klaxon -import org.kethereum.rpc.EthereumRPC +import org.kethereum.rpc.HttpEthereumRPC import java.io.File import java.math.BigInteger @@ -57,7 +57,7 @@ fun checkChain(it: File, connectRPC: Boolean) { throw(RPCMustBeListOfStrings()) } else { println("connecting to $it") - val ethereumRPC = EthereumRPC(it) + val ethereumRPC = HttpEthereumRPC(it) println("Client:" + ethereumRPC.clientVersion()?.result) println("BlockNumber:" + ethereumRPC.blockNumber()?.result?.tryBigint()) println("GasPrice:" + ethereumRPC.gasPrice()?.result?.tryBigint())