Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo fixing #434

Merged
merged 1 commit into from
Jul 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyteal/ast/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -382,15 +382,15 @@ def clear_state_program(self) -> MaybeValue:

def global_num_uint(self) -> MaybeValue:
"""Get the number of uint64 values allowed in Global State for the application."""
return AppParam.globalNumUnit(self._app)
return AppParam.globalNumUint(self._app)

def global_num_byte_slice(self) -> MaybeValue:
"""Get the number of byte array values allowed in Global State for the application."""
return AppParam.globalNumByteSlice(self._app)

def local_num_uint(self) -> MaybeValue:
"""Get the number of uint64 values allowed in Local State for the application."""
return AppParam.localNumUnit(self._app)
return AppParam.localNumUint(self._app)

def local_num_byte_slice(self) -> MaybeValue:
"""Get the number of byte array values allowed in Local State for the application."""
Expand Down
4 changes: 2 additions & 2 deletions pyteal/ast/app_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -690,15 +690,15 @@ def test_AppParamObject():
obj.clear_state_program(), pt.AppParam.clearStateProgram(app), teal5Options
)
assert_MaybeValue_equality(
obj.global_num_uint(), pt.AppParam.globalNumUnit(app), teal5Options
obj.global_num_uint(), pt.AppParam.globalNumUint(app), teal5Options
)
assert_MaybeValue_equality(
obj.global_num_byte_slice(),
pt.AppParam.globalNumByteSlice(app),
teal5Options,
)
assert_MaybeValue_equality(
obj.local_num_uint(), pt.AppParam.localNumUnit(app), teal5Options
obj.local_num_uint(), pt.AppParam.localNumUint(app), teal5Options
)
assert_MaybeValue_equality(
obj.local_num_byte_slice(), pt.AppParam.localNumByteSlice(app), teal5Options
Expand Down