Release 24.1.1 (#6460)

* silence dns query error warning, at least until we can demote the upstream log to DEBUG (#6458)
* ignore bws sync requests until initial sync is complete (#6455)
* release 24.1.1

Signed-off-by: garyschulte <garyschulte@gmail.com>
release-24.1.1
garyschulte 10 months ago committed by GitHub
parent 897669ed14
commit 9b33e2e337
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      CHANGELOG.md
  2. 3
      besu/src/main/resources/log4j2.xml
  3. 26
      ethereum/eth/src/main/java/org/hyperledger/besu/ethereum/eth/sync/backwardsync/BackwardSyncContext.java
  4. 2
      gradle.properties

@ -1,6 +1,6 @@
# Changelog
## 24.1.1-SNAPSHOT
## 24.1.1
### Breaking Changes
- New `EXECUTION_HALTED` error returned if there is an error executing or simulating a transaction, with the reason for execution being halted. Replaces the generic `INTERNAL_ERROR` return code in certain cases which some applications may be checking for [#6343](https://github.com/hyperledger/besu/pull/6343)
@ -27,8 +27,12 @@
- Fluent EVM API definition for Tangerine Whistle had incorrect code size validation configured [#6382](https://github.com/hyperledger/besu/pull/6382)
- Correct mining beneficiary for Clique networks in TraceServiceImpl [#6390](https://github.com/hyperledger/besu/pull/6390)
- Fix to gas limit delta calculations used in block production. Besu should now increment or decrement the block gas limit towards its target correctly (thanks @arbora) #6425
- Ensure Backward Sync waits for initial sync before starting a session [#6455](https://github.com/hyperledger/besu/issues/6455)
- Silence the noisy DNS query errors [#6458](https://github.com/hyperledger/besu/issues/6458)
### Download Links
https://hyperledger.jfrog.io/artifactory/besu-binaries/besu/24.1.1/besu-24.1.1.zip / sha256 TBA
https://hyperledger.jfrog.io/artifactory/besu-binaries/besu/24.1.1/besu-24.1.1.tar.gz / sha256 TBA
## 24.1.0

@ -42,6 +42,9 @@
<Logger name="org.apache.tuweni.discovery.DNSTimerTask">
<RegexFilter regex="Refreshing DNS records with .*" onMatch="DENY" onMismatch="NEUTRAL" />
</Logger>
<Logger name="org.apache.tuweni.discovery.DNSResolver">
<RegexFilter regex="DNS query error with .*" onMatch="DENY" onMismatch="NEUTRAL" />
</Logger>
<Root level="${sys:root.log.level}">
<AppenderRef ref="Router" />
</Root>

@ -129,12 +129,16 @@ public class BackwardSyncContext {
backwardChain.addNewHash(newBlockHash);
}
final Status status = getOrStartSyncSession();
backwardChain
.getBlock(newBlockHash)
.ifPresent(
newTargetBlock -> status.updateTargetHeight(newTargetBlock.getHeader().getNumber()));
return status.currentFuture;
if (isReady()) {
final Status status = getOrStartSyncSession();
backwardChain
.getBlock(newBlockHash)
.ifPresent(
newTargetBlock -> status.updateTargetHeight(newTargetBlock.getHeader().getNumber()));
return status.currentFuture;
} else {
return CompletableFuture.failedFuture(new Throwable("Backward sync is not ready"));
}
}
public synchronized CompletableFuture<Void> syncBackwardsUntil(final Block newPivot) {
@ -142,9 +146,13 @@ public class BackwardSyncContext {
backwardChain.appendTrustedBlock(newPivot);
}
final Status status = getOrStartSyncSession();
status.updateTargetHeight(newPivot.getHeader().getNumber());
return status.currentFuture;
if (isReady()) {
final Status status = getOrStartSyncSession();
status.updateTargetHeight(newPivot.getHeader().getNumber());
return status.currentFuture;
} else {
return CompletableFuture.failedFuture(new Throwable("Backward sync is not ready"));
}
}
private Status getOrStartSyncSession() {

@ -1,4 +1,4 @@
version=24.1.1-RC
version=24.1.1
org.gradle.welcome=never
# Set exports/opens flags required by Google Java Format and ErrorProne plugins. (JEP-396)

Loading…
Cancel
Save