Closed Arcticae closed 2 months ago
⚠ This task is a design task, resolution will only be valid when a design doc is submitted (please refer to https://github.com/foundry-rs/starknet-foundry/tree/5465c41541c44a7804d16318fab45a2f0ccec9e7/design_documents for examples) ⚠
We need a cheatcode which will capture messages to L1 (approach similar to Spy), and will allow the user to fetch and assert the messages.
Spy
Implementation will probably be very similar to Spy for Events, please take that into account when designing the interface and behavior.
Event
This will improve the parity with cairo-test
cairo-test
We should also be able to assert l1 message emited from test code
⚠ This task is a design task, resolution will only be valid when a design doc is submitted (please refer to https://github.com/foundry-rs/starknet-foundry/tree/5465c41541c44a7804d16318fab45a2f0ccec9e7/design_documents for examples) ⚠
We need a cheatcode which will capture messages to L1 (approach similar to
Spy
), and will allow the user to fetch and assert the messages.Implementation will probably be very similar to
Spy
forEvent
s, please take that into account when designing the interface and behavior.This will improve the parity with
cairo-test