Getting unpredictable gas error on Autotask task.
Error:
cannot estimate gas; transaction may fail or may require manual gas limit (error={"reason":"cannot estimate gas; transaction may fail or may require manual gas limit","code":"UNPREDICTABLE_GAS_LIMIT","error":
Code to reproduce
const provider = new DefenderRelayProvider(event);
const signer = new DefenderRelaySigner(event, provider, { speed: 'fast' });
// Use provider and signer for querying or sending txs from ethers, for example...
const contract = new ethers.Contract(ADDRESS, ABI, signer);
await contract.genesisLockRound();
}```
<!-- The community will be able to better help if you provide a minimal example that reproduces your issue. Place code inside backticks. -->
#### 💻 Environment
<!-- Tell us what you're using including versions: Truffle, Hardhat, Remix, etc. -->
Web Environment