Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangsu committed Nov 22, 2022
1 parent c7b1314 commit 1f96d76
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyteal/ast/abi/type.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def __init__(self, spec: TypeSpec) -> None:
assert proto.mem_layout
local_types = proto.mem_layout.local_stack_types

if len(local_types) <= 128:
if len(local_types) < 128:
local_types.append(self._type_spec.storage_type())
self._stored_value = FrameVar(proto, len(local_types) - 1)
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dupn 5
byte ""
dupn 1
int 0
dupn 10
dupn 9
frame_dig -1
int 0
getbit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ int 0
byte ""
int 0
byte ""
dupn 2
dupn 1
frame_dig -1
int 0
getbit
Expand Down Expand Up @@ -896,7 +896,6 @@ byte ""
dupn 4
int 0
dupn 2
byte ""
frame_dig -1
extract 0 32
frame_bury 2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ dupn 7
byte ""
dupn 1
int 0
dupn 95
dupn 94
frame_dig -1
extract 0 4
store 0
Expand Down

0 comments on commit 1f96d76

Please sign in to comment.