You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am upgrading my implementation of VRF v2 to v2.5. I am using ERC1967 proxies to upgrade my contract, and my implementation of VRF v2 made use of VRFConsumerBaseV2Upgradeable (and its __VRFConsumerBaseV2_init in my contract's initialize functions).
It looks like VRFConsumerBaseV2Plus does not have an analogous initializer, and a coordinator address is actually required in the constructor.
Is there / will there be an upgradeable version of VRFConsumerBaseV2Plus that does not require a coordinator address in its constructor?
Is the recommended approach to simply call setCoordinator within my initialize function?
The text was updated successfully, but these errors were encountered:
I am upgrading my implementation of VRF v2 to v2.5. I am using ERC1967 proxies to upgrade my contract, and my implementation of VRF v2 made use of
VRFConsumerBaseV2Upgradeable
(and its__VRFConsumerBaseV2_init
in my contract'sinitialize
functions).It looks like
VRFConsumerBaseV2Plus
does not have an analogous initializer, and a coordinator address is actually required in the constructor.VRFConsumerBaseV2Plus
that does not require a coordinator address in its constructor?setCoordinator
within myinitialize
function?The text was updated successfully, but these errors were encountered: