Upgrade `fablo` dependency in `chain-cli` module
- Dominant language
- TypeScript
- Stars
- 138
- Forks
- 44
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 22
Description
Currently, `chain-cli` used `fablo` version `2.0.0`:
https://github.com/GalaChain/sdk/blob/eb6050f7d8ecdbf9b6b96ebc90216d0eb8068185/chain-cli/package.json#L23
Latest available in the npm registry is `2.2.0`:
https://www.npmjs.com/package/fablo
Latest underlying `fablo` version is `2.4.2`:
https://github.com/hyperledger-labs/fablo/releases
Recently a few previously-working development environments broke after routine Linux operating system updates.
```
Installing chaincode basic-asset...
CHAINCODE_VERSION: 0.0.1
PEER_ADDRESS: peer0.curator.local:7041
CA_CERT: crypto-orderer/tlsca.orderer.local-cert.pem
Error: chaincode install failed with status: 500 - failed to invoke backing implementation of 'InstallChaincode': could not build chaincode: docker build failed: docker image build failed: write unix @->/run/docker.sock: write: broken pipe
Error: Command failed: "test-network/fablo" "up"
```
I found that downgrading Docker from v29.x to v28.x resolved the issue:
```sudo apt install docker-ce=5:28.5.2-1~debian.12~bookworm```
For now, that's a short term fix, documented in this issue in case it helps others.
Longer term, we'll want to get this dependency updated.
I did some brief testing and I believe this will require some changes in how the `chain-cli` packages uses `fablo` or how it generates the configuration files used by `fablo`.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.