@@ -62,7 +62,7 @@ use tokio::runtime::Handle;
6262use tracing:: trace;
6363
6464#[ cfg( feature = "metrics" ) ]
65- use crate :: proof_task_metrics:: ProofTaskMetrics ;
65+ use crate :: proof_task_metrics:: ProofTaskTrieMetrics ;
6666
6767type StorageProofResult = Result < DecodedStorageMultiProof , ParallelStateRootError > ;
6868type TrieNodeProviderResult = Result < Option < RevealedNode > , SparseTrieError > ;
@@ -117,7 +117,7 @@ fn storage_worker_loop<Tx>(
117117 proof_tx : ProofTaskTx < Tx > ,
118118 work_rx : CrossbeamReceiver < StorageWorkerJob > ,
119119 worker_id : usize ,
120- #[ cfg( feature = "metrics" ) ] metrics : ProofTaskMetrics ,
120+ #[ cfg( feature = "metrics" ) ] metrics : ProofTaskTrieMetrics ,
121121) where
122122 Tx : DbTx ,
123123{
@@ -264,7 +264,7 @@ fn account_worker_loop<Tx>(
264264 work_rx : CrossbeamReceiver < AccountWorkerJob > ,
265265 storage_work_tx : CrossbeamSender < StorageWorkerJob > ,
266266 worker_id : usize ,
267- #[ cfg( feature = "metrics" ) ] metrics : ProofTaskMetrics ,
267+ #[ cfg( feature = "metrics" ) ] metrics : ProofTaskTrieMetrics ,
268268) where
269269 Tx : DbTx ,
270270{
@@ -890,7 +890,7 @@ impl ProofTaskManagerHandle {
890890
891891 executor. spawn_blocking ( move || {
892892 #[ cfg( feature = "metrics" ) ]
893- let metrics = ProofTaskMetrics :: default ( ) ;
893+ let metrics = ProofTaskTrieMetrics :: default ( ) ;
894894
895895 storage_worker_loop (
896896 proof_task_tx,
@@ -918,7 +918,7 @@ impl ProofTaskManagerHandle {
918918
919919 executor. spawn_blocking ( move || {
920920 #[ cfg( feature = "metrics" ) ]
921- let metrics = ProofTaskMetrics :: default ( ) ;
921+ let metrics = ProofTaskTrieMetrics :: default ( ) ;
922922
923923 account_worker_loop (
924924 proof_task_tx,
0 commit comments