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 events and update expectEmits #34

Merged
merged 1 commit into from
Feb 1, 2024
Merged

Add events and update expectEmits #34

merged 1 commit into from
Feb 1, 2024

Conversation

alexkeating
Copy link
Collaborator

Closes #22 #16

@alexkeating alexkeating changed the title Add events Add events and update forge-std Jan 24, 2024
src/UniStaker.sol Outdated Show resolved Hide resolved
src/UniStaker.sol Outdated Show resolved Hide resolved
@alexkeating alexkeating requested review from apbendi and wildmolasses and removed request for apbendi January 29, 2024 13:53
@alexkeating alexkeating marked this pull request as ready for review January 29, 2024 13:53
@alexkeating alexkeating changed the title Add events and update forge-std Add events and update expecEmits Jan 29, 2024
@wildmolasses wildmolasses changed the title Add events and update expecEmits Add events and update expectEmits Jan 29, 2024
Copy link
Collaborator

@apbendi apbendi left a comment

Choose a reason for hiding this comment

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

Good work @alexkeating, left some feedback.

test/UniStaker.t.sol Outdated Show resolved Hide resolved
test/UniStaker.t.sol Outdated Show resolved Hide resolved
src/UniStaker.sol Outdated Show resolved Hide resolved
src/UniStaker.sol Outdated Show resolved Hide resolved
src/UniStaker.sol Outdated Show resolved Hide resolved
src/UniStaker.sol Outdated Show resolved Hide resolved
src/UniStaker.sol Outdated Show resolved Hide resolved
src/UniStaker.sol Outdated Show resolved Hide resolved
src/UniStaker.sol Outdated Show resolved Hide resolved
test/UniStaker.t.sol Outdated Show resolved Hide resolved
@alexkeating alexkeating force-pushed the chore/add-events branch 2 times, most recently from 708c360 to 9e5c475 Compare January 30, 2024 15:43
Copy link
Collaborator

@apbendi apbendi left a comment

Choose a reason for hiding this comment

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

A few more small things @alexkeating, getting close on this.

src/UniStaker.sol Outdated Show resolved Hide resolved
src/UniStaker.sol Outdated Show resolved Hide resolved
src/UniStaker.sol Show resolved Hide resolved
Copy link
Collaborator

@apbendi apbendi left a comment

Choose a reason for hiding this comment

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

Sorry for the churn here @alexkeating but there's still a couple things that jumped out at me.

test/UniStaker.t.sol Outdated Show resolved Hide resolved
src/UniStaker.sol Show resolved Hide resolved
Copy link
Collaborator

@apbendi apbendi left a comment

Choose a reason for hiding this comment

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

Looks good @alexkeating, nice work.

Copy link

github-actions bot commented Feb 1, 2024

Coverage after merging chore/add-events into main will be

100.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   UniStaker.sol98.62%95.83%95.24%100%369
   V3FactoryOwner.sol100%100%100%100%

Copy link
Collaborator

@wildmolasses wildmolasses left a comment

Choose a reason for hiding this comment

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

lgtm

@alexkeating alexkeating merged commit b154cd5 into main Feb 1, 2024
4 checks passed
@alexkeating alexkeating mentioned this pull request Feb 2, 2024
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.

Add and test event emission to UniStaker contract
3 participants