We're updating the issue view to help you get more done. 

V3 node unable to process double-spend error message from V4 notary

Description

The performance test app in the ENT repo has a simple flow that does a double spend. We'll use that to reproduce the error.

ENT repo

1 2 git checkout release-V3.2 ./gradlew perftestcordapp:jar

OS repo

  1. Modify minimumPlatformVersion in net.corda.nodeapi.internal.network.NetworkBootstrapper#defaultNetworkParametersWith to 3

  2.  

1 ./gradlew samples:notary-demo:deployNodesSingle

Notary:

1 2 3 cd samples/notary-demo/build/nodes/nodesSingle/Notary\ Service cp <ENT repo>/perftestcordapp/build/libs/corda-ptflows-3.2.jar cordapps java -jar corda.jar

Alice:

1 2 3 4 5 6 cd samples/notary-demo/build/nodes/nodesSingle/Alice\ Corp curl -sSL https://ci-artifactory.corda.r3cev.com/artifactory/list/corda/net/corda/corda/3.3-corda/corda-3.3-corda.jar -o corda.jar cp <ENT repo>/perftestcordapp/build/libs/corda-ptflows-3.2.jar cordapps rm persistence.mv.db java -jar corda.jar start CashIssueAndDoublePayment amount: £100, issueRef: 123, payTo: "Alice Corp", anonymous: false, notary: "Notary Service"

Expected result

CashIssueAndDoublePayment returns successfully on receipt of the double-spend error.

Actual result

The flow hangs and the following error message is printed:

1 [ERROR] 22:16:58+0000 [Node thread-1] statemachine.StateMachineManagerImpl.onSessionMessage - Received corrupt SessionMessage data from O=Notary Service, L=Zurich, C=CH {invocation_id=8718374f-ded9-4aef-9020-302febbd226b, invocation_timestamp=2018-12-07T22:16:45.776Z, session_id=8718374f-ded9-4aef-9020-302febbd226b, session_timestamp=2018-12-07T22:16:45.776Z}

Status

Assignee

Shams Asari

Reporter

Shams Asari

Labels

None

Affected OS

None

Severity

Critical

Target Version/s

None

Feature Team

Corda Core

Priority

Highest