11use alloy:: primitives:: Address ;
22use anyhow:: Result ;
33use blacklight_contract_clients:: {
4- htx:: { Htx , JsonHtx , NillionHtx , PhalaHtx } ,
54 BlacklightClient , ContractConfig ,
5+ htx:: { Htx , JsonHtx , NillionHtx , PhalaHtx } ,
66} ;
77use chain_args:: { ChainArgs , ChainConfig } ;
88use clap:: Args ;
@@ -11,7 +11,7 @@ use state_file::StateFile;
1111use std:: sync:: Arc ;
1212use tracing:: { info, warn} ;
1313
14- use crate :: common:: { retry_submit , Simulator , DEFAULT_SLOT_MS } ;
14+ use crate :: common:: { DEFAULT_SLOT_MS , Simulator , retry_submit } ;
1515
1616const STATE_FILE_SIMULATOR : & str = "nilcc_simulator.env" ;
1717
@@ -129,7 +129,8 @@ impl NilccSimulator {
129129 let mut htx = htxs[ idx] . clone ( ) ;
130130 match & mut htx {
131131 Htx :: Nillion ( NillionHtx :: V1 ( htx) ) => {
132- htx. workload_id . current = format ! ( "{}-{:x}" , htx. workload_id. current, nonce) ;
132+ htx. workload_id . current =
133+ format ! ( "{}-{:x}" , htx. workload_id. current, nonce) ;
133134 }
134135 Htx :: Phala ( PhalaHtx :: V1 ( htx) ) => {
135136 htx. app_compose = format ! ( "{}-{:x}" , htx. app_compose, nonce) ;
0 commit comments