Corda 5.0 Beta 1.1 Release Notes

Corda 5.0 Beta is a pre-release version for testing purposes only.

Enhancements

This section describes the new features in Corda 5.0 Beta 1.1.

CSDE

Beta 1.1 API

The CorDapp Standard Development Environment (CSDE) has been upgraded to use the Corda 5.0 Beta 1.1 API.

Example UTXO Ledger CorDapp

The CSDE now includes an example UTXO (unspent transaction output) ledger CorDapp. This simple chat application is available in both the CSDE-cordapp-template-kotlin and CSDE-cordapp-template-java repositories. The Kotlin template also includes a ContractTestFlow, which performs tests against the ChatContract. This is not available in the Java template yet.

Gradle Helpers

The CSDE Gradle helpers have been renamed and grouped into new directories to improve usability.

Resolved Issues

This section describes the issues resolved in Corda 5.0 Beta 1.1.

UTXO Ledger

Transaction Failures

Input states to a UTXO transaction were marked as consumed when the transaction was first persisted, before it was completely signed and notarised. As a result, if counter-signing or notarisation failed, states were incorrectly marked as consumed in the initiating’s node vault and were no longer available as inputs.

State Relevancy Flag

Transactions were finalized differently by the UtxoReceivedFinalityFlow and UtxoFinalityFlow causing the relevancy flag to be inconsistently set. As a result, for the initiating participant on a transaction, a Relevant State could incorrectly be flagged as available. As of this release, both UtxoReceivedFinalityFlow on the counterparty side and UtxoFinalityFlow on the initiating side correctly persist State relevancy when the transaction is verified.

ContractState Cast Exception

An exception was incorrectly thrown if an attempt was made to call getInputStateAndRefs().

Known Limitations and Issues

  • Corda 4 CorDapps will not run on Corda 5; it is a different set of incompatible APIs.
  • Upgrade from Corda 4 to Corda 5 is not supported; a future version will provide migration guidance and tooling.
  • There is no support for the Corda 4 Accounts SDK.
  • There is no support for the Corda 4 Tokens SDK.
  • There is no support for upgrades from the early access beta versions.

Was this page helpful?

Thanks for your feedback!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.

We're sorry this page wasn't helpful. Let us know how we can make it better!

Chat with us

Chat with us on our #docs channel on slack. You can also join a lot of other slack channels there and have access to 1-on-1 communication with members of the R3 team and the online community.

Create an issue

Create a new GitHub issue in this repository - submit technical feedback, draw attention to a potential documentation bug, or share ideas for improvement and general feedback.

Propose documentation improvements directly

Help us to improve the docs by contributing directly. It's simple - just fork this repository and raise a PR of your own - R3's Technical Writers will review it and apply the relevant suggestions.