|
|
|
@ -955,13 +955,6 @@ public class BesuCommand implements DefaultCommandValues, Runnable { |
|
|
|
|
description = "The enclave's public key file") |
|
|
|
|
private final File privacyPublicKeyFile = null; |
|
|
|
|
|
|
|
|
|
@Option( |
|
|
|
|
names = {"--privacy-precompiled-address"}, |
|
|
|
|
description = |
|
|
|
|
"The address to which the privacy pre-compiled contract will be mapped (default: ${DEFAULT-VALUE})", |
|
|
|
|
hidden = true) |
|
|
|
|
private final Integer privacyPrecompiledAddress = Address.PRIVACY; |
|
|
|
|
|
|
|
|
|
@Option( |
|
|
|
|
names = {"--privacy-marker-transaction-signing-key-file"}, |
|
|
|
|
description = |
|
|
|
@ -2200,11 +2193,6 @@ public class BesuCommand implements DefaultCommandValues, Runnable { |
|
|
|
|
"--privacy-marker-transaction-signing-key-file can not be used in conjunction with a plugin that specifies a PrivateMarkerTransactionFactory"); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!Address.PRIVACY.equals(privacyPrecompiledAddress)) { |
|
|
|
|
logger.warn( |
|
|
|
|
"--privacy-precompiled-address option is deprecated. This address is derived, based on --privacy-onchain-groups-enabled."); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
privacyParametersBuilder.setPrivateKeyPath(privateMarkerTransactionSigningKeyPath); |
|
|
|
|
privacyParametersBuilder.setStorageProvider( |
|
|
|
|
privacyKeyStorageProvider(keyValueStorageName + "-privacy")); |
|
|
|
|