Skip to content

Commit ee959bf

Browse files
authored
Merge branch 'main' into main
2 parents 00d5898 + c1c3715 commit ee959bf

File tree

93 files changed

+2412
-859
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+2412
-859
lines changed

.github/workflows/acceptance-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
name: test-args-${{ matrix.runner_index }}.txt
8080
path: '*.txt'
8181
- name: run acceptance tests
82-
run: ./gradlew --max-workers 1 acceptanceTestNotPrivacy `cat gradleArgs.txt` -Dorg.gradle.caching=true
82+
run: ./gradlew acceptanceTestNotPrivacy `cat gradleArgs.txt` -Dorg.gradle.caching=true
8383
- name: Remove downloaded test results
8484
run: rm -rf tmp/junit-xml-reports-downloaded
8585
- name: Upload Acceptance Test Results

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
- Add TLS/mTLS options and configure the GraphQL HTTP service[#7910](https://github.com/hyperledger/besu/pull/7910)
2323
- Allow plugins to propose transactions during block creation [#8268](https://github.com/hyperledger/besu/pull/8268)
2424
- Update `eth_getLogs` to return a `Block not found` error when the requested block is not found. [#8290](https://github.com/hyperledger/besu/pull/8290)
25+
- Improve Conflict Detection in Parallelization by Considering Slots to Reduce False Positives. [#7923](https://github.com/hyperledger/besu/pull/7923)
2526
### Bug fixes
2627
- Upgrade Netty to version 4.1.118 to fix CVE-2025-24970 [#8275](https://github.com/hyperledger/besu/pull/8275)
2728
- Add missing RPC method `debug_accountRange` to `RpcMethod.java` and implemented its handler. [#8153](https://github.com/hyperledger/besu/issues/8153)

acceptance-tests/dsl/src/main/java/org/hyperledger/besu/tests/acceptance/dsl/node/ProcessBesuNodeRunner.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
import java.util.concurrent.Executors;
4949
import java.util.concurrent.TimeUnit;
5050
import java.util.stream.Collectors;
51+
import java.util.stream.Stream;
5152

5253
import org.slf4j.Logger;
5354
import org.slf4j.LoggerFactory;
@@ -529,8 +530,7 @@ private void killBesuProcess(final String name) {
529530
return;
530531
}
531532

532-
process
533-
.descendants()
533+
Stream.concat(process.descendants(), Stream.of(process.toHandle()))
534534
.peek(
535535
processHandle ->
536536
LOG.info("Killing {} process, pid {}", processHandle.info(), processHandle.pid()))

acceptance-tests/dsl/src/main/java/org/hyperledger/besu/tests/acceptance/dsl/node/ThreadBesuNodeRunner.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
import org.hyperledger.besu.crypto.KeyPairUtil;
3232
import org.hyperledger.besu.cryptoservices.KeyPairSecurityModule;
3333
import org.hyperledger.besu.cryptoservices.NodeKey;
34-
import org.hyperledger.besu.ethereum.GasLimitCalculator;
3534
import org.hyperledger.besu.ethereum.api.ApiConfiguration;
3635
import org.hyperledger.besu.ethereum.api.graphql.GraphQLConfiguration;
3736
import org.hyperledger.besu.ethereum.api.jsonrpc.InProcessRpcConfiguration;
@@ -480,7 +479,6 @@ public BesuController provideBesuController(
480479
.ethProtocolConfiguration(EthProtocolConfiguration.defaultConfig())
481480
.clock(Clock.systemUTC())
482481
.storageProvider(storageProvider)
483-
.gasLimitCalculator(GasLimitCalculator.constant())
484482
.evmConfiguration(EvmConfiguration.DEFAULT)
485483
.maxPeers(25)
486484
.maxRemotelyInitiatedPeers(15)

acceptance-tests/tests/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
*/
1313

1414
plugins {
15-
id 'org.web3j' version '4.11.3'
16-
id 'org.web3j.solidity' version '0.4.1'
15+
id 'org.web3j' version '4.12.2'
16+
id 'org.web3j.solidity' version '0.5.2'
1717
}
1818

1919
web3j { generatedPackageName = 'org.hyperledger.besu.tests.web3j.generated' }

acceptance-tests/tests/shanghai/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
plugins {
3-
id 'org.web3j' version '4.11.3'
4-
id 'org.web3j.solidity' version '0.4.1'
3+
id 'org.web3j' version '4.12.2'
4+
id 'org.web3j.solidity' version '0.5.2'
55
}
66

77
jar { enabled = true }

acceptance-tests/tests/src/test/java/org/hyperledger/besu/tests/acceptance/AbstractPreexistingNodeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ protected static void extract(final Path path, final String destDirectory) throw
4848
new TarArchiveInputStream(
4949
new GzipCompressorInputStream(new FileInputStream(path.toAbsolutePath().toString())))) {
5050
TarArchiveEntry entry;
51-
while ((entry = fin.getNextTarEntry()) != null) {
51+
while ((entry = fin.getNextEntry()) != null) {
5252
if (entry.isDirectory()) {
5353
continue;
5454
}

acceptance-tests/tests/src/test/java/org/hyperledger/besu/tests/acceptance/bftsoak/BftMiningSoakTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
import com.fasterxml.jackson.databind.node.ObjectNode;
3232
import org.assertj.core.api.Assertions;
33+
import org.junit.jupiter.api.AfterEach;
3334
import org.junit.jupiter.params.ParameterizedTest;
3435
import org.junit.jupiter.params.provider.MethodSource;
3536

@@ -344,6 +345,7 @@ private void stopNode(final BesuNode node) throws InterruptedException {
344345
Thread.sleep(TEN_SECONDS);
345346
}
346347

348+
@AfterEach
347349
@Override
348350
public void tearDownAcceptanceTestBase() {
349351
cluster.stop();

acceptance-tests/tests/src/test/java/org/hyperledger/besu/tests/acceptance/bootstrap/ClusterNoDiscoveryAcceptanceTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import org.hyperledger.besu.tests.acceptance.dsl.node.cluster.ClusterConfiguration;
2121
import org.hyperledger.besu.tests.acceptance.dsl.node.cluster.ClusterConfigurationBuilder;
2222

23+
import org.junit.jupiter.api.AfterEach;
2324
import org.junit.jupiter.api.BeforeEach;
2425
import org.junit.jupiter.api.Test;
2526

@@ -44,6 +45,7 @@ public void shouldNotConnectToOtherPeer() {
4445
fullNode.verify(net.awaitPeerCount(0));
4546
}
4647

48+
@AfterEach
4749
@Override
4850
public void tearDownAcceptanceTestBase() {
4951
noDiscoveryCluster.stop();

acceptance-tests/tests/src/test/java/org/hyperledger/besu/tests/acceptance/bootstrap/ClusterThreadNodeRunnerAcceptanceTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131

3232
import java.util.List;
3333

34+
import org.junit.jupiter.api.AfterEach;
3435
import org.junit.jupiter.api.BeforeEach;
3536
import org.junit.jupiter.api.Test;
3637

@@ -79,6 +80,7 @@ void shouldMineTransactionsEvenAfterRestart() {
7980
miner.verify(recipient.balanceEquals(2));
8081
}
8182

83+
@AfterEach
8284
@Override
8385
public void tearDownAcceptanceTestBase() {
8486
noDiscoveryCluster.stop();

0 commit comments

Comments
 (0)