Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmcculloch committed Dec 20, 2024
1 parent 431729d commit 7510510
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fuzzing/fuzz/fuzz_targets/fuzz_target_1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fuzz_target!(|input: Input| {
});

// Turn off the CPU/memory budget for testing.
env.budget().reset_unlimited();
env.cost_estimate().detailed_metering().reset_unlimited();

let depositor_address = Address::generate(&env);
let claimant_address = Address::generate(&env);
Expand Down
2 changes: 1 addition & 1 deletion fuzzing/fuzz/fuzz_targets/fuzz_target_2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ fuzz_target!(|input: Input| {
snapshot.ledger.sequence_number += 1;
snapshot.ledger.timestamp = snapshot.ledger.timestamp.saturating_add(step.advance_time);
let env = Env::from_snapshot(snapshot);
env.budget().reset_unlimited();
env.cost_estimate().detailed_metering().reset_unlimited();
env
};

Expand Down

0 comments on commit 7510510

Please sign in to comment.