Reintroduce engine get client version v1 with commit in manifest (#7548)

* Include Commit-Hash in manifests
* Add commit method in BesuInfo
* Use 8 character hash in EngineGetClientVersionV1 and revert calculateVersion back to original spec

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
Co-authored-by: garyschulte <garyschulte@gmail.com>
This commit is contained in:
Matilda-Clerke
2024-08-31 04:13:53 +10:00
committed by GitHub
parent 1ea1d4cede
commit da98fa5541
60 changed files with 372 additions and 63 deletions

View File

@@ -23,6 +23,7 @@ jar {
'Specification-Version': project.version,
'Implementation-Title': archiveBaseName,
'Implementation-Version': calculateVersion(),
'Commit-Hash': getGitCommitDetails(40).hash,
'Automatic-Module-Name': 'org.hyperledger.besu.internal.util'
)
}