Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge1153 #1

Merged
merged 181 commits into from
Dec 3, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
181 commits
Select commit Hold shift + click to select a range
86c3080
Fixing sub logging and moving stack trace to debug. (#4334)
non-fungible-nelson Aug 31, 2022
2e08c5c
4328 quiet cors errors (#4335)
jflo Sep 1, 2022
f3fd946
Evict Transactions by sender from tail first (#4327)
garyschulte Sep 1, 2022
8ee2539
Feature/tx sender future nonce limits (#4336)
garyschulte Sep 2, 2022
a5bf37c
cleanup from PR 4178 (#4266)
pinges Sep 4, 2022
770b6b8
tessera 22.1.7 (#4316)
macfarla Sep 5, 2022
6e8a906
Update snapsync logging for clearer status. Issue 4346. (#4347)
non-fungible-nelson Sep 5, 2022
2960258
Quieter logging on wire-RLP Errors (#4337)
shemnon Sep 6, 2022
d20f0a8
Always shutdown the miner executor on exit (#4353)
fab-10 Sep 7, 2022
93109ec
adds means to report causing exception up to RPC layer so it can deci…
jflo Sep 7, 2022
101f5ef
refactors to rely on blocks added, and behave like singleton (#4325)
jflo Sep 7, 2022
c57dcd9
fix trie by asking peers (#4312)
matkt Sep 7, 2022
20fc1b7
Wording tweaks for edge cases. (#4351)
non-fungible-nelson Sep 7, 2022
980a461
prep for 22.7.3 (#4362)
garyschulte Sep 8, 2022
1623338
Remove connections if they are already disconnected (#4304)
macfarla Sep 8, 2022
79ff26e
Update spotless config (#4366)
shemnon Sep 8, 2022
e9d261d
Feature/prep 22.7.3 (#4370)
garyschulte Sep 8, 2022
6dc0749
Inject synchronous Vertx as dependency for engine api (#4289)
jpnovais Sep 13, 2022
26e23ac
Quieten merkletrie exceptions (#4378)
garyschulte Sep 13, 2022
4691bfd
Revise Memory Expansion (#4387)
shemnon Sep 13, 2022
240a481
Bugfix concurrent legacy transaction eviction in BaseFee txpool (#4390)
garyschulte Sep 14, 2022
9a6701e
add tostring (#4392)
macfarla Sep 14, 2022
9b42ab5
waiting blockchain before stopping snapsync (#4345)
matkt Sep 15, 2022
5319376
Fix StacklessClosedChannelException caused by the fact that all Engin…
ahamlat Sep 19, 2022
5e15625
Retry mechanism for block creation (#4407)
fab-10 Sep 20, 2022
bc9ff86
Less strict engine QoS timer (#4411)
daniellehrner Sep 21, 2022
6d9b328
Bump besu-native to 0.6.1 (#4416)
garyschulte Sep 21, 2022
bf83efd
Upgrade snakeyaml to 1.32 (#4419)
shemnon Sep 21, 2022
bc7b9c3
update CHANGELOG for 4349 (#4426)
jflo Sep 22, 2022
30bff31
Transaction pool improvements to avoid filling the pool with not exec…
fab-10 Sep 23, 2022
8718fa6
Create a new flag on RocksDB for high spec hardware to boost performa…
ahamlat Sep 23, 2022
42086bf
Make transaction pool limits for sender based on pool size (#4417)
garyschulte Sep 23, 2022
94c9553
Logging: peer table refresh (#4391)
macfarla Sep 23, 2022
3613903
logs JSON-RPC request and responses in TRACE mode (#4395)
jpnovais Sep 23, 2022
a79590e
22.7.3 release (#4430)
garyschulte Sep 23, 2022
0848d2e
Prepare for version 22.7.4-SNAPSHOT (#4431)
garyschulte Sep 23, 2022
459550a
move download links into 22.7.3 block, add sha's for the artifacts (#…
garyschulte Sep 23, 2022
1fbf703
Remove sender from map when he has no more tracked transactions (#4415)
fab-10 Sep 25, 2022
d6e1400
Add config file support for high spec flag (#4438)
ahamlat Sep 26, 2022
286a6f3
adding new release version (#4442)
jflo Sep 26, 2022
347eaa2
updated version and CHANGELOG for next dev cycle (#4444)
jflo Sep 27, 2022
5fe49c6
these don't need to be at info (#4432)
jflo Sep 27, 2022
64bf83c
Keep the best block built until now instead of the last one (#4455)
fab-10 Sep 30, 2022
10e72bb
Avoid to process transactions during initial sync (#4457)
fab-10 Sep 30, 2022
cbe6306
Add Mainnet to merged networks (#4463)
fab-10 Oct 1, 2022
2d02f6b
Update Security Policy contact info (#4447)
shemnon Oct 3, 2022
3acaee9
Change min selection to an unsigned min (#4420)
shemnon Oct 3, 2022
817c1cb
Java modules support (#4468)
mustafauzunn Oct 4, 2022
7ae6edd
Fix a few output strings (#4448)
jtraglia Oct 4, 2022
4c66cc6
Add Rpc method name when logging IOException (#4406)
Gabriel-Trintinalia Oct 4, 2022
016016d
Fixing logging per issue 4450. (#4473)
non-fungible-nelson Oct 4, 2022
a80ed4e
Replace boolean return with BlockImportResult object (#4386)
Gabriel-Trintinalia Oct 4, 2022
9e267ae
Access fields/methods more directly (#4449)
jtraglia Oct 5, 2022
4c2251b
Log index is counted per block, not per transaction (#4355)
daniellehrner Oct 5, 2022
7d18304
uprev version to 22.10.RC1 (#4483)
jflo Oct 5, 2022
ef69a6c
Update GraphQL to be closer to execution-api spec (#4112)
shemnon Oct 5, 2022
8b05dd4
Fix banning (static peers) because of late response in eth/66 (#4377)
pietjepuk2 Oct 6, 2022
4c3514a
Improve UX of initial sync logs, pushing not relevant logs to debug l…
fab-10 Oct 6, 2022
e179b86
The block variable was keeping too much memory while waiting for futu…
gezero Oct 6, 2022
e4477f9
removes pandas (#4472)
jflo Oct 6, 2022
84eab69
Refactor unverified forkchoice event (#4487)
fab-10 Oct 6, 2022
839f39d
Optimize pivot block selector on PoS networks (#4488)
fab-10 Oct 6, 2022
9bf1d3d
Optimize snap sync for PoS networks (#4462)
fab-10 Oct 6, 2022
154e56c
22.10.0-RC1 release (#4492)
garyschulte Oct 6, 2022
77eeba9
Prepare for version 22.10.1-SNAPSHOT (#4493)
garyschulte Oct 7, 2022
45a8c7c
update changelog for 22.10.0-RC2 (#4494)
garyschulte Oct 7, 2022
aa84983
Reduced logging level on Subscriber error callback. (#4485)
mark-terry Oct 7, 2022
9bc210b
Better handler for --fast-sync-min-peers flag (#4481)
gfukushima Oct 7, 2022
2bcd2a7
Flexible Privacy Groups feature - Support to Tessera's EC encryptor (…
freemanzMrojo Oct 7, 2022
6b31efa
Log receipts reorg (#4497)
jflo Oct 7, 2022
7185bb0
update changelog to includ 22.7.6 and fix sha's for 22.7.5 (#4499)
garyschulte Oct 8, 2022
af25c9b
upgrade tuweni to 2.3.0 (#4464)
atoulme Oct 8, 2022
8527fc1
RLP zero encoding fix. (#4388)
mark-terry Oct 10, 2022
c9d4b89
hide deprecated option tx-pool-max-hashes (#4501)
macfarla Oct 11, 2022
7a2db24
RPC parameter error improvements. Test updates. (#4510)
mark-terry Oct 11, 2022
4b20e77
Always return a transaction type for pending transactions (#4364)
daniellehrner Oct 11, 2022
97cf43b
Remove deprecated --Xmerge-support option (#4518)
fab-10 Oct 12, 2022
32125fb
add debug logging for invalid case (#4520)
macfarla Oct 12, 2022
5dec71c
Avoid a cyclic reference while printing EngineExchangeTransitionConfi…
daniellehrner Oct 12, 2022
33a0188
Make PoS block creation max time a config option (#4519)
fab-10 Oct 12, 2022
9f9733f
java 17 (#4515)
macfarla Oct 12, 2022
7cab18e
Make GraphQL scalar parsing compatible with variables (#4522)
shemnon Oct 12, 2022
7c926d2
improve number of peers metric (#4527)
pinges Oct 13, 2022
36fd1fb
Tune EthScheduler thread pools to avoid to recreate too many threads …
fab-10 Oct 13, 2022
e0b26d2
don't add to bad blocks manager on StorageException (#4524)
jflo Oct 13, 2022
d73ce21
Bonsai snapshot worldstate (#4409)
garyschulte Oct 13, 2022
e9f979e
Try to build better block proposals until timeout or GetPayload is ca…
fab-10 Oct 14, 2022
9f8a948
EVM Performance, arrays and old tracing (#4533)
shemnon Oct 14, 2022
df56576
BlockCreator returns BlockCreationResult transaction selection result…
jpnovais Oct 14, 2022
b80bba9
add Ameziane as a maintainer (#4526)
garyschulte Oct 18, 2022
451bb7a
add maintainer (#4479)
macfarla Oct 19, 2022
8675592
move to emeritus (#4480)
macfarla Oct 19, 2022
ec13809
check for self in one more spot (#4521)
macfarla Oct 19, 2022
e0b31e9
Upgrade Apache Commons Text to 1.10.0 (#4542)
daniellehrner Oct 19, 2022
90e54c0
Reduce the number of runtime exceptions (SecurityModuleException) (#4…
ahamlat Oct 19, 2022
3ec23e4
Upgrade RocksDB version from 6.29.5 to 7.6.0. (#4517)
ahamlat Oct 19, 2022
1f04509
P2P: Connect to maintained connections at startup (#4543)
macfarla Oct 19, 2022
8636a18
Migrate deprecated features in picocli to v4.0 (#4456)
gfukushima Oct 19, 2022
59d3044
Migrate EVM execution loop into a switch (#4540)
shemnon Oct 19, 2022
226557a
Add more details to rpc http/ws apis error message (#4538)
gfukushima Oct 19, 2022
618ad09
Refactored spy stubbing. (#4544)
mark-terry Oct 19, 2022
6c072da
release 22.10.0-RC2 (#4547)
garyschulte Oct 19, 2022
95bc9bd
prepare for 22.10.0 (#4548)
garyschulte Oct 19, 2022
5c5d643
Upgrade jackson-databind to 2.13.4.2 and other jackson deps to 2.13.4…
lucassaldanha Oct 21, 2022
17a370d
DRY-up *PendingTransactionSorter tests (#4557)
fab-10 Oct 26, 2022
26c4bcf
Corrected eth_getLogs default fromBlock value. (#4513)
mark-terry Oct 26, 2022
3877cd2
Revert changelog subtraction. (#4560)
mark-terry Oct 26, 2022
a7383a5
Adjust tracing calls (#4561)
shemnon Oct 28, 2022
b322ef6
Migrate storage APIs to Bytes32 (#4562)
shemnon Oct 28, 2022
fe79c02
4512 invalid badblock (#4554)
jflo Oct 29, 2022
5137e89
Fix for NoSuchElementException when sending local transactions (#4569)
fab-10 Oct 29, 2022
31fa152
Increase same account percentage in transaction pool for `retesteth` …
diega Oct 30, 2022
aff38f4
Remove Bytes32.ZERO (#4578)
shemnon Oct 31, 2022
8535788
allow setting docker variables through gradle arguments (#4559)
jpnovais Nov 1, 2022
6f20060
Rollback #4578 and #44562 (#4583)
shemnon Nov 1, 2022
da9b107
Snapsync persist state (#4381)
matkt Nov 1, 2022
e5f16b5
Bring standard tracer closer to EIP standards (#4586)
shemnon Nov 1, 2022
76d6429
Snapshot based non-persisting MutableWorldState usage (#4531)
garyschulte Nov 1, 2022
341799b
latent review feedback from pr 4531 (#4589)
garyschulte Nov 2, 2022
42260fd
Add port conflict exception (#4565)
gfukushima Nov 2, 2022
166aa69
TxPool code refactor to improve readability (#4566)
fab-10 Nov 2, 2022
b50f866
Create a specific calculateRootHash method for BonsaiInMemoryWorldSta…
ahamlat Nov 2, 2022
0d24b22
Preparing for next release (#4595)
fab-10 Nov 2, 2022
ae6c885
DRY-up *PendingTransactionSorter (#4567)
fab-10 Nov 3, 2022
e22a563
wrap sender account in SimpleAccount to prevent holding references to…
garyschulte Nov 6, 2022
5f9c68a
Remove 'publicKey' and 'raw' from Transaction RPC API response. (#4575)
mark-terry Nov 7, 2022
1c143f1
Add Shandong network and fork (#4599)
shemnon Nov 7, 2022
db9b623
Explain and improve price validation for London transactions during s…
fab-10 Nov 8, 2022
1f78249
Warm Coinbase (EIP-3651) (#4620)
shemnon Nov 8, 2022
0287ec5
Make Json RPC TLS Test Java 17 friendly (#4622)
shemnon Nov 8, 2022
2f2628b
:recycle: Refactor EthProtocol to externalise EthVersion into its ow…
Gabriel-Trintinalia Nov 10, 2022
ed13bef
Replace quadruplicated anonymous implementation of SubProtocol with …
Gabriel-Trintinalia Nov 10, 2022
40230ee
Enable reference tests for the merge (#4608)
shemnon Nov 10, 2022
b181f99
stopgap to mitigate off-heap memory leak until refactor in #4641 (#4645)
garyschulte Nov 10, 2022
fe0b628
Refactor transaction pool tests (#4632)
fab-10 Nov 10, 2022
fcf640a
Optimize performance of WorldStateUpdater commit method (#4635)
ahamlat Nov 10, 2022
e7074c0
Fix circleCI snapshot segfaults (#4659)
garyschulte Nov 11, 2022
148d011
Implementation of PUSH0 (#4660)
lukelee-sl Nov 12, 2022
4cbe7c6
Upgrade RocksDB from version 7.6.0 to 7.7.3 (#4649)
ahamlat Nov 12, 2022
e2b1994
Remove SHL, SHR and SAR from default EVM (#4633)
diega Nov 12, 2022
6a3d452
Add new RPC endpoints debug_setHead & debug_replayBlock (#4580)
daniellehrner Nov 12, 2022
2528aac
Adding option to debug the potential problems with closing Transactio…
gezero Nov 12, 2022
3406f06
Remove misleading fastSyncEnabled variable (#4668)
Gabriel-Trintinalia Nov 13, 2022
5b462af
Otel take 2 (#4075)
atoulme Nov 14, 2022
78c6806
Ignore .idea directory in spotless checks (#4657)
daniellehrner Nov 14, 2022
748b2f9
remove peer bonded observer, as it only ever called connect on the rl…
pinges Nov 15, 2022
c2531fb
Fix for block unavailability during SnapshotTrieLog caching (#4666)
garyschulte Nov 15, 2022
d95cea3
docker upload task - check for alpha and RC (#4675)
macfarla Nov 15, 2022
af04357
Backward sync log UX improvements (#4655)
fab-10 Nov 15, 2022
d556668
Update artifact checksums after rebuilding the release (#4679)
fab-10 Nov 15, 2022
bb4f3b3
Backward sync: use retry switching peer when fetching data from peers…
fab-10 Nov 15, 2022
305897c
make snapshots the default behavior, invert the default for --Xbonsai…
garyschulte Nov 15, 2022
22fbd5f
Adjust Shandong genesis after Nov 5th restart (#4680)
diega Nov 15, 2022
f940878
Bonsai Fix for MainnetBlockValidator (#4648)
garyschulte Nov 15, 2022
f20b4b3
"Small" Ethereum Object Format (EIP-3540 + EIP-3670) (#4644)
shemnon Nov 16, 2022
7c35be3
Implement eth/67 sub protocol (EIP-4938) (#4646)
Gabriel-Trintinalia Nov 17, 2022
e02cc04
use fork id to filter out non matching peers (#4459)
pinges Nov 17, 2022
18cf9b1
Enable dependency checksum verification (#4251)
diega Nov 17, 2022
29a4e91
Skip Javadocs and sources checksum (#4694)
diega Nov 17, 2022
6d6e8e0
Add checksum from junit-bom-5.9.0.module (#4706)
fab-10 Nov 18, 2022
098558a
Remove log statements that are keeping references to objects for too …
fab-10 Nov 18, 2022
e5d73e0
retry block processing (#4600)
macfarla Nov 18, 2022
d782673
Revert "make snapshots the default behavior" (#4708)
garyschulte Nov 18, 2022
9c5150b
Update tessera image version to latest (#4702)
Gabriel-Trintinalia Nov 21, 2022
1fa65fb
reduce no output timeout (#4676)
macfarla Nov 21, 2022
7d374b6
Add type field to eth_getTransactionReceipt (#4713)
Gabriel-Trintinalia Nov 21, 2022
357c408
Use snapshots for in-memory copies of layered worldstate (#4700)
garyschulte Nov 21, 2022
376ce82
Enable RocksDB bloomFilters (#4682)
ahamlat Nov 22, 2022
49f32ca
Prints configuration overview (#4451)
daniellehrner Nov 22, 2022
36333b3
don't re-disable the OpenTelemetry global if it has already been set/…
garyschulte Nov 22, 2022
9fb5e69
Calculate Transaction Size (#4724)
Gabriel-Trintinalia Nov 23, 2022
58b121b
Treat nonces as quantities (#4722)
shemnon Nov 23, 2022
54294fe
Update Shandong bootnodes (#4728)
diega Nov 24, 2022
951153d
[2702] Add check for required option on cli (#4717)
wcgcyx Nov 24, 2022
9d4ec3b
Restore updating chain head and finalized block during backward sync …
fab-10 Nov 24, 2022
2ee204c
Do not send new payloads to backward sync if initial sync is in progr…
fab-10 Nov 25, 2022
f83d7e1
Fix attempt to send unsupported message (13) via cap eth/67 (#4732)
Gabriel-Trintinalia Nov 26, 2022
d2382c6
fix typo in error message. (#4736)
massun-onibakuchi Nov 27, 2022
d5a1843
Removing deprecated method (#4741)
gfukushima Nov 28, 2022
ed3ccad
Merge upstream
codyborn Nov 30, 2022
1a0b0fd
Fix tests
codyborn Dec 3, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[2702] Add check for required option on cli (hyperledger#4717)
* Add check for required option on cli

Signed-off-by: wcgcyx <wcgcyx@gmail.com>
Co-authored-by: Jason Frame <jason.frame@consensys.net>
Co-authored-by: Sally MacFarlane <macfarla.github@gmail.com>
  • Loading branch information
3 people authored Nov 24, 2022
commit 951153d8eea33d44e50cc0cef46b773c9fdc8851
14 changes: 14 additions & 0 deletions besu/src/main/java/org/hyperledger/besu/cli/BesuCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -1752,6 +1752,7 @@ private void configureNativeLibs() {
}

private void validateOptions() {
validateRequiredOptions();
issueOptionWarnings();
validateP2PInterface(p2PDiscoveryOptionGroup.p2pInterface);
validateMiningParams();
Expand All @@ -1764,6 +1765,19 @@ private void validateOptions() {
pkiBlockCreationOptions.checkPkiBlockCreationOptionsDependencies(logger, commandLine);
}

private void validateRequiredOptions() {
commandLine
.getCommandSpec()
.options()
.forEach(
option -> {
if (option.required() && option.stringValues().isEmpty()) {
throw new ParameterException(
this.commandLine, "Missing required option: " + option.longestName());
}
});
}

@SuppressWarnings("ConstantConditions")
private void validateMiningParams() {
if (Boolean.TRUE.equals(minerOptionGroup.isMiningEnabled)
Expand Down
36 changes: 36 additions & 0 deletions besu/src/test/java/org/hyperledger/besu/cli/BesuCommandTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -5425,4 +5425,40 @@ public void portInUseReportsError() throws IOException {

serverSocket.close();
}

@Test
public void presentRequiredOptionShouldPass() {
parseCommandWithRequiredOption("--accept-terms-and-conditions", "true");
assertThat(commandOutput.toString(UTF_8)).isEmpty();
assertThat(commandErrorOutput.toString(UTF_8)).isEmpty();
}

@Test
public void missingRequiredOptionShouldFail() {
parseCommandWithRequiredOption();
assertThat(commandOutput.toString(UTF_8)).isEmpty();
assertThat(commandErrorOutput.toString(UTF_8))
.startsWith(
"Missing required option: '--accept-terms-and-conditions=<acceptTermsAndConditions>'");
}

@Test
public void havingRequiredOptionInEnvVarShouldFail() {
setEnvironmentVariable("BESU_ACCEPT_TERMS_AND_CONDITIONS", "true");
parseCommandWithRequiredOption();
assertThat(commandOutput.toString(UTF_8)).isEmpty();
assertThat(commandErrorOutput.toString(UTF_8))
.startsWith(
"Missing required option: '--accept-terms-and-conditions=<acceptTermsAndConditions>'");
}

@Test
public void havingRequiredOptionInConfigShouldFail() throws IOException {
final Path toml = createTempFile("toml", "accept-terms-and-conditions=true\n");
parseCommandWithRequiredOption("--config-file", toml.toString());
assertThat(commandOutput.toString(UTF_8)).isEmpty();
assertThat(commandErrorOutput.toString(UTF_8))
.startsWith(
"Missing required option: '--accept-terms-and-conditions=<acceptTermsAndConditions>'");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -351,30 +351,53 @@ protected TestBesuCommand parseCommand(final String... args) {
return parseCommand(System.in, args);
}

protected TestBesuCommand parseCommand(final InputStream in, final String... args) {
return parseCommand(false, in, args);
}

protected TestBesuCommand parseCommandWithRequiredOption(final String... args) {
return parseCommand(true, System.in, args);
}

private JsonBlockImporter jsonBlockImporterFactory(final BesuController controller) {
return jsonBlockImporter;
}

protected TestBesuCommand parseCommand(final InputStream in, final String... args) {
protected TestBesuCommand parseCommand(
final boolean requiredOption, final InputStream in, final String... args) {
// turn off ansi usage globally in picocli
System.setProperty("picocli.ansi", "false");
// reset GlobalOpenTelemetry
GlobalOpenTelemetry.resetForTest();

final TestBesuCommand besuCommand =
new TestBesuCommand(
mockLogger,
() -> rlpBlockImporter,
this::jsonBlockImporterFactory,
(blockchain) -> rlpBlockExporter,
mockRunnerBuilder,
mockControllerBuilderFactory,
mockBesuPluginContext,
environment,
storageService,
securityModuleService,
mockPkiBlockCreationConfigProvider,
privacyPluginService);
requiredOption
? new TestBesuCommandWithRequiredOption(
mockLogger,
() -> rlpBlockImporter,
this::jsonBlockImporterFactory,
(blockchain) -> rlpBlockExporter,
mockRunnerBuilder,
mockControllerBuilderFactory,
mockBesuPluginContext,
environment,
storageService,
securityModuleService,
mockPkiBlockCreationConfigProvider,
privacyPluginService)
: new TestBesuCommand(
mockLogger,
() -> rlpBlockImporter,
this::jsonBlockImporterFactory,
(blockchain) -> rlpBlockExporter,
mockRunnerBuilder,
mockControllerBuilderFactory,
mockBesuPluginContext,
environment,
storageService,
securityModuleService,
mockPkiBlockCreationConfigProvider,
privacyPluginService);
besuCommands.add(besuCommand);

final File defaultKeyFile =
Expand Down Expand Up @@ -487,4 +510,47 @@ public void close() {
}
}
}

@CommandLine.Command
public static class TestBesuCommandWithRequiredOption extends TestBesuCommand {

@CommandLine.Option(
names = {"--accept-terms-and-conditions"},
description = "You must explicitly accept terms and conditions",
arity = "1",
required = true)
private final Boolean acceptTermsAndConditions = false;

TestBesuCommandWithRequiredOption(
final Logger mockLogger,
final Supplier<RlpBlockImporter> mockBlockImporter,
final Function<BesuController, JsonBlockImporter> jsonBlockImporterFactory,
final Function<Blockchain, RlpBlockExporter> rlpBlockExporterFactory,
final RunnerBuilder mockRunnerBuilder,
final BesuController.Builder controllerBuilderFactory,
final BesuPluginContextImpl besuPluginContext,
final Map<String, String> environment,
final StorageServiceImpl storageService,
final SecurityModuleServiceImpl securityModuleService,
final PkiBlockCreationConfigurationProvider pkiBlockCreationConfigProvider,
final PrivacyPluginServiceImpl privacyPluginService) {
super(
mockLogger,
mockBlockImporter,
jsonBlockImporterFactory,
rlpBlockExporterFactory,
mockRunnerBuilder,
controllerBuilderFactory,
besuPluginContext,
environment,
storageService,
securityModuleService,
pkiBlockCreationConfigProvider,
privacyPluginService);
}

public Boolean getAcceptTermsAndConditions() {
return acceptTermsAndConditions;
}
}
}