Skip to content

Conversation

@aniketd
Copy link
Contributor

@aniketd aniketd commented Oct 30, 2025

Description

Addresses some more of the checklist in #5367 and is the third part of #5194

Checklist

  • Commits in meaningful sequence and with useful messages.
  • Tests added or updated when needed.
  • CHANGELOG.md files updated for packages with externally visible changes.
    NOTE: New section is never added with the code changes. (See RELEASING.md).
  • Versions updated in .cabal and CHANGELOG.md files when necessary, according to the
    versioning process.
  • Version bounds in .cabal files updated when necessary.
    NOTE: If bounds change in a cabal file, that package itself must have a version increase. (See RELEASING.md).
  • Code formatted (use scripts/fourmolize.sh).
  • Cabal files formatted (use scripts/cabal-format.sh).
  • CDDL files are up to date (use scripts/gen-cddl.sh)
  • hie.yaml updated (use scripts/gen-hie.sh).
  • Self-reviewed the diff.

@aniketd aniketd changed the base branch from master to aniketd/more-cddl-deduplication October 31, 2025 12:01
@aniketd aniketd force-pushed the aniketd/even-more-cddl branch from c3b9ed7 to 6fda464 Compare October 31, 2025 12:02
@aniketd aniketd marked this pull request as ready for review October 31, 2025 18:34
@aniketd aniketd requested a review from a team as a code owner October 31, 2025 18:34
Base automatically changed from aniketd/more-cddl-deduplication to master October 31, 2025 20:36
@aniketd aniketd force-pushed the aniketd/even-more-cddl branch 2 times, most recently from ea10f9d to 472c126 Compare November 3, 2025 16:58
Copy link
Collaborator

@lehins lehins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I love it!
Only a couple of minor suggestions

@aniketd aniketd force-pushed the aniketd/even-more-cddl branch 2 times, most recently from d256cb1 to 35f959a Compare November 4, 2025 13:16
* Rename and move metadata, matadatum and metadatum_label definitions to
  core, along with transaction_index.
* Remove metadata_hash and just use
  auxiliary_data_hash everywhere.
Rename era-name-prefixed definitions with meaningful structural names
that are easier to reuse.
* Make native_script fields era-prefixed as and when they are introduced
* Add smart constructors for script types in core
* Fix script_n_of_k for eras after allegra
@lehins lehins force-pushed the aniketd/even-more-cddl branch from 35f959a to 74c9049 Compare November 4, 2025 20:30
@aniketd aniketd merged commit 81c396d into master Nov 5, 2025
122 checks passed
@aniketd aniketd deleted the aniketd/even-more-cddl branch November 5, 2025 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants