Skip to content

Commit 22ac25c

Browse files
macfarladaniellehrner
authored andcommitted
removed PKI backed QBFT (hyperledger#7310)
* removed PKI backed QBFT Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> * changelog Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> --------- Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com> Signed-off-by: Daniel Lehrner <daniel.lehrner@consensys.net>
1 parent 6e5b1d7 commit 22ac25c

File tree

187 files changed

+17
-3800
lines changed

Some content is hidden

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

187 files changed

+17
-3800
lines changed

CHANGELOG.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
## Next release
44

55
### Breaking Changes
6-
- Removed deprecated sync modes (X_SNAP and X_CHECKPOINT). Use SNAP and CHECKPOINT instead [#7309](https://github.com/hyperledger/besu/pull/7309)
6+
- Remove deprecated sync modes (X_SNAP and X_CHECKPOINT). Use SNAP and CHECKPOINT instead [#7309](https://github.com/hyperledger/besu/pull/7309)
7+
- Remove PKI-backed QBFT (deprecated in 24.5.1) Other forms of QBFT remain unchanged. [#7293](https://github.com/hyperledger/besu/pull/7293)
78

89
### Additions and Improvements
910
- `--Xsnapsync-bft-enabled` option enables experimental support for snap sync with IBFT/QBFT permissioned Bonsai-DB chains [#7140](https://github.com/hyperledger/besu/pull/7140)
1011
- Add support to load external profiles using `--profile` [#7265](https://github.com/hyperledger/besu/issues/7265)
1112
- `privacy-nonce-always-increments` option enables private transactions to always increment the nonce, even if the transaction is invalid [#6593](https://github.com/hyperledger/besu/pull/6593)
12-
- Added `block-test` subcommand to the evmtool which runs blockchain reference tests [#7293](https://github.com/hyperledger/besu/pull/7293)
13-
- implement gnark-crypto for eip-2537 [#7316](https://github.com/hyperledger/besu/pull/7316)
13+
- Add `block-test` subcommand to the evmtool which runs blockchain reference tests [#7310](https://github.com/hyperledger/besu/pull/7310)
14+
- Implement gnark-crypto for eip-2537 [#7316](https://github.com/hyperledger/besu/pull/7316)
1415
- Added EIP-7702 [#7237](https://github.com/hyperledger/besu/pull/7237)
1516

1617
### Bug fixes

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

-8
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
import org.hyperledger.besu.ethereum.permissioning.PermissioningConfiguration;
2929
import org.hyperledger.besu.ethereum.worldstate.DataStorageConfiguration;
3030
import org.hyperledger.besu.metrics.prometheus.MetricsConfiguration;
31-
import org.hyperledger.besu.pki.config.PkiKeyStoreConfiguration;
3231
import org.hyperledger.besu.tests.acceptance.dsl.node.configuration.genesis.GenesisConfigurationProvider;
3332

3433
import java.nio.file.Path;
@@ -70,7 +69,6 @@ public class BesuNodeConfiguration {
7069
private final List<String> runCommand;
7170
private final NetworkName network;
7271
private final Optional<KeyPair> keyPair;
73-
private final Optional<PkiKeyStoreConfiguration> pkiKeyStoreConfiguration;
7472
private final boolean strictTxReplayProtectionEnabled;
7573
private final Map<String, String> environment;
7674

@@ -107,7 +105,6 @@ public class BesuNodeConfiguration {
107105
final Optional<PrivacyParameters> privacyParameters,
108106
final List<String> runCommand,
109107
final Optional<KeyPair> keyPair,
110-
final Optional<PkiKeyStoreConfiguration> pkiKeyStoreConfiguration,
111108
final boolean strictTxReplayProtectionEnabled,
112109
final Map<String, String> environment) {
113110
this.name = name;
@@ -142,7 +139,6 @@ public class BesuNodeConfiguration {
142139
this.privacyParameters = privacyParameters;
143140
this.runCommand = runCommand;
144141
this.keyPair = keyPair;
145-
this.pkiKeyStoreConfiguration = pkiKeyStoreConfiguration;
146142
this.strictTxReplayProtectionEnabled = strictTxReplayProtectionEnabled;
147143
this.environment = environment;
148144
}
@@ -275,10 +271,6 @@ public Optional<KeyPair> getKeyPair() {
275271
return keyPair;
276272
}
277273

278-
public Optional<PkiKeyStoreConfiguration> getPkiKeyStoreConfiguration() {
279-
return pkiKeyStoreConfiguration;
280-
}
281-
282274
public boolean isStrictTxReplayProtectionEnabled() {
283275
return strictTxReplayProtectionEnabled;
284276
}

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

-10
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
import org.hyperledger.besu.ethereum.permissioning.PermissioningConfiguration;
4242
import org.hyperledger.besu.ethereum.worldstate.DataStorageConfiguration;
4343
import org.hyperledger.besu.metrics.prometheus.MetricsConfiguration;
44-
import org.hyperledger.besu.pki.config.PkiKeyStoreConfiguration;
4544
import org.hyperledger.besu.tests.acceptance.dsl.node.configuration.genesis.GenesisConfigurationProvider;
4645
import org.hyperledger.besu.tests.acceptance.dsl.node.configuration.pki.PKCS11Utils;
4746

@@ -96,7 +95,6 @@ public class BesuNodeConfigurationBuilder {
9695
private Optional<PrivacyParameters> privacyParameters = Optional.empty();
9796
private List<String> runCommand = new ArrayList<>();
9897
private Optional<KeyPair> keyPair = Optional.empty();
99-
private Optional<PkiKeyStoreConfiguration> pkiKeyStoreConfiguration = Optional.empty();
10098
private Boolean strictTxReplayProtectionEnabled = false;
10199
private Map<String, String> environment = new HashMap<>();
102100

@@ -429,13 +427,6 @@ public BesuNodeConfigurationBuilder p2pTLSEnabled(final String name, final Strin
429427
return this;
430428
}
431429

432-
public BesuNodeConfigurationBuilder pkiBlockCreationEnabled(
433-
final PkiKeyStoreConfiguration pkiKeyStoreConfiguration) {
434-
this.pkiKeyStoreConfiguration = Optional.of(pkiKeyStoreConfiguration);
435-
436-
return this;
437-
}
438-
439430
public BesuNodeConfigurationBuilder discoveryEnabled(final boolean discoveryEnabled) {
440431
this.discoveryEnabled = discoveryEnabled;
441432
return this;
@@ -549,7 +540,6 @@ public BesuNodeConfiguration build() {
549540
privacyParameters,
550541
runCommand,
551542
keyPair,
552-
pkiKeyStoreConfiguration,
553543
strictTxReplayProtectionEnabled,
554544
environment);
555545
}

acceptance-tests/tests/src/test/resources/pki-certs/README.md

-127
This file was deleted.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)