Skip to content

Conversation

@akuzni2
Copy link
Contributor

@akuzni2 akuzni2 commented Jan 21, 2026

Introduce publicly visible parameters to be compatible with existing integration patterns

@github-actions
Copy link
Contributor

github-actions bot commented Jan 21, 2026

Static analysis results are available

Hey @akuzni2, you can view Slither reports in the job summary here or download them as artifact here.
Please check them before merging and make sure you have addressed all issues.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 21, 2026

✅ API Diff Results - No breaking changes


📄 View full apidiff report

Add constructor parameters and getters required for integration
compatibility with official Chainlink Data Streams pattern:
- i_linkAddress, i_nativeAddress, i_rewardManager
- s_nativeSurcharge() returning 0

Update tests and regenerate geth bindings.
@akuzni2 akuzni2 changed the title FeeManager getters NoOpFeeManager interface compatibility Jan 25, 2026
@akuzni2 akuzni2 marked this pull request as ready for review January 26, 2026 22:52
@akuzni2 akuzni2 requested a review from a team as a code owner January 26, 2026 22:52
Copilot AI review requested due to automatic review settings January 26, 2026 22:52
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the NoOpFeeManager contract in v0.5.1 to improve interface compatibility with the real FeeManager by adding constructor parameters for link address, native address, and reward manager. This allows integrators to query these addresses before calling getFeeAndReward(), matching the real-world integration pattern.

Changes:

  • Added constructor parameters to NoOpFeeManager for storing link, native, and reward manager addresses
  • Updated version string from "0.5.0" to "0.5.1"
  • Added new test coverage for constructor parameters, native surcharge getter, and integration workflow compatibility

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
contracts/src/v0.8/llo-feeds/v0.5.1/NoOpFeeManager.sol Added constructor with three address parameters and s_nativeSurcharge() getter for interface compatibility
contracts/src/v0.8/llo-feeds/v0.5.1/test/fee-manager/NoOpFeeManager.t.sol Updated tests to use new constructor and added test coverage for constructor parameters and native surcharge
contracts/src/v0.8/llo-feeds/v0.5.1/test/fee-manager/NoOpFeeManager.integration.t.sol Added comprehensive integration test verifying workflow compatibility between FeeManager and NoOpFeeManager
contracts/gas-snapshots/llo-feeds.gas-snapshot Updated gas consumption measurements for modified tests
gethwrappers/llo-feeds/generation/generated-wrapper-dependency-versions-do-not-edit.txt Updated hash for v0.5.1 NoOpFeeManager wrapper reflecting contract changes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant