I am trying to run below code in mocha. I am using rinkeby network. As you can see in the etherscan address 0xe950a05cc194a83a11533bf18218355b21e315ba is a contract but when I call getRequestsCount method i am getting the error as address is not a contact. Could someone please help me.
const campaign = new web3.eth.Contract(
const summary = campaign.methods.getRequestsCount().call();
The error I am getting is as follows:
Error: Attempting to run transaction which calls a contract function, but recipient address 0xe950a05cc194a83a11533bf18218355b21e315ba is not a contract address