foundry-rs / starknet-foundry

Blazing fast toolkit for developing Starknet contracts.
https://foundry-rs.github.io/starknet-foundry/
MIT License
323 stars 171 forks source link

Break down `spoof` into separate cheatcodes #1885

Closed Arcticae closed 6 months ago

Arcticae commented 7 months ago

Which components does the task require to be changed? (think hard pls)

snforge

Description

So we don't leak the starknet syscall implementation and mocking particular info is more discoverable We should consider a mechanism so that it's easier to test this, because the code will be fairly repeatable It should be also done like this, so it's more consistent with other cheatcodes

MaksymilianDemitraszek commented 6 months ago

Closing, this does not make sense as an issue from the implementation perspective