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

feat: disallow zero startTime in dynamic and tranched #852

Merged
merged 1 commit into from
Mar 17, 2024

Conversation

andreivladbrg
Copy link
Member

Addresses #851

@andreivladbrg andreivladbrg force-pushed the feat/disallow-zero-startTime branch from 29123e3 to bb0566e Compare March 15, 2024 12:21
@andreivladbrg andreivladbrg force-pushed the feat/disallow-zero-startTime branch from bb0566e to 2309ea1 Compare March 15, 2024 13:27
Copy link
Member

@smol-ninja smol-ninja left a comment

Choose a reason for hiding this comment

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

Thanks for the PR Andrei. I have reviewed it and left some comments below:

src/interfaces/ISablierV2LockupDynamic.sol Outdated Show resolved Hide resolved
src/interfaces/ISablierV2LockupTranched.sol Outdated Show resolved Hide resolved
test/invariant/Lockup.t.sol Show resolved Hide resolved
Copy link
Member

@PaulRBerg PaulRBerg left a comment

Choose a reason for hiding this comment

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

good job

src/interfaces/ISablierV2LockupDynamic.sol Outdated Show resolved Hide resolved
test/invariant/Lockup.t.sol Show resolved Hide resolved
test: when start time is zero in create function from dynamic and tranched
test: fuzz start time starting from 1
test: move common invariants in Lockup
test: remove no longer needed invariants
chore: update Precompiles
@andreivladbrg andreivladbrg force-pushed the feat/disallow-zero-startTime branch from 2309ea1 to 16aea10 Compare March 17, 2024 14:20
@andreivladbrg
Copy link
Member Author

@smol-ninja I have updated the branch with your feedback, does it look good?

Copy link
Member

@smol-ninja smol-ninja left a comment

Choose a reason for hiding this comment

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

Perfect. Looks good.

@andreivladbrg andreivladbrg merged commit be1dea4 into staging Mar 17, 2024
8 of 9 checks passed
@smol-ninja smol-ninja deleted the feat/disallow-zero-startTime branch March 17, 2024 14:35
@andreivladbrg andreivladbrg self-assigned this Mar 24, 2024
@smol-ninja smol-ninja mentioned this pull request Jun 16, 2024
andreivladbrg added a commit that referenced this pull request Jul 3, 2024
test: when start time is zero in create function from dynamic and tranched
test: fuzz start time starting from 1
test: move common invariants in Lockup
test: remove no longer needed invariants
chore: update Precompiles
andreivladbrg added a commit that referenced this pull request Jul 3, 2024
test: when start time is zero in create function from dynamic and tranched
test: fuzz start time starting from 1
test: move common invariants in Lockup
test: remove no longer needed invariants
chore: update Precompiles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants