Skip to content

Conversation

@dianacarvalho1
Copy link
Collaborator

@dianacarvalho1 dianacarvalho1 commented Aug 1, 2025

DISCLAIMER: This isn't working.. I don't understand why but the transient storage is always an empty HashMap.

I've tried to do a very simple test with a contract that just modifies its' own transient storage

 contract TransientTest {
     function set() public {
         uint256 value = 50;
         assembly {
             tstore(0x01, value)
         }
     }
 }

but even so, the transient storage is always empty 🤔

as far as I understand the journaled state is only cleared at the .finalize() stage, so accessing the transient storage where I'm doing should be good enough.
Could it be that it was never set to anything in the first place? 🤷🏼‍♀️
I've tried to access the journaled_state.transient_storage before the simulation with a test that modifies transient storage and the values are correct.. could it be that setting transient storage within the revm simulation is never done??

DISCLAIMER: This isn't working.. I don't understand why but the transient storage is always an empty HashMap.

--- don't change below this line ---
ENG-4700 Took 1 hour 58 minutes
@github-project-automation github-project-automation bot moved this to Todo in Tycho Aug 1, 2025
Base automatically changed from release/hooks to main August 28, 2025 03:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants