Skip to content

Commit

Permalink
Comment out the touching temporarily to evaluate the gas costs from r…
Browse files Browse the repository at this point in the history
…efactoring
  • Loading branch information
gkaracha committed Aug 17, 2021
1 parent 60e7536 commit 25d5979
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/checker.ml
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,7 @@ let[@inline] entrypoint_mark_for_liquidation (state, burrow_id: checker * burrow
| None -> (Ligo.failwith error_GetEntrypointOptFailureBurrowSendTezTo : LigoOp.operation) in
let ops = [op] in

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

let state =
{ burrows = state_burrows;
Expand Down

0 comments on commit 25d5979

Please sign in to comment.