diff --git a/api/src/test/java/com/strategyobject/substrateclient/api/ApiTest.java b/api/src/test/java/com/strategyobject/substrateclient/api/ApiTest.java index 3e5c06d3..f13f667e 100644 --- a/api/src/test/java/com/strategyobject/substrateclient/api/ApiTest.java +++ b/api/src/test/java/com/strategyobject/substrateclient/api/ApiTest.java @@ -30,7 +30,7 @@ class ApiTest { private static final int WAIT_TIMEOUT = 1000; @Container - private final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC WS server.*", 1)); + private final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC server.*", 1)); @Test void getSystemPalletAndCall() throws Exception { // TODO move the test out of the project diff --git a/api/src/test/java/com/strategyobject/substrateclient/api/pallet/balances/BalancesTest.java b/api/src/test/java/com/strategyobject/substrateclient/api/pallet/balances/BalancesTest.java index 62ca429a..1aefe167 100644 --- a/api/src/test/java/com/strategyobject/substrateclient/api/pallet/balances/BalancesTest.java +++ b/api/src/test/java/com/strategyobject/substrateclient/api/pallet/balances/BalancesTest.java @@ -46,7 +46,7 @@ class BalancesTest { private static final int WAIT_TIMEOUT = 30; @Container - private final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC WS server.*", 1)); + private final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC server.*", 1)); @Test void transfer() throws Exception { diff --git a/api/src/test/java/com/strategyobject/substrateclient/api/pallet/system/SystemTest.java b/api/src/test/java/com/strategyobject/substrateclient/api/pallet/system/SystemTest.java index a3d992ae..842c7ce9 100644 --- a/api/src/test/java/com/strategyobject/substrateclient/api/pallet/system/SystemTest.java +++ b/api/src/test/java/com/strategyobject/substrateclient/api/pallet/system/SystemTest.java @@ -29,7 +29,7 @@ class SystemTest { private static final int WAIT_TIMEOUT = 30; @Container - private final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC WS server.*", 1)); + private final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC server.*", 1)); @Test void account() throws Exception { diff --git a/pallet/src/test/java/com/strategyobject/substrateclient/pallet/storage/StorageDoubleMapImplTests.java b/pallet/src/test/java/com/strategyobject/substrateclient/pallet/storage/StorageDoubleMapImplTests.java index 3492b3dc..fe153357 100644 --- a/pallet/src/test/java/com/strategyobject/substrateclient/pallet/storage/StorageDoubleMapImplTests.java +++ b/pallet/src/test/java/com/strategyobject/substrateclient/pallet/storage/StorageDoubleMapImplTests.java @@ -23,7 +23,7 @@ @Testcontainers class StorageDoubleMapImplTests { @Container - private final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC WS server.*", 1)); + private final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC server.*", 1)); private static final int CONNECTION_TIMEOUT = 1000; @Test diff --git a/pallet/src/test/java/com/strategyobject/substrateclient/pallet/storage/StorageMapImplTests.java b/pallet/src/test/java/com/strategyobject/substrateclient/pallet/storage/StorageMapImplTests.java index c6337e49..74ca79f2 100644 --- a/pallet/src/test/java/com/strategyobject/substrateclient/pallet/storage/StorageMapImplTests.java +++ b/pallet/src/test/java/com/strategyobject/substrateclient/pallet/storage/StorageMapImplTests.java @@ -23,7 +23,7 @@ @Testcontainers class StorageMapImplTests { @Container - private final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC WS server.*", 1)); + private final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC server.*", 1)); private static final int CONNECTION_TIMEOUT = 1000; @Test diff --git a/pallet/src/test/java/com/strategyobject/substrateclient/pallet/storage/StorageNMapImplTests.java b/pallet/src/test/java/com/strategyobject/substrateclient/pallet/storage/StorageNMapImplTests.java index d2d689c0..e520628d 100644 --- a/pallet/src/test/java/com/strategyobject/substrateclient/pallet/storage/StorageNMapImplTests.java +++ b/pallet/src/test/java/com/strategyobject/substrateclient/pallet/storage/StorageNMapImplTests.java @@ -45,7 +45,7 @@ class StorageNMapImplTests { private static final int WAIT_TIMEOUT = 10; @Container - private final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC WS server.*", 1)); + private final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC server.*", 1)); @SuppressWarnings("unchecked") diff --git a/pallet/src/test/java/com/strategyobject/substrateclient/pallet/storage/StorageValueImplTests.java b/pallet/src/test/java/com/strategyobject/substrateclient/pallet/storage/StorageValueImplTests.java index 6277d559..38beefda 100644 --- a/pallet/src/test/java/com/strategyobject/substrateclient/pallet/storage/StorageValueImplTests.java +++ b/pallet/src/test/java/com/strategyobject/substrateclient/pallet/storage/StorageValueImplTests.java @@ -23,7 +23,7 @@ @Testcontainers class StorageValueImplTests { @Container - private final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC WS server.*", 1)); + private final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC server.*", 1)); private static final int CONNECTION_TIMEOUT = 1000; @Test diff --git a/rpc/rpc-api/src/test/java/com/strategyobject/substrateclient/rpc/api/section/AuthorTests.java b/rpc/rpc-api/src/test/java/com/strategyobject/substrateclient/rpc/api/section/AuthorTests.java index ccb5337b..c296a082 100644 --- a/rpc/rpc-api/src/test/java/com/strategyobject/substrateclient/rpc/api/section/AuthorTests.java +++ b/rpc/rpc-api/src/test/java/com/strategyobject/substrateclient/rpc/api/section/AuthorTests.java @@ -43,7 +43,7 @@ class AuthorTests { private static final AtomicInteger NONCE = new AtomicInteger(0); @Container - static final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC WS server.*", 1)) + static final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC server.*", 1)) .withNetwork(network); @Test diff --git a/rpc/rpc-api/src/test/java/com/strategyobject/substrateclient/rpc/api/section/StateTests.java b/rpc/rpc-api/src/test/java/com/strategyobject/substrateclient/rpc/api/section/StateTests.java index 6276d7df..48b6f267 100644 --- a/rpc/rpc-api/src/test/java/com/strategyobject/substrateclient/rpc/api/section/StateTests.java +++ b/rpc/rpc-api/src/test/java/com/strategyobject/substrateclient/rpc/api/section/StateTests.java @@ -37,7 +37,7 @@ class StateTests { private final StorageKey storageKey; @Container - static final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC WS server.*", 1)) + static final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC server.*", 1)) .withNetwork(network); StateTests() { diff --git a/rpc/rpc-api/src/test/java/com/strategyobject/substrateclient/rpc/api/section/SystemTests.java b/rpc/rpc-api/src/test/java/com/strategyobject/substrateclient/rpc/api/section/SystemTests.java index 9b6e7e40..791a1363 100644 --- a/rpc/rpc-api/src/test/java/com/strategyobject/substrateclient/rpc/api/section/SystemTests.java +++ b/rpc/rpc-api/src/test/java/com/strategyobject/substrateclient/rpc/api/section/SystemTests.java @@ -24,7 +24,7 @@ class SystemTests { private static final Network network = Network.newNetwork(); @Container - static final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC WS server.*", 1)); + static final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC server.*", 1)); @Test void accountNextIndex() throws Exception { 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 f851e651..bac11902 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.7.4"; - public static final Long SPEC = 48L; + public static final String CURRENT_VERSION = "v1.8.0"; + public static final Long SPEC = 54L; private FrequencyVersion() { } diff --git a/transport/src/test/java/com/strategyobject/substrateclient/transport/ws/WsProviderProxyTest.java b/transport/src/test/java/com/strategyobject/substrateclient/transport/ws/WsProviderProxyTest.java index f57f9012..2587a84b 100644 --- a/transport/src/test/java/com/strategyobject/substrateclient/transport/ws/WsProviderProxyTest.java +++ b/transport/src/test/java/com/strategyobject/substrateclient/transport/ws/WsProviderProxyTest.java @@ -29,7 +29,7 @@ class WsProviderProxyTest { static final Network network = Network.newNetwork(); @Container - static final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC WS server.*", 1)) + static final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC server.*", 1)) .withNetwork(network); @Container diff --git a/transport/src/test/java/com/strategyobject/substrateclient/transport/ws/WsProviderTest.java b/transport/src/test/java/com/strategyobject/substrateclient/transport/ws/WsProviderTest.java index 94d2ecb6..60f4f852 100644 --- a/transport/src/test/java/com/strategyobject/substrateclient/transport/ws/WsProviderTest.java +++ b/transport/src/test/java/com/strategyobject/substrateclient/transport/ws/WsProviderTest.java @@ -26,7 +26,7 @@ class WsProviderTest { private static final int WAIT_TIMEOUT = 10; @Container - static final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC WS server.*", 1)); + static final TestSubstrateContainer substrate = new TestSubstrateContainer(FrequencyVersion.CURRENT_VERSION).waitingFor(Wait.forLogMessage(".*Running JSON-RPC server.*", 1)); @Test void canConnect() {