Skip to content

Commit 7d698ab

Browse files
Merge branch 'main' into release
2 parents eff186b + 57c42e9 commit 7d698ab

File tree

5 files changed

+7
-2
lines changed

5 files changed

+7
-2
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ buildscript {
1414
junit_version = '5.3.1'
1515

1616
onixlabs_group = 'io.onixlabs'
17-
onixlabs_corda_core_release_version = '4.0.1'
17+
onixlabs_corda_core_release_version = '4.0.2'
1818

1919
cordapp_platform_version = 11
2020
cordapp_contract_name = 'ONIXLabs Corda Identity Framework Contract'

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=onixlabs-corda-identity-framework
22
group=io.onixlabs
3-
version=4.0.1
3+
version=4.0.2
44
onixlabs.development.jarsign.keystore=../lib/onixlabs.development.pkcs12
55
onixlabs.development.jarsign.password=5891f47942424d2acbe108691fdb5ba258712fca7e4762be4327241ebf3dbfa3

onixlabs-corda-identity-framework-contract/src/main/kotlin/io/onixlabs/corda/identityframework/contract/accounts/AccountParty.kt

+1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ class AccountParty(
146146
override val contractStateType: Class<T>
147147
get() = accountType
148148

149+
@Transient
149150
override val criteria = vaultQuery(accountType) {
150151
contractStateTypes(accountType)
151152
linearIds(accountLinearId)

onixlabs-corda-identity-framework-contract/src/main/kotlin/io/onixlabs/corda/identityframework/contract/attestations/AttestationPointer.kt

+2
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ class LinearAttestationPointer<T : LinearState> internal constructor(
131131
constructor(state: T) : this(state.javaClass, state.linearId)
132132
constructor(stateAndRef: StateAndRef<T>) : this(stateAndRef.state.data)
133133

134+
@Transient
134135
private val criteria: QueryCriteria = vaultQuery(stateType) {
135136
stateStatus(Vault.StateStatus.UNCONSUMED)
136137
relevancyStatus(Vault.RelevancyStatus.ALL)
@@ -214,6 +215,7 @@ class StaticAttestationPointer<T : ContractState> internal constructor(
214215

215216
constructor(stateAndRef: StateAndRef<T>) : this(stateAndRef.state.data.javaClass, stateAndRef.ref)
216217

218+
@Transient
217219
private val criteria: QueryCriteria = vaultQuery(stateType) {
218220
stateStatus(Vault.StateStatus.ALL)
219221
relevancyStatus(Vault.RelevancyStatus.ALL)

onixlabs-corda-identity-framework-contract/src/main/kotlin/io/onixlabs/corda/identityframework/contract/claims/ClaimPointer.kt

+2
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ class LinearClaimPointer<T : CordaClaim<*>> private constructor(
129129
valueType = claim.value.javaClass
130130
)
131131

132+
@Transient
132133
private val criteria = vaultQuery(claimType) {
133134
stateStatus(Vault.StateStatus.UNCONSUMED)
134135
relevancyStatus(Vault.RelevancyStatus.ALL)
@@ -213,6 +214,7 @@ class StaticClaimPointer<T : CordaClaim<*>> private constructor(
213214
valueType = claim.state.data.value.javaClass
214215
)
215216

217+
@Transient
216218
private val criteria = vaultQuery(claimType) {
217219
stateStatus(Vault.StateStatus.ALL)
218220
relevancyStatus(Vault.RelevancyStatus.ALL)

0 commit comments

Comments
 (0)