-
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
Set LINK native feed in VRFV2PlusWrapper to immutable #12592
Set LINK native feed in VRFV2PlusWrapper to immutable #12592
Conversation
ibrajer
commented
Mar 26, 2024
- LINK native feed set to immutable, removed setter function
- both LINK token and LINK native feed can be set to zero addresses
- fixed Foundry tests
I see you updated files related to |
I see you updated files related to |
Go solidity wrappers are out-of-date, regenerate them via the |
* LINK native feed set to immutable, removed setter function * both LINK token and LINK native feed can be set to zero addresses * fixed Foundry tests
Co-authored-by: Lee Yik Jiun <yikjiun.lee@smartcontract.com>
9a189a7
to
4d630f2
Compare
Go solidity wrappers are out-of-date, regenerate them via the |
@@ -30,6 +30,7 @@ contract VRFV2PlusWrapper is ConfirmedOwner, TypeAndVersionInterface, VRFConsume | |||
// solhint-disable-next-line chainlink-solidity/prefix-immutable-variables-with-i | |||
uint256 public immutable SUBSCRIPTION_ID; | |||
LinkTokenInterface internal immutable i_link; | |||
AggregatorV3Interface public immutable i_link_native_feed; |
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.
*nit can be internal right? since there is a new getter below?
Quality Gate passedIssues Measures |
* Set LINK native feed in VRFV2PlusWrapper to immutable * LINK native feed set to immutable, removed setter function * both LINK token and LINK native feed can be set to zero addresses * fixed Foundry tests * Added solhint disable for LINK_NATIVE_FEED immutable var * Added changesets * Delete storage slot padding from VRFV2PlusWrapper Co-authored-by: Lee Yik Jiun <yikjiun.lee@smartcontract.com> * Renamed LINK_NATIVE_FEED to i_link_native_feed, generated Go wrappers * Fixed linter issue * Link native feed address variable set to internal --------- Co-authored-by: Lee Yik Jiun <yikjiun.lee@smartcontract.com>