CORDA-4054: combine different identities of the same notary after its key rotation (#6734)

This commit is contained in:
Denis Rekalov
2020-10-16 15:53:04 +03:00
committed by GitHub
parent d0cfeb1fbe
commit 551b3f0811
17 changed files with 207 additions and 28 deletions

View File

@ -11,6 +11,7 @@ import net.corda.core.identity.CordaX500Name
import net.corda.core.identity.Party
import net.corda.core.node.ServicesForResolution
import net.corda.core.node.services.AttachmentStorage
import net.corda.core.node.services.IdentityService
import net.corda.core.node.services.NetworkParametersService
import net.corda.core.serialization.deserialize
import net.corda.core.serialization.serialize
@ -91,6 +92,7 @@ class AttachmentsClassLoaderStaticContractTests {
val contractAttachmentId = SecureHash.randomSHA256()
doReturn(listOf(contractAttachmentId)).whenever(attachmentStorage)
.getLatestContractAttachments(AttachmentDummyContract.ATTACHMENT_PROGRAM_ID)
doReturn(mock<IdentityService>()).whenever(it).identityService
}
@Test(timeout=300_000)