Provide a better error msg when the notary type is misconfigured on the net params

Description

If a notary service is misconfigured and advertised as validating on the network parameters, but is actually run in non-validating mode (or vice versa) an error occurs on the notary:
java.lang.ClassCastException: net.corda.core.transactions.SignedTransaction cannot be cast to net.corda.core.transactions.CoreTransaction at
which doesn't explain the issue. We need to provide a better error message that specifies the root problem.

Status

Assignee

Jonathan Locke

Reporter

Andrius Dagys

Labels

None

Priority

Low

Fix versions

Ported to...

None

Feature Team

Notaries

CVSS Vector

None

Severity

Low

Affects versions

Configure