forked from foundry-rs/foundry
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
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.rs
implementation of cheatcode handler, magic happens herecrates/forge/tests/cli/revive_vm.rs
- add a test forload
here 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