Skip to content

Commit 25d5979

Browse files
committed
Comment out the touching temporarily to evaluate the gas costs from refactoring
1 parent 60e7536 commit 25d5979

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/checker.ml

+2
Original file line numberDiff line numberDiff line change
@@ -510,6 +510,7 @@ let[@inline] entrypoint_mark_for_liquidation (state, burrow_id: checker * burrow
510510
| None -> (Ligo.failwith error_GetEntrypointOptFailureBurrowSendTezTo : LigoOp.operation) in
511511
let ops = [op] in
512512

513+
(*
513514
(* Touch the oldest liquidation slice (if it exists). This should help the
514515
* system keep the number of liquidation slices close to linear in many
515516
* occasions. *)
@@ -522,6 +523,7 @@ let[@inline] entrypoint_mark_for_liquidation (state, burrow_id: checker * burrow
522523
touch_liquidation_slice ops state_liquidation_auctions state_burrows state_parameters state_fa2_state leaf in
523524
ops, state_liquidation_auctions, state_burrows, state_parameters, state_fa2_state
524525
in
526+
*)
525527

526528
let state =
527529
{ burrows = state_burrows;

0 commit comments

Comments
 (0)