-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
update streams lookup contracts #10607
Conversation
I see that you haven't updated any CHANGELOG files. Would it make sense to do so? |
@@ -93,7 +93,7 @@ contract StreamsLookupUpkeep is AutomationCompatibleInterface, StreamsLookupComp | |||
return (false, data); | |||
} | |||
uint256 timeParam; | |||
if (keccak256(abi.encodePacked(timeParamKey)) == keccak256(abi.encodePacked("feedIdHex"))) { | |||
if (keccak256(abi.encodePacked(feedParamKey)) == keccak256(abi.encodePacked("feedIdHex"))) { |
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.
Hey @FelixFan1992 , i know this is a simple change, and this is all about this PR, I wish I could just approve. Can you help me understand what are timeParamKey and feedParamKey, why this change? 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.
sure. timeParamKey is either blockNumber
or timestamp
feedParamKey is either feedIdHex
or feedIDs
. these are used to differentiate v2 and v3
SonarQube Quality Gate |
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.
Thanks for explaining!
No description provided.