Introduce target version and min platform version as app attributes

Description

This is probably as simple as a couple of keys in a MANIFEST.MF file.

We should document what it means, make sure API implementations can always access the target version of the calling CorDapp (i.e. by examining the flow, doing a stack walk or using Reflection.getCallerClass()) and do a simple test of an API that acts differently depending on the target version of the app.

We should also implement checking at CorDapp load time that min platform version <= current platform version.

Assignee

Florian Friemel

Reporter

Mike Hearn

Sprint

None

Epic Link

None

Priority

Medium

Engineering Teams

None

Fix versions

None

Affects versions

None

Story Points / Dev Days

20

Build cut

None
Configure