Skip to content

Conversation

@jt-nti
Copy link
Member

@jt-nti jt-nti commented Apr 3, 2025

The xxd command can be used to encode chaincode package hashes, as used by the k8s builder to label chaincode jobs and pods

For example:

peer lifecycle chaincode calculatepackageid go-contract.tgz | cut -d':' -f2 | xxd -r -p | base32 | tr -d '='

The xxd command can be used to encode chaincode package hashes, as used
by the k8s builder to label chaincode jobs and pods

For example:

```
peer lifecycle chaincode calculatepackageid go-contract.tgz | cut -d':' -f2 | xxd -r -p | base32 | tr -d '='
```

Signed-off-by: James Taylor <[email protected]>
@jt-nti jt-nti merged commit 6fa6507 into hyperledger-labs:main Apr 3, 2025
10 checks passed
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.

1 participant