Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update shim version in integration test chaincodes #348

Closed
wants to merge 1 commit into from
Closed

Update shim version in integration test chaincodes #348

wants to merge 1 commit into from

Conversation

benjsmi
Copy link
Contributor

@benjsmi benjsmi commented May 10, 2024

Now that we have a new Shim version 2.5.2, there's a couple of other examples that can point to it.

@benjsmi benjsmi requested a review from a team as a code owner May 10, 2024 19:27
Signed-off-by: Ben Smith <benjsmi@us.ibm.com>
Copy link

sonarcloud bot commented May 10, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@bestbeforetoday bestbeforetoday changed the title Forgot a few instances of the hard-coded shim version. Update shim version in integration test chaincodes May 10, 2024
@bestbeforetoday
Copy link
Member

The build failure in this PR looks to have been caused by the change I made here. It is only picked up now because of the testing limitation described in issue #346.

The question now is how best to fix this. We document in COMPATIBILITY.md that since v2.4 we target Java 11 as the runtime. However, we only required Java 8 at compile-time. We could either:

  1. Revert the change to the Gradle build file to restore support for Java 8 projects and publish a new release; or
  2. Require Java 11 and update the test chaincodes to use Java 11 instead of Java 8.

@bestbeforetoday
Copy link
Member

I have restored Java 8 chaincode support with PR #349. Once that is merged I will cut a v2.5.3 release.

@benjsmi
Copy link
Contributor Author

benjsmi commented May 16, 2024

This will need to be redone with a PR that points at fabric-chaincode-shim v2.5.3.

@benjsmi benjsmi closed this May 16, 2024
@benjsmi benjsmi deleted the forgotten-shim-versions branch May 16, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants