cardano-js-sdk
cardano-js-sdk copied to clipboard
Sync CborTag with IANA
Describe the feature you'd like
Created a code generator found in https://github.com/mofosyne/iana-headers/tree/main/cbor which would generate https://github.com/mofosyne/iana-headers/blob/main/c/src/cbor-constants.h
Considering if we can add this capability to this project as well. Code generator would of course need to be adapted to TypeScript.
https://github.com/input-output-hk/cardano-js-sdk/blob/88248ef21f11b3f38564b6cddd642c1c91aec66b/packages/core/src/Serialization/CBOR/CborTag.ts#L4-L14
Noticed that constant macros is not in all caps. Is this typical for typescript projects?
Describe alternatives you've considered
No response
Would you be willing to implement it?
- [ ] Yes, I will implement it.
Just additional info: actually this is true for minor releases (e.g. 7.0.x -> 7.1.0
). Upgrade from 5.0 -> 6.0, ... , 8.0 -> 9.0
- so all major releases required a database drop.