|
6 | 6 |
|
7 | 7 | from graviton import blackbox |
8 | 8 | from graviton.blackbox import DryRunInspector, DryRunExecutor |
| 9 | +from graviton.models import PyTypes |
9 | 10 |
|
10 | 11 | from pyteal.ast.subroutine import OutputKwArgInfo |
11 | 12 |
|
@@ -404,23 +405,23 @@ def compile(self, version: int, assemble_constants: bool = False) -> str: |
404 | 405 |
|
405 | 406 | def dryrun_on_sequence( |
406 | 407 | self, |
407 | | - inputs: list[Sequence[str | int]], |
| 408 | + inputs: list[Sequence[PyTypes]], |
408 | 409 | compiler_version=6, |
409 | 410 | ) -> list[DryRunInspector]: |
410 | 411 | return _MatchMode( |
411 | 412 | app_case=lambda: DryRunExecutor.dryrun_app_on_sequence( |
412 | | - algod_with_assertion(), |
413 | | - self.compile(compiler_version), |
414 | | - inputs, |
415 | | - self.abi_argument_types(), |
416 | | - self.abi_return_type(), |
| 413 | + algod=algod_with_assertion(), |
| 414 | + teal=self.compile(compiler_version), |
| 415 | + inputs=inputs, |
| 416 | + abi_argument_types=self.abi_argument_types(), |
| 417 | + abi_return_type=self.abi_return_type(), |
417 | 418 | ), |
418 | 419 | signature_case=lambda: DryRunExecutor.dryrun_logicsig_on_sequence( |
419 | | - algod_with_assertion(), |
420 | | - self.compile(compiler_version), |
421 | | - inputs, |
422 | | - self.abi_argument_types(), |
423 | | - self.abi_return_type(), |
| 420 | + algod=algod_with_assertion(), |
| 421 | + teal=self.compile(compiler_version), |
| 422 | + inputs=inputs, |
| 423 | + abi_argument_types=self.abi_argument_types(), |
| 424 | + abi_return_type=self.abi_return_type(), |
424 | 425 | ), |
425 | 426 | )(self.mode) |
426 | 427 |
|
|
0 commit comments