Closed od-hunter closed 1 month ago
@od-hunter is attempting to deploy a commit to the Screenshot Team on Vercel.
A member of the Team first needs to authorize it.
With starknet-foundry 0.19.0, you can directly query storage with the following:
use snforge_std::{load, map_entry_address};
let escrowed = load(bridge_address, map_entry_address(selector!("escrow"), array![erc721b_address.into(), 0, 0].span()), 1);
For details see https://book.cairo-lang.org/ch14-01-01-storage-mappings.html and https://docs.starknet.io/architecture-and-concepts/cryptography/hash-functions/#array_hashing
@ptisserand Just did a fix , tests are passing on my end.
@ptisserand , thanks for the opportunity ser🫡
Resolves #226