cacti icon indicating copy to clipboard operation
cacti copied to clipboard

Update message formats to reflect latest SATP core version

Open RafaelAPB opened this issue 1 year ago • 3 comments

The current implementation we are basing ourselves is satp-hermes, version 2.0.0-alpha.2.

Requirements: 1- We need to update all the messages in the implementation to match the current specification (currently version 02). The tests should be updated accordingly. For example LockEvidence is now called LockAssertion. Be mindful that the interface might change as well.

2 -We should also tag the specific version with a core draft/crash recovery draft/ architecture draft version (so one can map precisely the implementation to the draft versions, see list here: https://github.com/ietf-satp) . This can be done by adding metadata to package.json in the following way:

{
  "name": "@hyperledger/cactus-plugin-satp-hermes",
  "version": "2.0.0-alpha.2",
  // ... other existing fields ...
  "satp-core-draft-version": "1.0.0",
  "satp-crash-draft-version": "2.0.0",
  // ... rest of your package.json ...
}

Please also implement helper functions and endpoints where one can retrieve all the satp-*-draft-version fields from package.json

RafaelAPB avatar Mar 15 '24 15:03 RafaelAPB

hi

LordKubaya avatar Mar 18 '24 19:03 LordKubaya

This will be a future issue

RafaelAPB avatar Sep 04 '24 17:09 RafaelAPB