From 02235cd5141863adab6871b9100fe990bd527222 Mon Sep 17 00:00:00 2001 From: Matthew Layton Date: Fri, 15 Apr 2022 12:23:16 +0100 Subject: [PATCH] Version bump to Corda 4.9 --- build.gradle | 4 ++-- gradle.properties | 2 +- .../main/kotlin/io/onixlabs/corda/test/contract/Customer.kt | 2 +- .../src/test/kotlin/io/onixlabs/corda/test/ContractTest.kt | 2 +- .../test/kotlin/io/onixlabs/corda/test/workflow/FlowTest.kt | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index e9f719d..a90d2c6 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { corda_artifactory_url = 'https://software.r3.com/artifactory' corda_group = 'net.corda' - corda_release_version = '4.8' + corda_release_version = '4.9' corda_gradle_plugin_group = 'net.corda.plugins' corda_gradle_plugin_version = '5.0.4' @@ -13,7 +13,7 @@ buildscript { junit_group = 'org.junit.jupiter' junit_version = '5.3.1' - cordapp_platform_version = 10 + cordapp_platform_version = 11 cordapp_contract_name = 'ONIXLabs Corda Core Contract' cordapp_workflow_name = 'ONIXLabs Corda Core Workflow' cordapp_vendor_name = 'ONIXLabs' diff --git a/gradle.properties b/gradle.properties index 03f378a..b7b8407 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ name=onixlabs-corda-core group=io.onixlabs -version=4.0.0 +version=4.0.1 onixlabs.development.jarsign.keystore=../lib/onixlabs.development.pkcs12 onixlabs.development.jarsign.password=5891f47942424d2acbe108691fdb5ba258712fca7e4762be4327241ebf3dbfa3 diff --git a/onixlabs-corda-test-contract/src/main/kotlin/io/onixlabs/corda/test/contract/Customer.kt b/onixlabs-corda-test-contract/src/main/kotlin/io/onixlabs/corda/test/contract/Customer.kt index 3b53a66..3fef2b2 100644 --- a/onixlabs-corda-test-contract/src/main/kotlin/io/onixlabs/corda/test/contract/Customer.kt +++ b/onixlabs-corda-test-contract/src/main/kotlin/io/onixlabs/corda/test/contract/Customer.kt @@ -72,7 +72,7 @@ data class Customer( override val criteria: QueryCriteria = vaultQuery { expression(RewardEntity::owner equalTo customer.owner) expression(RewardEntity::customerLinearId equalTo customer.linearId.id) - expression(RewardEntity::customerExternalId equalTo customer.linearId.externalId) + expression(RewardEntity::customerExternalId equalTo customer.linearId.externalId) } override fun isPointingTo(stateAndRef: StateAndRef): Boolean = with(stateAndRef.state) { diff --git a/onixlabs-corda-test-contract/src/test/kotlin/io/onixlabs/corda/test/ContractTest.kt b/onixlabs-corda-test-contract/src/test/kotlin/io/onixlabs/corda/test/ContractTest.kt index 64d42f9..c286d01 100644 --- a/onixlabs-corda-test-contract/src/test/kotlin/io/onixlabs/corda/test/ContractTest.kt +++ b/onixlabs-corda-test-contract/src/test/kotlin/io/onixlabs/corda/test/ContractTest.kt @@ -55,7 +55,7 @@ abstract class ContractTest { @BeforeEach private fun setup() { val networkParameters = testNetworkParameters( - minimumPlatformVersion = 10, + minimumPlatformVersion = 11, notaries = listOf(NotaryInfo(NOTARY.party, true)) ) _services = MockServices(cordapps, IDENTITY_A, networkParameters, IDENTITY_B, IDENTITY_C) diff --git a/onixlabs-corda-test-workflow/src/test/kotlin/io/onixlabs/corda/test/workflow/FlowTest.kt b/onixlabs-corda-test-workflow/src/test/kotlin/io/onixlabs/corda/test/workflow/FlowTest.kt index 424ba91..91f56ff 100644 --- a/onixlabs-corda-test-workflow/src/test/kotlin/io/onixlabs/corda/test/workflow/FlowTest.kt +++ b/onixlabs-corda-test-workflow/src/test/kotlin/io/onixlabs/corda/test/workflow/FlowTest.kt @@ -94,7 +94,7 @@ abstract class FlowTest { "io.onixlabs.corda.test.workflow" ), networkParameters = testNetworkParameters( - minimumPlatformVersion = 10 + minimumPlatformVersion = 11 ) ) )