Skip to content

Commit

Permalink
think i no longer need to disable type tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonpaulos committed Dec 22, 2023
1 parent 3700bbd commit 7e2fda0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
9 changes: 1 addition & 8 deletions tests/blackbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,19 +434,12 @@ def approval():

return approval

def compile(
self,
version: int,
*,
assemble_constants: bool = False,
assembly_type_track: bool = True,
) -> str:
def compile(self, version: int, *, assemble_constants: bool = False) -> str:
return compileTeal(
self.program(),
self.mode,
version=version,
assembleConstants=assemble_constants,
assembly_type_track=assembly_type_track,
)

def executor(self, compiler_version: int = 6) -> DryRunExecutor:
Expand Down
12 changes: 1 addition & 11 deletions tests/integration/graviton_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,12 @@ def wrap_compile_and_save(
assemble_constants,
test_name,
case_name,
*,
assembly_type_track: bool = True,
):
is_app = mode == pt.Mode.Application

teal = PyTealDryRunExecutor(subr, mode).compile(
version,
assemble_constants=assemble_constants,
assembly_type_track=assembly_type_track,
)
tealfile = f'{"app" if is_app else "lsig"}_{case_name}_v{version}.teal'

Expand Down Expand Up @@ -492,14 +489,7 @@ def blackbox_test_runner(

# 1. Compile to TEAL
teal, _, tealfile = wrap_compile_and_save(
subr,
mode,
version,
assemble_constants,
"blackbox",
case_name,
# Temporarily disabling until https://github.com/algorand/go-algorand/pull/5884 is released
assembly_type_track=False,
subr, mode, version, assemble_constants, "blackbox", case_name
)

# Fail fast in case algod is not configured:
Expand Down

0 comments on commit 7e2fda0

Please sign in to comment.