-
Notifications
You must be signed in to change notification settings - Fork 16
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 owner to StakeDeposited #52
Conversation
Coverage after merging chore/add-owner-to-stake-deposited into main will be
Coverage Report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, just a note on sibling PR
@@ -426,7 +428,7 @@ contract UniStaker is INotifiableRewardReceiver, ReentrancyGuard, Multicall { | |||
delegatee: _delegatee, | |||
beneficiary: _beneficiary | |||
}); | |||
emit StakeDeposited(_depositId, _amount, _amount); | |||
emit StakeDeposited(msg.sender, _depositId, _amount, _amount); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a note here that this will turn into deposit.owner
when #43 is merged. whichever is merged first, we should take care to update in the correct place.
emit StakeDeposited(msg.sender, _depositId, _amount, _amount); | |
emit StakeDeposited(deposit.owner, _depositId, _amount, _amount); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call out @wildmolasses, looks like this one will make it in first so please be sure to rebase, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good thanks @alexkeating
@@ -426,7 +428,7 @@ contract UniStaker is INotifiableRewardReceiver, ReentrancyGuard, Multicall { | |||
delegatee: _delegatee, | |||
beneficiary: _beneficiary | |||
}); | |||
emit StakeDeposited(_depositId, _amount, _amount); | |||
emit StakeDeposited(msg.sender, _depositId, _amount, _amount); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call out @wildmolasses, looks like this one will make it in first so please be sure to rebase, thanks!
Description
StakeDeposited