Skip to content

Commit

Permalink
allow for lift_log_limits in simulation request
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangsu committed Apr 24, 2023
1 parent 4e13491 commit 7f792ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions algosdk/v2client/models/simulate_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def dictify(self) -> Dict[str, Any]:

class SimulateRequest(object):
txn_groups: List[SimulateRequestTransactionGroup]
lift_lot_limits: bool
lift_log_limits: bool

def __init__(
self,
Expand All @@ -27,12 +27,12 @@ def __init__(
lift_log_limits: bool = False,
) -> None:
self.txn_groups = txn_groups
self.lift_lot_limits = lift_log_limits
self.lift_log_limits = lift_log_limits

def dictify(self) -> Dict[str, Any]:
return {
"txn-groups": [
txn_group.dictify() for txn_group in self.txn_groups
],
"lift-log-limits": self.lift_lot_limits,
"lift-log-limits": self.lift_log_limits,
}

0 comments on commit 7f792ef

Please sign in to comment.