load
Loads size
felts from target
contract's storage into an Array
, starting at
storage_address
.
target
- address of the contract, which storage you want to modifystorage_address
- offset of the data in the contract's storagesize
- how many felts will be loaded into the resultArray
Fully qualified path: snforge_std::cheatcodes::storage::load
pub fn load(target: ContractAddress, storage_address: felt252, size: felt252) -> Array<felt252>