mirror of
https://github.com/corda/corda.git
synced 2024-12-20 05:28:21 +00:00
Disable enhanced validation, rename SQL patches (#6799)
This commit is contained in:
parent
82a114a329
commit
d9f905cb81
@ -88,7 +88,7 @@ data class ContractUpgradeWireTransaction(
|
||||
init {
|
||||
check(inputs.isNotEmpty()) { "A contract upgrade transaction must have inputs" }
|
||||
checkBaseInvariants()
|
||||
privacySalt.validateFor(digestService.hashAlgorithm)
|
||||
// privacySalt.validateFor(digestService.hashAlgorithm)
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -81,7 +81,7 @@ class WireTransaction(componentGroups: List<ComponentGroup>, val privacySalt: Pr
|
||||
check(commands.isNotEmpty()) { "A transaction must contain at least one command" }
|
||||
if (timeWindow != null) check(notary != null) { "Transactions with time-windows must be notarised" }
|
||||
// TODO(iee): review salt validation - Should we just warn when privacy bytes already >= 32 but <= digestLength?
|
||||
privacySalt.validateFor(digestService.hashAlgorithm)
|
||||
// privacySalt.validateFor(digestService.hashAlgorithm)
|
||||
}
|
||||
|
||||
/** The transaction id is represented by the root hash of Merkle tree over the transaction components. */
|
||||
|
@ -31,10 +31,10 @@
|
||||
<!-- This must run after node-core.changelog-init.xml, to prevent database columns being created twice. -->
|
||||
<include file="migration/vault-schema.changelog-v9.xml"/>
|
||||
|
||||
<include file="migration/node-core.changelog-v17.xml"/>
|
||||
|
||||
<include file="migration/node-core.changelog-v19.xml"/>
|
||||
<include file="migration/node-core.changelog-v19-postgres.xml"/>
|
||||
<include file="migration/node-core.changelog-v19-keys.xml"/>
|
||||
|
||||
<include file="migration/node-core.changelog-v21.xml"/>
|
||||
|
||||
</databaseChangeLog>
|
||||
|
@ -11,6 +11,6 @@
|
||||
<include file="migration/node-notary.changelog-committed-transactions-table.xml" />
|
||||
<include file="migration/node-notary.changelog-v3.xml" />
|
||||
<include file="migration/node-notary.changelog-worker-logging.xml" />
|
||||
<include file="migration/node-notary.changelog-v100.xml"/>
|
||||
<include file="migration/node-notary.changelog-v4.xml"/>
|
||||
|
||||
</databaseChangeLog>
|
||||
|
Loading…
Reference in New Issue
Block a user