Skip to content

Commit

Permalink
Companion to PyTeal PR #656 (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
tzaffi authored Feb 14, 2023
1 parent 3ee420f commit 506ab90
Show file tree
Hide file tree
Showing 4 changed files with 321 additions and 167 deletions.
2 changes: 1 addition & 1 deletion beaker/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def __init__(
if handler_config.bare_method is not None:
actions = {
oc: cast(OnCompleteAction, action)
for oc, action in handler_config.bare_method.__dict__.items()
for oc, action in handler_config.bare_method.asdict().items()
if action.action is not None
}

Expand Down
2 changes: 1 addition & 1 deletion examples/amm/amm.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

# WARNING: This code is provided for example only. Do NOT deploy to mainnet.

pragma(compiler_version="^0.22.0")
pragma(compiler_version="^0.23.0")


def commented_assert(conditions: list[tuple[Expr, str]]) -> list[Expr]:
Expand Down
Loading

0 comments on commit 506ab90

Please sign in to comment.