-
Notifications
You must be signed in to change notification settings - Fork 37
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
fix(events): align event processing with smart contract changes #400
Conversation
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.
I think we need to make this backward compatible since it's tricky to upgrade CL and contract together.
I agree, it requires precise timing of smart contract upgrade to follow the updated CL. Alternatively we could do this:
|
Anyway, we need to notify the community that we will deprecate
|
This will cause a service disruption if someone wants to use operator functions between CL hardfork and contract upgrade. I think a simpler approach is to just make CL backward compatible. Add the new operator functions instead of replacing. So that both types of event can be processed. |
If we plan to keep both operator functions until |
Yeah, I also agree to @edisonz0718. We can make CL backward compatible for the contract upgrade for now, and deprecate the old events after upgrading the contract. |
My point is if we do not keep old operator functions, it's already a non-compatible change on user side, so it's equivalent if CL is backward compatible or not. If we want to make backward compatible, we need following steps:
|
As discussed with @edisonz0718 , we will not fix #393 in odyssey since it is a name change. We will apply the fix in mainnet version. |
align event processing with smart contract changes issue: closes #393
align event processing with smart contract changes issue: closes #393
align event processing with smart contract changes
issue: closes #393