-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define CDDL via Huddle in shelley-ma #4557
base: master
Are you sure you want to change the base?
Commits on Aug 19, 2024
-
Move extras and crypto types to core CDDL
Now that the CDDL is defined with Cuddle, we can begin to properly modularise it. As a first step, we move the common crypto and utility types into the core package.
Configuration menu - View commit details
-
Copy full SHA for 2a9488c - Browse repository at this point
Copy the full SHA 2a9488cView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed05a18 - Browse repository at this point
Copy the full SHA ed05a18View commit details -
Generate Shelley CDDL using Huddle.
- Switch existing tests to using the generated CDDL - Add additional Huddle based tests for Shelley types - Add a tool to regenerate the Shelley CDDL from Huddle - Move additional core types to the core CDDL - Make a few fixes in the Shelley Huddle spec There is one unusual thing here: the size bound on the max block header size in the protocol param update. This does not reflect the original CDDL, but it is consistent with the FromCBOR instance and the underlying data type in PParams. I can only assume that the CDDL generator wasn't exploring the whole range and thus never found this error.
Configuration menu - View commit details
-
Copy full SHA for 830e1c4 - Browse repository at this point
Copy the full SHA 830e1c4View commit details -
Use common CDDL definitions from Shelley.
Now that Shelley is defined using Huddle, we can rely on the relevant parts from Conway.
Configuration menu - View commit details
-
Copy full SHA for 529bdd3 - Browse repository at this point
Copy the full SHA 529bdd3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16106f4 - Browse repository at this point
Copy the full SHA 16106f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c7954d - Browse repository at this point
Copy the full SHA 9c7954dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f87081c - Browse repository at this point
Copy the full SHA f87081cView commit details
Commits on Aug 21, 2024
-
Reintroduce detailed comments in CDDL.
We use 'here' QuasiQuotes to make handling multiline comments somewhat less painful.
Configuration menu - View commit details
-
Copy full SHA for abeb131 - Browse repository at this point
Copy the full SHA abeb131View commit details -
This addresses issue #4535. The first rule in a CDDL file is taken to be the root element.
Configuration menu - View commit details
-
Copy full SHA for bd29e18 - Browse repository at this point
Copy the full SHA bd29e18View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1759af1 - Browse repository at this point
Copy the full SHA 1759af1View commit details -
Define CDDL for Allegra in Huddle.
Includes tests and generation utility.
Configuration menu - View commit details
-
Copy full SHA for 9ea8ff4 - Browse repository at this point
Copy the full SHA 9ea8ff4View commit details -
Define CDDL for Mary in Huddle.
Also includes testing and cddl generation tool.
Configuration menu - View commit details
-
Copy full SHA for 8c36768 - Browse repository at this point
Copy the full SHA 8c36768View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcd26f0 - Browse repository at this point
Copy the full SHA bcd26f0View commit details