mirror of
https://github.com/corda/corda.git
synced 2025-06-15 13:48:14 +00:00
Removed the ability to manually start notary nodes from the driver and MockNetwork. Instead by default a single notary is automatically started. This can be customised at creation time of the driver and MockNetwork. This more accurately models the concept of network parameters in a CZ.
Also added helper methods to retrieve this default notary.
This commit is contained in:
@ -37,8 +37,7 @@ class IntegrationTestingTutorial {
|
||||
invokeRpc("vaultTrackBy"),
|
||||
invokeRpc(CordaRPCOps::networkMapFeed)
|
||||
))
|
||||
val (_, alice, bob) = listOf(
|
||||
startNotaryNode(DUMMY_NOTARY.name),
|
||||
val (alice, bob) = listOf(
|
||||
startNode(providedName = ALICE.name, rpcUsers = listOf(aliceUser)),
|
||||
startNode(providedName = BOB.name, rpcUsers = listOf(bobUser))
|
||||
).transpose().getOrThrow()
|
||||
|
Reference in New Issue
Block a user