forked from foundry-rs/foundry
    
        
        - 
                Notifications
    You must be signed in to change notification settings 
- Fork 6
Closed
Milestone
Description
Description
Implement vm.load cheat code for forge test in resolc mode.
function to read storage is inside pallet-revive::Pallet::get_storage().
relevant files are:
- crates/revive-strategy/src/cheatcodes/mod.rsimplementation of cheatcode handler, magic happens here
- crates/forge/tests/cli/revive_vm.rs- add a test for- loadhere to check that state for a sample contract(can be just a dummy contract with a constructor arg to set one the variables to a certain value) is initialized and can be loaded correctly. (maybe forge fuzz test ?)
Metadata
Metadata
Assignees
Labels
No labels