Skip to content

Commit

Permalink
Cherry pick release 22.7.2 (#4359)
Browse files Browse the repository at this point in the history
* 22.7.2 cherry-pick

Signed-off-by: garyschulte <[email protected]>
  • Loading branch information
garyschulte authored Sep 7, 2022
1 parent c5ddf2b commit 1b10b21
Show file tree
Hide file tree
Showing 109 changed files with 2,181 additions and 529 deletions.
33 changes: 29 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,27 @@
# Changelog

## 22.7.1
## 22.7.2
### Besu 22.7.2 is a recommended release for the Merge and Mainnet users. 22.7.1 remains Merge-ready. This release provides additional robustness before the Merge with some fixes and improvements in sync, peering, and logging.

### Additions and Improvements
- Better management of jemalloc presence/absence in startup script [#4237](https://github.com/hyperledger/besu/pull/4237)
- Retry mechanism when getting a broadcasted block fail on all peers [#4271](https://github.com/hyperledger/besu/pull/4271)
- Filter out disconnected peers when fetching available peers [#4269](https://github.com/hyperledger/besu/pull/4269)
- Updated the default value of fast-sync-min-peers post merge [#4298](https://github.com/hyperledger/besu/pull/4298)
- Log imported block info post merge [#4310](https://github.com/hyperledger/besu/pull/4310)
- Transaction pool eviction by sender from tail of transaction list [#4327](https://github.com/hyperledger/besu/pull/4327)
- Transaction pool sender future nonce limits [#4336](https://github.com/hyperledger/besu/pull/4336)
- Pandas! Pandas now appear in 3 phases: The black bear and polar bear that are preparing? Those will appear when
your client has TTD configured (which is setup by default for mainnet), is in sync, and processing Proof of Work blocks. In the second phase you will see them powering up when the Terminal Total Difficulty block is added to the blockchain.
The final form of the Ethereum Panda will appear when the first finalized block is received from the Consensus Layer.

### Bug Fixes
- Accept wit/80 from Nethermind [#4279](https://github.com/hyperledger/besu/pull/4279)
- Properly shutdown the miner executor, to avoid waiting 30 seconds when stopping [#4353](https://github.com/hyperledger/besu/pull/4353)


## 22.7.1

### Merge Ready Release. Required update for The Merge on ethereum mainnet!

### Additions and Improvements
Expand All @@ -16,12 +37,16 @@
- Fix encoding of key (short hex) in eth_getProof [#4261](https://github.com/hyperledger/besu/pull/4261)
- Fix for post-merge networks fast-sync [#4224](https://github.com/hyperledger/besu/pull/4224), [#4276](https://github.com/hyperledger/besu/pull/4276)

### Download links
- https://hyperledger.jfrog.io/artifactory/besu-binaries/besu/22.7.1/besu-22.7.1.tar.gz / sha256: `7cca4c11e1d7525c172f2af9fbf456d134ada60e970d8b6abcfcd6c623b5dd36`
- https://hyperledger.jfrog.io/artifactory/besu-binaries/besu/22.7.1/besu-22.7.1.zip / sha256: `ba6e0b9b65ac36d041a5072392f119ff76e8e9f53a3d7b1e1a658ef1e4705d7a`

## 22.7.0

### Additions and Improvements
- Deprecation warning for Ropsten, Rinkeby, Kiln [#4173](https://github.com/hyperledger/besu/pull/4173)

### Bug Fixes
### Bug Fixes

- Fixes previous known issue [#3890](https://github.com/hyperledger/besu/issues/3890)from RC3 requiring a restart post-merge to continue correct transaction handling.
- Stop producing stack traces when a get headers response only contains the range start header [#4189](https://github.com/hyperledger/besu/pull/4189)
Expand All @@ -40,8 +65,8 @@
### Additions and Improvements
- Engine API: Change expiration time for JWT tokens to 60s [#4168](https://github.com/hyperledger/besu/pull/4168)
- Sepolia mergeNetSplit block [#4158](https://github.com/hyperledger/besu/pull/4158)
- Goerli TTD [#4160](https://github.com/hyperledger/besu/pull/4160)
- Several logging improvements
- Goerli TTD [#4160](https://github.com/hyperledger/besu/pull/4160)
- Several logging improvements

### Bug Fixes
- Allow to set any value for baseFeePerGas in the genesis file [#4177](https://github.com/hyperledger/besu/pull/4177)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
import java.util.Optional;

import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
Expand All @@ -38,6 +39,7 @@
import org.web3j.utils.Restriction;

@RunWith(Parameterized.class)
@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class BftPrivacyClusterAcceptanceTest extends PrivacyAcceptanceTestBase {
private final BftPrivacyType bftPrivacyType;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@
import java.io.IOException;
import java.util.Optional;

import org.junit.Ignore;
import org.junit.Test;
import org.web3j.utils.Restriction;

@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class DeployPrivateSmartContractAcceptanceTest extends ParameterizedEnclaveTestBase {

private final PrivacyNode minerNode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
import org.web3j.utils.Restriction;

@RunWith(Parameterized.class)
@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class EnclaveErrorAcceptanceTest extends PrivacyAcceptanceTestBase {

private final PrivacyNode alice;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

import com.google.common.collect.Lists;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
Expand All @@ -50,6 +51,7 @@
import org.web3j.tx.Contract;

@RunWith(Parameterized.class)
@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class FlexiblePrivacyAcceptanceTest extends FlexiblePrivacyAcceptanceTestBase {

private final EnclaveType enclaveType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import java.util.Optional;
import javax.annotation.Nonnull;

import org.junit.Ignore;
import org.junit.Test;
import org.web3j.abi.FunctionEncoder;
import org.web3j.abi.TypeReference;
Expand All @@ -48,6 +49,7 @@
import org.web3j.tx.Contract;
import org.web3j.utils.Restriction;

@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class PrivCallAcceptanceTest extends ParameterizedEnclaveTestBase {

private static final int VALUE = 1024;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@

import org.apache.tuweni.bytes.Bytes32;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.junit.runners.Parameterized.Parameters;
import org.testcontainers.containers.Network;

@RunWith(Parameterized.class)
@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class PrivDebugGetStateRootFlexibleGroupAcceptanceTest
extends FlexiblePrivacyAcceptanceTestBase {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@
import java.util.Optional;

import org.apache.tuweni.bytes.Bytes32;
import org.junit.Ignore;
import org.junit.Test;
import org.testcontainers.containers.Network;
import org.web3j.utils.Restriction;

@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class PrivDebugGetStateRootOffchainGroupAcceptanceTest extends ParameterizedEnclaveTestBase {

private final PrivacyNode aliceNode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,11 @@
import java.util.Optional;

import org.apache.tuweni.bytes.Bytes;
import org.junit.Ignore;
import org.junit.Test;
import org.web3j.utils.Restriction;

@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class PrivGetCodeAcceptanceTest extends ParameterizedEnclaveTestBase {

private final PrivacyNode alice;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,14 @@
import java.util.List;
import java.util.Optional;

import org.junit.Ignore;
import org.junit.Test;
import org.web3j.protocol.besu.response.privacy.PrivateTransactionReceipt;
import org.web3j.protocol.core.methods.response.EthLog.LogResult;
import org.web3j.utils.Restriction;

@SuppressWarnings("rawtypes")
@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class PrivGetLogsAcceptanceTest extends ParameterizedEnclaveTestBase {

/*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@
import java.util.Optional;

import org.apache.tuweni.bytes.Bytes;
import org.junit.Ignore;
import org.junit.Test;
import org.testcontainers.containers.Network;
import org.web3j.utils.Restriction;

@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class PrivGetPrivateTransactionAcceptanceTest extends ParameterizedEnclaveTestBase {

private final PrivacyNode alice;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
import io.vertx.core.Vertx;
import org.apache.tuweni.bytes.Bytes;
import org.junit.After;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
Expand All @@ -57,6 +58,7 @@
import org.web3j.utils.Numeric;

@RunWith(Parameterized.class)
@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class PrivacyClusterAcceptanceTest extends PrivacyAcceptanceTestBase {

private final PrivacyNode alice;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
import java.util.Optional;

import org.apache.logging.log4j.Level;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
Expand All @@ -45,6 +46,7 @@
import org.web3j.utils.Base64String;

@RunWith(Parameterized.class)
@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class PrivacyGroupAcceptanceTest extends PrivacyAcceptanceTestBase {

private final PrivacyNode alice;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@
import java.util.Optional;

import org.apache.tuweni.bytes.Bytes;
import org.junit.Ignore;
import org.junit.Test;
import org.web3j.utils.Restriction;

@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class PrivacyReceiptAcceptanceTest extends ParameterizedEnclaveTestBase {
final MinerTransactions minerTransactions = new MinerTransactions();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import java.math.BigInteger;
import java.util.Optional;

import org.junit.Ignore;
import org.junit.Test;
import org.testcontainers.containers.Network;
import org.web3j.protocol.besu.response.privacy.PrivateTransactionReceipt;
Expand All @@ -42,6 +43,7 @@
import org.web3j.tx.exceptions.ContractCallException;
import org.web3j.utils.Restriction;

@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class PrivateContractPublicStateAcceptanceTest extends ParameterizedEnclaveTestBase {

private final PrivacyNode transactionNode;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@
import java.math.BigInteger;
import java.util.Optional;

import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
import org.web3j.protocol.core.methods.response.EthCall;
import org.web3j.utils.Restriction;

@RunWith(Parameterized.class)
@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class PrivateGenesisAcceptanceTest extends ParameterizedEnclaveTestBase {
private final PrivacyNode alice;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,14 @@
import java.util.List;
import java.util.Optional;

import org.junit.Ignore;
import org.junit.Test;
import org.web3j.protocol.besu.response.privacy.PrivateTransactionReceipt;
import org.web3j.protocol.core.methods.response.EthLog.LogResult;
import org.web3j.utils.Restriction;

@SuppressWarnings("rawtypes")
@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class PrivateLogFilterAcceptanceTest extends ParameterizedEnclaveTestBase {

private final PrivacyNode node;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;
Expand All @@ -50,6 +51,7 @@
import org.web3j.utils.Restriction;

@RunWith(Parameterized.class)
@Ignore("Ignored since Tessera/Docker container startup causing errors")
public class FlexibleMultiTenancyAcceptanceTest extends FlexiblePrivacyAcceptanceTestBase {

private final EnclaveType enclaveType;
Expand Down
Loading

0 comments on commit 1b10b21

Please sign in to comment.