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

Build trace for profiler only when needed

piotmag769 opened this issue · comments

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

snforge

Description

Currently we always build it which leads to weird mechanism like this #2065 (comment). It should be only built when using --save-trace-data or --build-profile flag.
Possible implementation idea would be to use type families.