-
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
rename VRF V2 plus to V2_5. rename eth to native #10656
rename VRF V2 plus to V2_5. rename eth to native #10656
Conversation
I see that you haven't updated any CHANGELOG files. Would it make sense to do so? |
Updating this PR w/ discussions we had:
|
…plus interface that is used offchain
6f0eea8
to
5d4ee24
Compare
@@ -1,35 +0,0 @@ | |||
// SPDX-License-Identifier: MIT |
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.
Replaced by IVRFCoordinatorV2Plus.sol
@@ -13,7 +13,7 @@ import ( | |||
v1 "github.com/smartcontractkit/chainlink/v2/core/gethwrappers/generated/solidity_vrf_coordinator_interface" |
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.
as of now, we don't have a way to specify multiple coordinator v2 plus addresses. After introducing v2_6
, we will need BHS feeder to monitor both 2_5
and 2_6until
2_5` is deprecated
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.
similar story for vrf jobs.
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.
We could just create new BHS jobs w/ the new coordinator address right?
… activeSubscriptionIDs() part of interface
Go solidity wrappers are out-of-date, regenerate them via the |
1 similar comment
Go solidity wrappers are out-of-date, regenerate them via the |
contracts/src/v0.8/dev/interfaces/IVRFCoordinatorV2_5_Migration.sol
Outdated
Show resolved
Hide resolved
contracts/src/v0.8/dev/interfaces/IVRFMigratableConsumerV2_5.sol
Outdated
Show resolved
Hide resolved
event EthFundsRecovered(address to, uint256 amount); | ||
event NativeFundsRecovered(address to, uint256 amount); |
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.
With this change here, does the ABI in atlas need to be updated?
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.
yeah we need to update ABI and Benthos pipelines
event SubscriptionFundedWithEth(uint256 indexed subId, uint256 oldEthBalance, uint256 newEthBalance); | ||
event SubscriptionFundedWithNative(uint256 indexed subId, uint256 oldNativeBalance, uint256 newNativeBalance); |
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.
I think this is indexed in atlas so we def need to update the ABI there, perhaps a follow up task.
@@ -13,7 +13,7 @@ import ( | |||
v1 "github.com/smartcontractkit/chainlink/v2/core/gethwrappers/generated/solidity_vrf_coordinator_interface" |
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.
We could just create new BHS jobs w/ the new coordinator address right?
Lots of my comments above are prior to hashing things out regarding naming this week, can ignore. |
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.
💪 This is a pretty Herculean rename PR.
Ah damn looks like the migration smoke test is failing: https://github.com/smartcontractkit/chainlink/actions/runs/6269048139/job/17024994184?pr=10656 |
…o-vrf-coordinator-v-2-5
…o-vrf-coordinator-v-2-5
…o-vrf-coordinator-v-2-5
SonarQube Quality Gate |
VRFCoordinatorV2Plus
toVRFCoordinatorV2_5
VRFCoordinatorV2PlusInterfaceInternal
which is used to generate gethwrappers that offchain can use acrossVRFV2_x
versionseth
tonative