@@ -7,7 +7,6 @@ use libafl::{
77 state:: { HasExecutions , HasRand } ,
88} ;
99use libafl_bolts:: tuples:: { Handle , MatchNameRef , RefIndexable } ;
10- use log:: trace;
1110use movy_replay:: {
1211 db:: { ObjectStoreInfo , ObjectStoreMintObject } ,
1312 event:: { ModuleProvider , NotifierTracer } ,
@@ -27,6 +26,7 @@ use sui_types::{
2726 execution_status:: ExecutionStatus ,
2827 storage:: { BackingStore , ObjectStore } ,
2928} ;
29+ use log:: trace;
3030
3131use crate :: {
3232 input:: MoveInput ,
@@ -139,7 +139,12 @@ impl<T, OT, RT, I, S> HasObservers for SuiFuzzExecutor<T, OT, RT, I, S> {
139139
140140impl < EM , Z , T , OT , RT , I , S , E > Executor < EM , I , S , Z > for SuiFuzzExecutor < T , OT , RT , I , S >
141141where
142- T : ObjectStore + BackingStore + ObjectSuiStoreCommit + ObjectStoreMintObject + ObjectStoreInfo ,
142+ T : ObjectStore
143+ + BackingStore
144+ + ObjectSuiStoreCommit
145+ + ObjectStoreMintObject
146+ + ObjectStoreInfo
147+ + Clone ,
143148 E : ObjectStore ,
144149 OT : ObserversTuple < I , S > ,
145150 RT : for < ' a > SuiGeneralOracle < CachedStore < & ' a T > , S > ,
@@ -212,7 +217,7 @@ where
212217 ExecutionStatus :: Failure { command, .. } => (
213218 // command index may be out of bound when meeting non-aborted error
214219 if command. is_some_and ( |c| c < input. sequence ( ) . commands . len ( ) ) {
215- command. clone ( )
220+ * command
216221 } else {
217222 None
218223 } ,
0 commit comments