Closed anton-subbotin closed 7 months ago
Not replacing https://github.com/corda/cordapp-template-kotlin/blob/release-V5.2/contracts/src/test/kotlin/com/r3/developers/cordapptemplate/utxoexample/contracts/ChatContractCreateCommandTest.kt#L175 because contract-testing
library has not been updated since cordaApiVersion=5.0.0.765
: https://github.com/corda/corda5-contract-testing/blob/main/gradle.properties#L9
CorDapps code includes Corda API methods which were marked as terminally deprecated since 5.0 GA. When building CPIs, it results in Deprecated warnings in the IDE console. This change fixes the warnings by using the recommended methods. Flows were manually tested following the "Running the Chat CorDapp" from Corda 5 documentation.