-
Notifications
You must be signed in to change notification settings - Fork 608
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 hooks for gamm and lockup modules #81
Conversation
17dd544
to
fb03b5d
Compare
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
fb03b5d
to
28ad4df
Compare
Update: We're redoing the changes to actually git cherry-pick the history, to get proper accreditation for commit authorship |
6a3cf3c
to
0d4020c
Compare
Fixed 👍 |
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
The reason why the hook was added to the lockup module was because the pool-yield module needed a hook, and it wasn’t implemented at the time. It was mostly a temporary measure. @antstalepresh If you’ve implemented it now, then I think Eugen’s code should be merged. What do you think? |
I didn't have time to write hooks for lockup module, was focusing on incentives module. But it seems good, already have 2 hooks added to the codebase. |
Cherrypicked addition of hooks to x/gamm and x/lockup from @Thunnini's work in #80