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

Follow up PR: Removes BetaProgramInitiator, Global is Global, return backward compatibility #279

Merged
merged 6 commits into from
Jul 3, 2024

Conversation

vzotova
Copy link
Member

@vzotova vzotova commented Jun 27, 2024

Type of PR:

  • Bugfix
  • Feature
  • Documentation
  • Other

Required reviews:

  • 1
  • 2
  • 3

What this does:

High-level idea of the changes introduced in this PR.
List relevant API changes (if any), as well as related PRs and issues.

Issues fixed/closed:

  • Fixes #...

Why it's needed:

Explain how this PR fits in the greater context of the NuCypher Network.
E.g., if this PR address a nucypher/productdev issue, let reviewers know!

Notes for reviewers:
I'd like to have help with naming new GlobalAllowList (to be honest I'd not rename it at all)

@vzotova vzotova self-assigned this Jun 27, 2024
@vzotova vzotova changed the title [WIP] Follow up PR: Removes BetaProgramInitiator, ... Follow up PR: Removes BetaProgramInitiator, Global is Global, return backward compatibility Jun 28, 2024
@vzotova vzotova marked this pull request as ready for review June 28, 2024 14:06
@@ -549,6 +543,16 @@ contract Coordinator is Initializable, AccessControlDefaultAdminRulesUpgradeable
return found;
}

function isEncryptionAuthorized(
Copy link
Member

Choose a reason for hiding this comment

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

We should add a deprecation notice comment, with a link to #195

Copy link
Member

@derekpierre derekpierre left a comment

Choose a reason for hiding this comment

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

🎸 .

Compatibility with v7.3.0 was checked via nucypher/nucypher#3516

@@ -144,6 +143,10 @@ contract Coordinator is Initializable, AccessControlDefaultAdminRulesUpgradeable
return rituals[ritualId].accessController;
}

function getFeeModel(uint32 ritualId) external view returns (IFeeModel) {
return rituals[ritualId].feeModel;
Copy link
Member

Choose a reason for hiding this comment

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

Something occurred to me. What happens to the existing rituals on mainnet that would not have a feeModel set in their Ritual struct? I guess those can't be extended? Other side effects?

Copy link
Member Author

Choose a reason for hiding this comment

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

you are correct, old rituals can't be extended, I can create work around with FlatFeeRateModel as default for old rituals, wdyt?

Copy link
Member

Choose a reason for hiding this comment

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

Opened #282, so let's move on with the PR.

Copy link
Member

@derekpierre derekpierre left a comment

Choose a reason for hiding this comment

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

🎸

@cygnusv cygnusv merged commit 2b359ef into nucypher:epic-subscription Jul 3, 2024
2 checks passed
@derekpierre derekpierre mentioned this pull request Aug 12, 2024
23 tasks
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.

3 participants