Skip to content

[2.11.1] Implement Trace Libfunc #1154

@JulianGCalderon

Description

@JulianGCalderon

Cairo version 2.11.1 introduces a new libfunc that we should implement:

/// Function for marking the current state of execution.
/// Useful for debugging and panic tracking.
extern fn trace<const FLAG: felt252>() nopanic;

See casm lowering for more information: https://github.com/starkware-libs/cairo/blob/1a531143af0066d3d9141d63dfbfba2e293ff8f0/crates/cairo-lang-sierra-to-casm/src/invocations/trace.rs#L10

This issue is of lower priority because its a testing libfunc

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions