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

TACo commitment #115

Merged
merged 3 commits into from
Sep 8, 2023
Merged

TACo commitment #115

merged 3 commits into from
Sep 8, 2023

Conversation

vzotova
Copy link
Member

@vzotova vzotova commented Sep 5, 2023

Based on #114
Now you can make a commitment to TACo!

  • 4 options, some of them can be empty
  • can't request decrease until end of commitment
  • can be done only once

@vzotova vzotova changed the title [WIP] TACo commitment TACo commitment Sep 7, 2023
@vzotova vzotova marked this pull request as ready for review September 7, 2023 22:06
@cygnusv cygnusv changed the base branch from main to development September 8, 2023 06:33
@cygnusv cygnusv changed the base branch from development to main September 8, 2023 06:34
require(
info.endCommitment <= block.timestamp,
"Can't request deauthorization before end of commitment"
);
Copy link
Member

Choose a reason for hiding this comment

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

For readers, this is where the magic happens.

@cygnusv cygnusv merged commit 74ac5ea into nucypher:main Sep 8, 2023
2 checks passed
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