Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

CallTrace

Tree-like structure which contains all of the starknet calls and sub-calls along with the results

Fully qualified path: snforge_std::trace::CallTrace

[derive(Drop, Serde, PartialEq, Clone, Debug)]
pub struct CallTrace {
    pub entry_point: CallEntryPoint,
    pub nested_calls: Array<CallTrace>,
    pub result: CallResult,
}

Members

entry_point

Fully qualified path: snforge_std::trace::CallTrace::entry_point

pub entry_point: CallEntryPoint

nested_calls

All the calls that happened in the scope of entry_point

Fully qualified path: snforge_std::trace::CallTrace::nested_calls

pub nested_calls: Array<CallTrace>

result

Fully qualified path: snforge_std::trace::CallTrace::result

pub result: CallResult