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

Add Test to Validate Mitigation of Unauthorized Bounty Claim #5

Merged
merged 8 commits into from
Mar 9, 2024

Conversation

JordanCason
Copy link
Collaborator

Added new test to ensure that only authorized bounties can trigger certain actions in the HoneyPause contract.

test/HoneyPause.t.sol Outdated Show resolved Hide resolved
test/HoneyPause.t.sol Outdated Show resolved Hide resolved
test/HoneyPause.t.sol Outdated Show resolved Hide resolved
test/HoneyPause.t.sol Outdated Show resolved Hide resolved
test/HoneyPause.t.sol Outdated Show resolved Hide resolved
test/HoneyPause.t.sol Outdated Show resolved Hide resolved
test/HoneyPause.t.sol Outdated Show resolved Hide resolved
test/HoneyPause.t.sol Outdated Show resolved Hide resolved
test/HoneyPause.t.sol Outdated Show resolved Hide resolved
test/HoneyPause.t.sol Outdated Show resolved Hide resolved
test/HoneyPause.t.sol Outdated Show resolved Hide resolved
@JordanCason JordanCason requested a review from merklejerk March 9, 2024 18:14
Copy link
Owner

@merklejerk merklejerk left a comment

Choose a reason for hiding this comment

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

👍️👁️👄👁️👍️

@JordanCason JordanCason merged commit 8ebe82b into fix/payer-pauser-reuse Mar 9, 2024
1 check passed
merklejerk added a commit that referenced this pull request Mar 9, 2024
* fix pauser and payer reuse vuln
update testnet scripts
fix broken tests
update README

* update readme

* Add Test to Validate Mitigation of Unauthorized Bounty Claim (#5)

Added test to check for bounty using another pauser payer

* Return pay amount (#4)

* return paid amount from claims

* update readme

* update flow img

* update flow img

---------

Co-authored-by: JordanCason <[email protected]>
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