trufflesuite / ganache

:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
https://consensys.io/blog/consensys-announces-the-sunset-of-truffle-and-ganache-and-new-hardhat?utm_source=github&utm_medium=referral&utm_campaign=2023_Sep_truffle-sunset-2023_announcement_
MIT License
2.62k stars 678 forks source link

remove redundant requests for "earliest" block when forking #4128

Open MicaiahReid opened 1 year ago

MicaiahReid commented 1 year ago

With the introduction of #3755, we now make two requests for the earliest block from the remote when forking. One is to set up the persistent cache, and the other is to set up the earliest tag in the block manager.

This should only happen the first time you run ganache with forking. After that the persistent cache should have that request saved. But still, it's less than ideal.