hyperledger / cacti

Hyperledger Cacti is a new approach to the blockchain interoperability problem
https://wiki.hyperledger.org/display/cactus
Apache License 2.0
338 stars 278 forks source link

Update message formats to reflect latest SATP core version #3113

Open RafaelAPB opened 6 months ago

RafaelAPB commented 6 months ago

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

LordKubaya commented 6 months ago

hi

RafaelAPB commented 2 weeks ago

This will be a future issue