Skip to content

Add Conway governance constraints to experimental constraints#1189

Merged
carbolymer merged 1 commit into
masterfrom
mgalazyn/feature/add-conway-gov-to-common-constraints
Apr 27, 2026
Merged

Add Conway governance constraints to experimental constraints#1189
carbolymer merged 1 commit into
masterfrom
mgalazyn/feature/add-conway-gov-to-common-constraints

Conversation

@carbolymer
Copy link
Copy Markdown
Contributor

Context

Add Conway governance constraints to experimental constraints

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated. See Running tests for more details
  • Self-reviewed the diff
  • Changelog fragment added in .changes/

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds Conway governance-related ledger constraints into the experimental era constraint bundle so governance functionality can be used under EraCommonConstraints without additional Conway-specific constraint wrappers.

Changes:

  • Import Conway governance/state ledger modules needed to reference governance constraints in the experimental era layer.
  • Extend EraCommonConstraints with ConwayEraGov, ConwayEraCertState, and GovState ~ ConwayGovState equality.
  • Add a changelog fragment describing the API surface change.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
cardano-api/src/Cardano/Api/Experimental/Era.hs Extends the exported experimental common constraint set to include Conway governance constraints.
.changes/20260424_cardano_api_add_conway_gov_to_common_constraints.yml Documents the change for release notes (but needs metadata/kind adjustments).

Comment thread .changes/20260424_cardano_api_add_conway_gov_to_common_constraints.yml Outdated
Comment thread .changes/20260424_cardano_api_add_conway_gov_to_common_constraints.yml Outdated
@carbolymer carbolymer force-pushed the mgalazyn/feature/add-conway-gov-to-common-constraints branch from b890a10 to dddeb59 Compare April 24, 2026 08:59
@carbolymer carbolymer self-assigned this Apr 24, 2026
@carbolymer carbolymer force-pushed the mgalazyn/feature/add-conway-gov-to-common-constraints branch from dddeb59 to bf60069 Compare April 24, 2026 09:00
@carbolymer carbolymer force-pushed the mgalazyn/feature/add-conway-gov-to-common-constraints branch from bf60069 to d0cfc2b Compare April 24, 2026 09:01
Copy link
Copy Markdown
Contributor

@palas palas left a comment

Choose a reason for hiding this comment

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

If it compiles, adding constraints to EraCommonContraints is definitely beneficial 👍

@carbolymer carbolymer added this pull request to the merge queue Apr 27, 2026
Merged via the queue into master with commit 77b5af0 Apr 27, 2026
33 checks passed
@carbolymer carbolymer deleted the mgalazyn/feature/add-conway-gov-to-common-constraints branch April 27, 2026 08:30
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.

4 participants