mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
CORDA-2187 & CORDA-2038: reverting maxTransactionSize <= maxMessageSize (#4166)
* CORDA-2187 reverting maxTransactionSize <= maxMessageSize * Addressing review comments * Increasing the maxTransactionSize for the Bootstrapper * Updating the testNetworkParameters
This commit is contained in:
@ -76,19 +76,6 @@ class NetworkParametersTest {
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `maxTransactionSize must be bigger than maxMesssageSize`() {
|
||||
assertThatExceptionOfType(IllegalArgumentException::class.java).isThrownBy {
|
||||
NetworkParameters(1,
|
||||
emptyList(),
|
||||
2000,
|
||||
2001,
|
||||
Instant.now(),
|
||||
1,
|
||||
emptyMap())
|
||||
}.withMessage("maxTransactionSize cannot be bigger than maxMessageSize")
|
||||
}
|
||||
|
||||
@Test
|
||||
fun `package ownership checks are correct`() {
|
||||
val key1 = generateKeyPair().public
|
||||
|
Reference in New Issue
Block a user