foundry-rs / starknet-foundry

Blazing fast toolkit for developing Starknet contracts.

Home Page:https://foundry-rs.github.io/starknet-foundry/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a test for `get_call_trace` in cairo where `CallResult::Failure(CallFailure::Error(_))` is returned as call result

piotmag769 opened this issue · comments

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

snforge

Description

If a test failed in backend (unrecoverably) e.g. bcs of internet connection then

Failure: CallFailure,

is used in result of get_call_trace. We don't have a test for that in

@piotmag769 please describe this so it's more comprehensible