File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
crates/evm/evm/src/executors/fuzz Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -238,7 +238,9 @@ impl FuzzedExecutor {
238238 if self . config . max_test_rejects > 0
239239 && test_data. rejects >= self . config . max_test_rejects
240240 {
241- test_data. failure = Some ( err) ;
241+ test_data. failure = Some ( TestCaseError :: reject (
242+ FuzzError :: TooManyRejects ( self . config . max_test_rejects ) ,
243+ ) ) ;
242244 break ' stop;
243245 }
244246 }
@@ -327,9 +329,7 @@ impl FuzzedExecutor {
327329
328330 // Handle `vm.assume`.
329331 if call. result . as_ref ( ) == MAGIC_ASSUME {
330- return Err ( TestCaseError :: reject ( FuzzError :: TooManyRejects (
331- self . config . max_test_rejects ,
332- ) ) ) ;
332+ return Err ( TestCaseError :: reject ( FuzzError :: AssumeReject ) ) ;
333333 }
334334
335335 let ( breakpoints, deprecated_cheatcodes) =
You can’t perform that action at this time.
0 commit comments