mirror of
https://github.com/corda/corda.git
synced 2025-06-13 04:38:19 +00:00
ENT-2320 state contract identification (#4285)
* Enforce state/contract agreement validation * Fix some broken tests * Ascertain targetVersion by inspecting the jar source of the ContractState * Docs added and rebased against master * contextLogger doesn't work here * Java examples in docs * Label IRSState with owning contract * Fix rst formatting * Add @BelongsToContract annotation to PortfolioState
This commit is contained in:
@ -310,6 +310,7 @@ class VaultFiller @JvmOverloads constructor(
|
||||
|
||||
|
||||
/** A state representing a commodity claim against some party */
|
||||
@BelongsToContract(Obligation::class)
|
||||
data class CommodityState(
|
||||
override val amount: Amount<Issued<Commodity>>,
|
||||
|
||||
|
Reference in New Issue
Block a user