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

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.

CVSS Vector

None

Status

Assignee

Florian.Friemel@r3.com

Reporter

Mike Hearn

CVSS Score

None

Feature Team

Corda Core

Target Version/s

Corda 4

Story Points

20

Sprint

None

Priority

Medium