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

Draft- Opinions needed. Changed the STS State of the UTXO, UTXOW, and DELEGS rules #3353

Closed
wants to merge 1 commit into from

Conversation

TimSheard
Copy link
Contributor

@TimSheard TimSheard commented Mar 23, 2023

Changed the STS State of the UTXO, UTXOW, and DELEGS rules. From UTxOState to LedgerState, for UTXO and UTXOW and from DPState to LedgerState. for DELEGS.
This is an experiment. When we move to incremental computation of the distribution maps, any place that alters
one of the roots of the incremental computations, will need access to all the roots. Since we currently alter the roots
in several different STS rules, all these rules need the same STS state. That is the motivation to make LedgerState
a common STS state for all of them.

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated
  • Any changes are noted in the CHANGELOG.md for affected package
  • 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

@TimSheard TimSheard changed the title WIP Changed the STS State of the UTXO, UTXOW, and DELEGS rules Draft- Opinions needed. Changed the STS State of the UTXO, UTXOW, and DELEGS rules Mar 24, 2023
@TimSheard TimSheard force-pushed the ts-newstate4DelegsUtxo branch from 76737d1 to 76e19ef Compare March 28, 2023 23:24
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