@@ -54,6 +54,7 @@ impl StarknetArtifactsFiles {
54
54
self
55
55
}
56
56
57
+ #[ tracing:: instrument( skip_all, level = "debug" ) ]
57
58
pub ( crate ) fn load_contracts_artifacts (
58
59
self ,
59
60
) -> Result < HashMap < String , ( StarknetContractArtifacts , Utf8PathBuf ) > > {
@@ -79,6 +80,7 @@ impl StarknetArtifactsFiles {
79
80
Ok ( base_artifacts)
80
81
}
81
82
83
+ #[ tracing:: instrument( skip_all, level = "debug" ) ]
82
84
fn compile_artifacts (
83
85
& self ,
84
86
artifacts : Vec < ( String , Utf8PathBuf ) > ,
@@ -92,6 +94,7 @@ impl StarknetArtifactsFiles {
92
94
. collect :: < Result < _ > > ( )
93
95
}
94
96
97
+ #[ tracing:: instrument( skip_all, level = "debug" ) ]
95
98
fn compile_artifact_at_path ( & self , path : & Utf8Path ) -> Result < StarknetContractArtifacts > {
96
99
let sierra = fs:: read_to_string ( path) ?;
97
100
@@ -106,6 +109,7 @@ impl StarknetArtifactsFiles {
106
109
} )
107
110
}
108
111
112
+ #[ tracing:: instrument( skip_all, level = "debug" ) ]
109
113
fn compile_to_native ( & self , sierra : & str ) -> Result < Option < AotContractExecutor > > {
110
114
Ok ( if self . compile_native {
111
115
Some ( native_api:: compile_contract_class ( & serde_json:: from_str (
@@ -117,6 +121,7 @@ impl StarknetArtifactsFiles {
117
121
}
118
122
}
119
123
124
+ #[ tracing:: instrument( skip_all, level = "debug" ) ]
120
125
fn unique_artifacts (
121
126
artifact_representations : Vec < StarknetArtifactsRepresentation > ,
122
127
current_artifacts : & HashMap < String , ( StarknetContractArtifacts , Utf8PathBuf ) > ,
0 commit comments