You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.
The persistent cache's
get
function doesn't currently allow passing the "earliest" tag to cache that request:ganache/src/chains/ethereum/ethereum/src/forking/persistent-cache/persistent-cache.ts
Lines 323 to 351 in 2ec04fa
This is kind of tricky to work around because of the way we lexicographically encode the requests to store/retrieve them efficiently in the database.
Because the persistent cache always needs to fetch the earliest block (to validate ancestry of the fork), we should cache this block in memory.
When the block manager is started, we are currently disabling the cache, so we should fix this once this issue is resolved.
https://github.com/trufflesuite/ganache/pull/3755/files#r989390078
The text was updated successfully, but these errors were encountered: