From 137e97aaf9ed0f6d334f19f407bc859618410ef7 Mon Sep 17 00:00:00 2001
From: gtebrean <99179176+gtebrean@users.noreply.github.com>
Date: Tue, 13 Aug 2024 10:02:43 +0300
Subject: [PATCH 1/4] Release 4.12.1
Signed-off-by: gtebrean <99179176+gtebrean@users.noreply.github.com>
---
README.md | 4 ++--
gradle.properties | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 8a2cf970e..c22a2e2e1 100644
--- a/README.md
+++ b/README.md
@@ -118,7 +118,7 @@ Java:
org.web3j
core
- 4.12.0
+ 4.12.1
```
@@ -141,7 +141,7 @@ Gradle
Java:
```groovy
-implementation ('org.web3j:core:4.12.0')
+implementation ('org.web3j:core:4.12.1')
```
Android:
diff --git a/gradle.properties b/gradle.properties
index 6f1a039bc..119876619 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,2 +1,2 @@
group=org.web3j
-version=4.12.1-SNAPSHOT
+version=4.12.1
From 50d30fe0ba2152e829bb2c4d94a6cefef7d634f3 Mon Sep 17 00:00:00 2001
From: gtebrean <99179176+gtebrean@users.noreply.github.com>
Date: Tue, 13 Aug 2024 21:21:41 +0300
Subject: [PATCH 2/4] Release 4.12.1
Signed-off-by: gtebrean <99179176+gtebrean@users.noreply.github.com>
---
.../FastRawTransactionManagerIT.java | 34 +++++++++----------
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/integration-tests/src/test/java/org/web3j/protocol/scenarios/FastRawTransactionManagerIT.java b/integration-tests/src/test/java/org/web3j/protocol/scenarios/FastRawTransactionManagerIT.java
index 08b3a4575..b01279814 100644
--- a/integration-tests/src/test/java/org/web3j/protocol/scenarios/FastRawTransactionManagerIT.java
+++ b/integration-tests/src/test/java/org/web3j/protocol/scenarios/FastRawTransactionManagerIT.java
@@ -12,9 +12,20 @@
*/
package org.web3j.protocol.scenarios;
+import java.math.BigDecimal;
+import java.math.BigInteger;
+import java.util.Iterator;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.Map;
+import java.util.concurrent.ConcurrentHashMap;
+import java.util.concurrent.ConcurrentLinkedQueue;
+import java.util.concurrent.Future;
+
import com.carrotsearch.junitbenchmarks.BenchmarkOptions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
+
import org.web3j.EVMTest;
import org.web3j.NodeType;
import org.web3j.protocol.Web3j;
@@ -27,16 +38,6 @@
import org.web3j.tx.response.QueuingTransactionReceiptProcessor;
import org.web3j.utils.Convert;
-import java.math.BigDecimal;
-import java.math.BigInteger;
-import java.util.Iterator;
-import java.util.LinkedList;
-import java.util.List;
-import java.util.Map;
-import java.util.concurrent.ConcurrentHashMap;
-import java.util.concurrent.ConcurrentLinkedQueue;
-import java.util.concurrent.Future;
-
import static org.junit.jupiter.api.Assertions.*;
import static org.web3j.tx.TransactionManager.DEFAULT_POLLING_ATTEMPTS_PER_TX_HASH;
@@ -74,11 +75,11 @@ public void testTransactionPolling() throws Exception {
}
for (int i = 0;
- i < DEFAULT_POLLING_ATTEMPTS_PER_TX_HASH && !transactionReceipts.isEmpty();
- i++) {
+ i < DEFAULT_POLLING_ATTEMPTS_PER_TX_HASH && !transactionReceipts.isEmpty();
+ i++) {
for (Iterator> iterator = transactionReceipts.iterator();
- iterator.hasNext(); ) {
+ iterator.hasNext(); ) {
Future transactionReceiptFuture = iterator.next();
if (transactionReceiptFuture.isDone()) {
@@ -140,8 +141,7 @@ public void accept(TransactionReceipt transactionReceipt) {
}
@Override
- public void exception(Exception exception) {
- }
+ public void exception(Exception exception) {}
},
DEFAULT_POLLING_ATTEMPTS_PER_TX_HASH,
POLLING_FREQUENCY));
@@ -156,8 +156,8 @@ public void exception(Exception exception) {
}
for (int i = 0;
- i < DEFAULT_POLLING_ATTEMPTS_PER_TX_HASH && !pendingTransactions.isEmpty();
- i++) {
+ i < DEFAULT_POLLING_ATTEMPTS_PER_TX_HASH && !pendingTransactions.isEmpty();
+ i++) {
for (TransactionReceipt transactionReceipt : transactionReceipts) {
assertFalse(transactionReceipt.getBlockHash().isEmpty());
pendingTransactions.remove(transactionReceipt.getTransactionHash());
From 05c751247edcecc1d2695dce53bccd448a31ecbe Mon Sep 17 00:00:00 2001
From: gtebrean <99179176+gtebrean@users.noreply.github.com>
Date: Thu, 15 Aug 2024 16:48:19 +0300
Subject: [PATCH 3/4] bump version
Signed-off-by: gtebrean <99179176+gtebrean@users.noreply.github.com>
---
CHANGELOG.md | 16 +++++++++++++++-
build.gradle | 2 +-
gradle.properties | 2 +-
3 files changed, 17 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 181928f23..6a8d3d9bf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,7 +3,21 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
-# [4.12.1]() (Upcoming)
+# [4.12.2]() (Upcoming)
+
+### Bug Fixes
+
+*
+
+### Features
+
+* bump snapshot version to 4.12.2 [#2091](https://github.com/hyperledger/web3j/pull/2091)
+
+### BREAKING CHANGES
+
+*
+
+# [4.12.1](https://github.com/hyperledger/web3j/releases/tag/v4.12.1) (2024-08-14)
### Bug Fixes
diff --git a/build.gradle b/build.gradle
index de26630a3..f525c7fb7 100644
--- a/build.gradle
+++ b/build.gradle
@@ -30,7 +30,7 @@ ext {
// test dependencies
equalsverifierVersion = '3.16.1'
junitVersion = '5.5.2'
- web3jUnitVersion = '4.12.0'
+ web3jUnitVersion = '4.12.1'
junitBenchmarkVersion = '0.7.2'
logbackVersion = '1.5.6'
mockitoJunitVersion = '3.1.0'
diff --git a/gradle.properties b/gradle.properties
index 119876619..62f9d5507 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,2 +1,2 @@
group=org.web3j
-version=4.12.1
+version=4.12.2-SNAPSHOT
From 1580f1051b37050d95d31c02caa538bde7ee52df Mon Sep 17 00:00:00 2001
From: gtebrean <99179176+gtebrean@users.noreply.github.com>
Date: Thu, 15 Aug 2024 16:50:46 +0300
Subject: [PATCH 4/4] bump version
Signed-off-by: gtebrean <99179176+gtebrean@users.noreply.github.com>
---
CHANGELOG.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6a8d3d9bf..dabd7041e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,7 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
### Features
-* bump snapshot version to 4.12.2 [#2091](https://github.com/hyperledger/web3j/pull/2091)
+* bump snapshot version to 4.12.2 [#2093](https://github.com/hyperledger/web3j/pull/2093)
### BREAKING CHANGES