use of org.hyperledger.besu.ethereum.privacy.RestrictedDefaultPrivacyController in project besu by hyperledger.
the class PrivGetPrivateTransactionIntegrationTest method setUp.
@BeforeEach
public void setUp() throws Exception {
vertx = Vertx.vertx();
testHarness = TesseraTestHarnessFactory.create("enclave", Files.createTempDirectory(folder, "enclave"), new EnclaveKeyConfiguration("enclave_key_0.pub", "enclave_key_0.key"), Optional.empty());
testHarness.start();
final EnclaveFactory factory = new EnclaveFactory(vertx);
enclave = factory.createVertxEnclave(testHarness.clientUrl());
privacyController = new RestrictedDefaultPrivacyController(blockchain, privateStateStorage, enclave, null, null, null, null, null);
}
Aggregations