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

BCI-1426: Add GasPriceSubunits Data Source Pipeline #13200

Merged
merged 15 commits into from
May 23, 2024

Conversation

augustbleeds
Copy link
Contributor

@augustbleeds augustbleeds commented May 14, 2024

Changes

  • Add optional GasPriceSubunits pipeline in the plugin Config
  • Validate the pipeline in ORM (if it exists) before insertion into postgres
  • If gasPriceSubunits data source does not exist, create a zero data source. Pass it to the NewMedianFactory

Merge Order

  1. BCI-1426: Gas Price Subunits Changes chainlink-common#509
  2. Add Gas Price Data Source chainlink-feeds#28
  3. This PR

@@ -2,7 +2,7 @@ golang 1.21.7
mockery 2.42.2
nodejs 20.13.1
pnpm 8.15.8
postgres 14.11
postgres 15.1
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Overdue for a bump?

return nil, err
}

// Setting includeGasPriceSubunitsInObservation properly ensures we do not break libocr codec
Copy link
Contributor

Choose a reason for hiding this comment

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

we had talked about updating this comment to be a more direct and simpler -- we have to omit the field in to maintain backward compatibility

@bolekk
Copy link
Contributor

bolekk commented May 23, 2024

Is this ready to be merged? I'd like to update common dep to latest.

@augustbleeds augustbleeds requested review from jmank88 and bolekk May 23, 2024 18:12
bolekk
bolekk previously approved these changes May 23, 2024
jmank88
jmank88 previously approved these changes May 23, 2024
@augustbleeds augustbleeds dismissed stale reviews from jmank88 and bolekk via f0923d6 May 23, 2024 19:55
@augustbleeds augustbleeds requested a review from RensR as a code owner May 23, 2024 19:55
@augustbleeds
Copy link
Contributor Author

there was a merge conflict so I had to resolve that. will need approvals again xD @jmank88 @bolekk

@augustbleeds
Copy link
Contributor Author

anyone able to add to merge queue?

@bolekk bolekk enabled auto-merge May 23, 2024 20:46
@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
5.11% Technical Debt Ratio on New Code (required ≤ 4%)
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube

Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint

@bolekk bolekk added this pull request to the merge queue May 23, 2024
Merged via the queue into develop with commit 4718aa7 May 23, 2024
106 of 107 checks passed
@bolekk bolekk deleted the augustus.BCI-1426.gasPriceSubunits-datasource branch May 23, 2024 21:26
augustbleeds added a commit that referenced this pull request Jun 14, 2024
* initial

* incorporate gasPriceSubunits data source

* update deps

* add in data source

* comment

* update plugin config

* add changeset

* update chainlink-common & chainlink-feeds

* lint fixes

* lint

---------

Co-authored-by: Bolek <[email protected]>
augustbleeds added a commit that referenced this pull request Jun 14, 2024
* initial

* incorporate gasPriceSubunits data source

* update deps

* add in data source

* comment

* update plugin config

* add changeset

* update chainlink-common & chainlink-feeds

* lint fixes

* lint

---------

Co-authored-by: Bolek <[email protected]>
augustbleeds added a commit that referenced this pull request Jun 17, 2024
* initial

* incorporate gasPriceSubunits data source

* update deps

* add in data source

* comment

* update plugin config

* add changeset

* update chainlink-common & chainlink-feeds

* lint fixes

* lint

---------

Co-authored-by: Bolek <[email protected]>
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.

4 participants