Redefine VaultSchema attribute of serialized Contract state to LOB (unconstrained size) (#1459)

This commit is contained in:
josecoll 2017-09-08 16:14:31 +01:00 committed by GitHub
parent 069e31d006
commit 628d94c070

View File

@ -39,8 +39,8 @@ object VaultSchemaV1 : MappedSchema(schemaFamily = VaultSchema.javaClass, versio
var contractStateClassName: String,
/** refers to serialized transaction Contract State */
// TODO: define contract state size maximum size and adjust length accordingly
@Column(name = "contract_state", length = 100000)
@Lob
@Column(name = "contract_state")
var contractState: ByteArray,
/** state lifecycle: unconsumed, consumed */