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(grouping): make license attachment idempotent #59

Merged
merged 3 commits into from
Sep 10, 2024

Conversation

sebsadface
Copy link
Member

Description

This PR adds a fix to ensure idempotency when attaching license terms in GroupingWorkflows.

Key Changes

  • Added the attachLicenseTerms helper function, which attaches license terms only if they haven't been applied already. GroupingWorkflows now uses this helper instead of calling LicensingModule directly.
  • Miscellaneous Fixes: Added EVM version, removed unnecessary imports, fixed state variable visibility, and applied minor style improvements.

Test Plan

All existing and new tests pass locally.

Related Issue

@sebsadface sebsadface merged commit 9656fc1 into storyprotocol:main Sep 10, 2024
3 checks passed
@sebsadface sebsadface deleted the license-attachment branch September 10, 2024 21:23
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