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

Research solutions for updating an ipOrg's hooks #213

Open
edisonz0718 opened this issue Dec 1, 2023 · 1 comment
Open

Research solutions for updating an ipOrg's hooks #213

edisonz0718 opened this issue Dec 1, 2023 · 1 comment

Comments

@edisonz0718
Copy link

Currently, when an ipOrg updates its hooks, i.e. adding a new hook. The applications that integrate with the ipOrg will fail and require code changes because it doesn't know what data to pass into the new hook.
We need a way to allow application developers to migrate smoothly when this happens. Maybe a time lock mechanism to allow the application developers to know the attempt of updating hooks ahead of time. Or any other better approaches.
I think it worths researching some other projects like Uniswap v4 to see how they handle this.

@Ramarti
Copy link
Contributor

Ramarti commented Dec 6, 2023

We could add some hook metadata to identify them. There are some cases where it only makes sense to have a payment hooks for a module/action, the module needs to know what the hook does.

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

No branches or pull requests

2 participants