-
Notifications
You must be signed in to change notification settings - Fork 58
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(relayer): Ensure argument keys are sorted before hashing #2061
base: master
Are you sure you want to change the base?
Conversation
Unclear whether this has actually caused an issue, but implementation details at the upstream RPC provider may lead to undetected duplicate events being passed into the relayer.
Marked as |
To be fair, we probably don't need this anymore, right? Do we still want it only if there are weird RPC quirks in the future? |
Yeah..I don't think we've been impacted by this, but in general it's probably a good idea to be consistent in how these events are handled, so I'd like to apply sorting. |
@bmzig wdyt about this change? |
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 to me.
Unclear whether this has actually caused an issue, but implementation details at the upstream RPC provider may lead to undetected duplicate events being passed into the relayer.