up to date data on contract calls? I can make transactions and send BNB, but when I call contract functions I get stale data....but even more strange when someone else uses the RPC they get live up to date data
are you using own local node for forking endpoint? if you use any service provider endpoint it willl be slow like this
na I used a public RPC, but why would someone else on a different computer get correct values?
hardhat becomes too slow when you fork from recent blocks and that too connected on public endpoint.
ok! ill try my local node, thank you!
Are you pinning the block you fork from?
So I isolated it to something in my script that I was using, because I tried another script that I gave to someone else to test...and that gave me the correct values! I still am not 100% sure what went wrong in that script tho, it was pretty basic
Обсуждают сегодня