When I try to add a consumer to my VRF2 subscription via the Subscription Manager, the transaction completes successfully, but the consumer doesn't get added: the list of consumers for my subscription remains empty.

Steps to reproduce:

  • Add a subscription to the Subscription Manager, and fund it with 5 LINK
  • Open the VRFv2Consumer.sol contract in Remix
  • Compile the contract
  • Deploy the contract to Rinkeby (Injected provider - Metamask) with the correct subscription ID (as taken from the Subscription Manager)
  • Copy the address of the deployed contract and add it as a consumer for the subscription in the Subscription Manager; confirm the transaction on Metamask
  • Wait for the transaction to complete, and the Subscription Manager to give positive confirmation
  • Reload the Subscription Manager
  • The contract should be listed as one of the consumers, but the list is still empty

Here one of the transactions I have used to try to add the consumer to the subscription: link

Screenshot of the Subscription Manager confirming the consumer was added. enter image description here

Screenshot of the Subscription Manager after confirmation of the consumer was added. The list of consumers is still empty. enter image description here

  • 1
    Hi Fanta, usually, this issue is because the testnet Rinkeby is not stable and the consumer cannot be registered successfully. I tried your steps but cannot reproduce this issue, can you try it again and see if the issue is still there?
    – Frank Kong
    Aug 2 at 16:12
  • @FrankKong I have just tried again, with the same subscription as before, and this time it worked correctly. Thanks.
    – Fanta
    Aug 2 at 19:10
  • yw, sometimes Rinkeby node upon which Chainlink service relies does not work well, so the service on Rinkeby stops.
    – Frank Kong
    Aug 3 at 8:27
  • Looks like its a common issue. Had been trying to add consumer for so long.
    – Tarun
    Aug 4 at 16:47
  • 1
    @Tarun This is the front-end issue because some service used by the front-end service is not stable and miss some info when requested by VRF. This should only happen in Rinkeby and will not last for a long time.
    – Frank Kong
    Aug 5 at 2:19


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.