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

Chore: update code and reports after audits #26

Merged
merged 7 commits into from
Sep 6, 2024

Conversation

amusingaxl
Copy link
Contributor

No description provided.

@amusingaxl amusingaxl requested review from 0xp3th1um, oddaf and 0xdecr1pto and removed request for 0xp3th1um September 4, 2024 13:02
The ownership of `DssVest` no longer lies with this module, instead it assumes that DssVest is already properly initialized and can be used to create vesting streams.
@amusingaxl amusingaxl changed the title Chore: update ChainSecurity audit reports Chore: update code and reports after audits Sep 5, 2024
@amusingaxl amusingaxl marked this pull request as draft September 5, 2024 13:19
@amusingaxl amusingaxl self-assigned this Sep 5, 2024
@amusingaxl amusingaxl marked this pull request as ready for review September 6, 2024 14:04
@@ -54,6 +58,9 @@ contract Phase1b_UsdsSkyFarmingCheckScript is Script {
require(DssVestWithGemLike(vest).res(vestId) == 1, "DssVest/invalid-vest-res");
require(DssVestWithGemLike(vest).usr(vestId) == dist, "DssVest/wrong-dist");
require(DssVestWithGemLike(vest).mgr(vestId) == address(0), "DssVest/mgr-should-not-be-set");
require(DssVestWithGemLike(vest).bgn(vestId) == vestBgn, "DssVest/invalid-bgn");

Choose a reason for hiding this comment

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

You are missing chek for Vest.cap

Choose a reason for hiding this comment

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

Saw you add file(CAP) to the UsdsSkyFarmingInitSpell

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is out of the scope of this repo.
Cap is a system parameter.

Choose a reason for hiding this comment

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

Nvm, saw your comments on the issue

Copy link

@0xdecr1pto 0xdecr1pto left a comment

Choose a reason for hiding this comment

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

LGTM

@amusingaxl amusingaxl merged commit 1426851 into master Sep 6, 2024
2 checks passed
@amusingaxl amusingaxl deleted the chore/update-audit-reports branch September 6, 2024 17:42
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