mirror of
https://github.com/vacp2p/linea-besu.git
synced 2026-01-09 15:37:54 -05:00
fixe LineaTest: BesuControllerBuilder needs to have the ApiConfigurations set
This commit is contained in:
@@ -21,6 +21,7 @@ import org.hyperledger.besu.config.GenesisConfigFile;
|
|||||||
import org.hyperledger.besu.controller.BesuController;
|
import org.hyperledger.besu.controller.BesuController;
|
||||||
import org.hyperledger.besu.cryptoservices.NodeKeyUtils;
|
import org.hyperledger.besu.cryptoservices.NodeKeyUtils;
|
||||||
import org.hyperledger.besu.ethereum.GasLimitCalculator;
|
import org.hyperledger.besu.ethereum.GasLimitCalculator;
|
||||||
|
import org.hyperledger.besu.ethereum.api.ImmutableApiConfiguration;
|
||||||
import org.hyperledger.besu.ethereum.core.ImmutableMiningConfiguration;
|
import org.hyperledger.besu.ethereum.core.ImmutableMiningConfiguration;
|
||||||
import org.hyperledger.besu.ethereum.core.InMemoryKeyValueStorageProvider;
|
import org.hyperledger.besu.ethereum.core.InMemoryKeyValueStorageProvider;
|
||||||
import org.hyperledger.besu.ethereum.core.PrivacyParameters;
|
import org.hyperledger.besu.ethereum.core.PrivacyParameters;
|
||||||
@@ -81,6 +82,7 @@ public class LineaTest {
|
|||||||
.gasLimitCalculator(GasLimitCalculator.constant())
|
.gasLimitCalculator(GasLimitCalculator.constant())
|
||||||
.evmConfiguration(EvmConfiguration.DEFAULT)
|
.evmConfiguration(EvmConfiguration.DEFAULT)
|
||||||
.networkConfiguration(NetworkingConfiguration.create())
|
.networkConfiguration(NetworkingConfiguration.create())
|
||||||
|
.apiConfiguration(ImmutableApiConfiguration.builder().build())
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user