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

Remove duplication. Reuse the same function in Babbage from Alonzo. #3341

Merged
merged 1 commit into from Mar 17, 2023

Conversation

lehins
Copy link
Contributor

@lehins lehins commented Mar 17, 2023

Description

Also improve consistency a little by relying on Foldable.

Avoid allocation of intermediate lists by writing in a more fusion friendly manner

Avoid redundant usage of txouts function

Checklist

  • 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

Also improve consistency a little by relying on Foldable.

Avoid allocation of intermediate lists by writing in a more fusion
friendly manner

Avoid redundant usage of `txouts` function
Copy link
Contributor

@JaredCorduan JaredCorduan left a comment

Choose a reason for hiding this comment

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

👏

@lehins lehins enabled auto-merge March 17, 2023 18:56
@lehins lehins merged commit fee91ed into master Mar 17, 2023
@iohk-bors iohk-bors bot deleted the lehins/simplify-utxo-rule branch March 17, 2023 19:54
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.

None yet

2 participants