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:
Dominic Fox
2018-11-26 16:02:32 +00:00
committed by GitHub
parent 5d43f3139e
commit 88fbb47f67
13 changed files with 217 additions and 33 deletions

View File

@ -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>>,