I have created a fork of the ethereum mainnet using Alchemy. When I try to fetch the WETH contract in the fork, it says no contract deployed at the given address (0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2). However, when I do the same in Goerli testnet, I don't face any issues. Below is the code I use to test:
Below is the definition of the mainnet fork:
Any help would be highly appreciated as I'm not sure what is causing this issue.