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
SLOAD/SSTOREs are hot after their first load in the test. I would think that hitting a contract would be a signal to invalidate the storage cache (make all storage slots cold) since that would indicate a separate transaction. However, what happens is SLOAD/SSTOREs are kept hot over the course of a test, presumably because it is a single function. Is there a way to work around this, or is this a bug?
The text was updated successfully, but these errors were encountered:
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (8adf428 2023-05-08T00:12:01.390438000Z)
What command(s) is the bug in?
No response
Operating System
macOS (Apple Silicon)
Describe the bug
SLOAD/SSTOREs are hot after their first load in the test. I would think that hitting a contract would be a signal to invalidate the storage cache (make all storage slots cold) since that would indicate a separate transaction. However, what happens is SLOAD/SSTOREs are kept hot over the course of a test, presumably because it is a single function. Is there a way to work around this, or is this a bug?
The text was updated successfully, but these errors were encountered: