Provide a better error message on an incompatible implicit contract upgrade

Description

When using signature constraints and implicit contract upgrades, if the upgraded version is incompatible with the older version (e.g. a new non-nullable field is added), a deserialization error occurs when trying to load an old state with the new version of the app.

For example:

For user this exception message is very cryptic and does not explain what the root cause can be.

Status

Assignee

James Higgs

Reporter

Andrius Dagys

Labels

None

Priority

Medium

Fix versions

Ported to...

None

Feature Team

Corda Core

CVSS Vector

None

Severity

Medium

Affects versions

Configure