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(ctp): Drippie Spearbit audit fixes #3280

Merged
merged 14 commits into from
Sep 19, 2022
Merged

Conversation

smartcontracts
Copy link
Contributor

Description
Includes individual commits for each audit issue that I felt was worth fixing. No "high" or "critical" severity bugs were found as part of the audit and making this PR public does not put any existing funds at risk.

@changeset-bot
Copy link

changeset-bot bot commented Aug 21, 2022

🦋 Changeset detected

Latest commit: eb2c556

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@eth-optimism/contracts-periphery Patch
@eth-optimism/drippie-mon Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added 2-reviewers A-op-bindings Area: op-bindings labels Aug 21, 2022
@smartcontracts smartcontracts force-pushed the sc/drippie-audit-fixes branch 3 times, most recently from 779d3d3 to a1072f9 Compare August 22, 2022 15:57
Fixes Spearbit issue 45, saves gas by using calldata parameters instead
of memory parameters.
Fixes Spearbit issue 44, documents the count variable and increments
count before external calls.
Fixes Spearbit issue 42, saves gas by removing extra SLOADs.
Fixes Spearbit issue 35, corrects contract layout ordering.
Fixes Spearbit issue 34, adds natspec where incomplete.
Fixes Spearbit issues 32 and 33, clarifies the behavior of the
executable function to revert instead of returning false, and removes an
unnecessary check as a result.
Fixes Spearbit issue 31, requires explicit opt-in for reentrant drip
execution.
Fixes Spearbit issue 28, better documentation of the behavior of
execution checks in the drip function.
Fixes Spearbit issue 21, use MIT licensed version of Solmate.
Fixes Spearbit issue 25, reorders DripStatus enum for clarity.
Fixes Spearbit issue 24, use call with value over transfer to avoid
future gas issues.
Fixes Spearbit issue 22, removes unnecessary gas parameter.
Fixes Spearbit issue 39, updates Solidity to latest version.
@mslipper
Copy link
Collaborator

@tynes can you please review? Don't want this to go stale.

@mergify
Copy link
Contributor

mergify bot commented Sep 19, 2022

This PR has been added to the merge queue, and will be merged soon.

@mergify mergify bot merged commit 0ceff8b into develop Sep 19, 2022
@mergify mergify bot deleted the sc/drippie-audit-fixes branch September 19, 2022 10:46
@mergify
Copy link
Contributor

mergify bot commented Sep 19, 2022

This PR is next in line to be merged, and will be merged as soon as checks pass.

@mergify mergify bot removed the on-merge-train label Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-op-bindings Area: op-bindings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants