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

update streams lookup contracts #10607

Merged
merged 3 commits into from
Sep 13, 2023
Merged

Conversation

FelixFan1992
Copy link
Contributor

No description provided.

@FelixFan1992 FelixFan1992 marked this pull request as ready for review September 12, 2023 18:05
@FelixFan1992 FelixFan1992 requested a review from a team as a code owner September 12, 2023 18:05
@github-actions
Copy link
Contributor

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"))) {
Copy link
Contributor

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~

Copy link
Contributor Author

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

@cl-sonarqube-production
Copy link

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Copy link
Contributor

@shileiwill shileiwill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for explaining!

@FelixFan1992 FelixFan1992 added this pull request to the merge queue Sep 12, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 12, 2023
@FelixFan1992 FelixFan1992 added this pull request to the merge queue Sep 12, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 13, 2023
@FelixFan1992 FelixFan1992 added this pull request to the merge queue Sep 13, 2023
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 13, 2023
@FelixFan1992 FelixFan1992 added this pull request to the merge queue Sep 13, 2023
Merged via the queue into develop with commit 2f042f2 Sep 13, 2023
122 checks passed
@FelixFan1992 FelixFan1992 deleted the update-streams-lookup-contracts branch September 13, 2023 00:40
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

Successfully merging this pull request may close these issues.

2 participants