Skip to content
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

Fix cddl representing CostModels in Conway #4390

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

teodanciu
Copy link
Contributor

Description

Costmodel values are incorrectly represented in conway cddl as singleton lists.
This PR fixes it, and makes the specification for unknown languages more precise.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated
  • When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
    versioning process.
  • The version bounds in .cabal files for all affected packages are updated. If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
  • All visible changes are prepended to the latest section of a CHANGELOG.md for the affected packages. New section is never added with the code changes. (See RELEASING.md)
  • Code is formatted with fourmolu (use scripts/fourmolize.sh)
  • Cabal files are formatted (use scripts/cabal-format.sh)
  • hie.yaml has been updated (use scripts/gen-hie.sh)
  • Self-reviewed the diff

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.

Perfect!
Thank you!

@lehins lehins force-pushed the td/costmodels-cddl branch from b6afe83 to 0e3b9c7 Compare June 5, 2024 19:49
@lehins lehins enabled auto-merge June 5, 2024 19:49
@teodanciu teodanciu force-pushed the td/costmodels-cddl branch from 0e3b9c7 to 78b32d5 Compare June 5, 2024 21:29
@lehins lehins merged commit 4f60ba5 into master Jun 5, 2024
125 of 126 checks passed
@lehins lehins deleted the td/costmodels-cddl branch June 5, 2024 23:59
nc6 added a commit that referenced this pull request Jun 25, 2024
nc6 added a commit that referenced this pull request Jun 26, 2024
nc6 added a commit that referenced this pull request Jul 25, 2024
Soupstraw pushed a commit that referenced this pull request Aug 1, 2024
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.

2 participants