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

transaction: 🧁 TransactionPlan::with_populated_detection_data() #4469

Merged
merged 1 commit into from
May 28, 2024

Conversation

cratelyn
Copy link
Contributor

@cratelyn cratelyn commented May 24, 2024

💭 describe your changes

this would be helpful in many mock consensus tests. to avoid short-lived plan bindings, and mutable plans, add a builder-style method to call populate_detection_data() on a TransactionPlan.

✅ checklist before requesting a review

  • if this code contains consensus-breaking changes, i have added the
    "consensus-breaking" label. otherwise, i declare my belief that there are not
    consensus-breaking changes, for the following reason:

    this only makes changes to test code.

this would be helpful in many mock consensus tests. to avoid short-lived
`plan` bindings, and mutable plans, add a builder-style method to call
`populate_detection_data()` on a `TransactionPlan`.
@cratelyn cratelyn added _P-low Priority: low A-testing Area: Relates to testing of Penumbra C-refactor Category: refactors and other related improvements labels May 24, 2024
@cratelyn cratelyn added this to the Sprint 7 milestone May 24, 2024
@cratelyn cratelyn self-assigned this May 24, 2024
@cratelyn cratelyn marked this pull request as ready for review May 24, 2024 20:05
@cratelyn cratelyn merged commit 60cff26 into main May 28, 2024
13 checks passed
@cratelyn cratelyn deleted the kate/plan-with-populated-detection-data branch May 28, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-testing Area: Relates to testing of Penumbra C-refactor Category: refactors and other related improvements _P-low Priority: low
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants