Checkout the releases/release-V3 branch of enterprise
Update the root build.gradle to set the release version to 3.3-SNAPSHOT
Run gradlew install -x test (if on windows/Mac OS you need to comment out lines 239-242 in node/dist/build.gradle
git clone https://github.com/anthonykeenan/samples
git checkout release-V3-enterprise-serialization-repro
Update kotlin-source/build/nodes/PartyC/corda.jar to Corda 4.0 Enterprise RC03 jar.
Once all nodes have started
On PartyA run: flow start CashIssueFlow amount: "10 GBP", issuerBankPartyRef: "1234" , notary: Notary
On PartyA run: flow start CashPaymentFlow amount: "10 GBP", recipient: PartyC, anonymous: true
On PartyC run: flow start CashPaymentFlow amount: "5 GBP", recipient: PartyA, anonymous: true
navigate to Main.kt in the rpc-client project.
Run fun Main
This queries each node with an RPC client using Corda 3.3 with the Finance 3.3 app.
It fails to query the V4 node with:
Modify the dependencies section in rpc-client\build.gradle to read:
Run fun Main again
This queries each node with an RPC client using Corda 4.0-RC03 with the Finance 3.3 app.
It fails to query the v3 node with: