zigbee-alliance / distributed-compliance-ledger

DCL is a public permissioned ledger framework for certification of device models. The ledger is based on Cosmos SDK and CometBFT (Tendermint).
Apache License 2.0
89 stars 44 forks source link

Cannot edit "OtaChecksumType" from Model-Version #603

Open jcps07 opened 2 months ago

jcps07 commented 2 months ago

The update-model-version command doesn't allow to update the "OtaChechsumType" field. Other OTA fields such as otaChecksum, otaFileSize, and otaURL are eligible for update.

This means that user would still most likely require deleting and adding back the entry instead of updating if something related to OTA is required to be updated.

ashcherbakov commented 2 months ago

@jcps07 According to https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/service_device_management/DistributedComplianceLedger.adoc#ref_DeviceModelSchema, only OtaUrl is mutable. It seems we need to clarify an expected behavior and update code and/or Spec after this...