diff --git a/.test-env b/.test-env index df783a4f..c8732a95 100644 --- a/.test-env +++ b/.test-env @@ -1,6 +1,6 @@ # Configs for testing repo download: SDK_TESTING_URL="https://github.com/algorand/algorand-sdk-testing" -SDK_TESTING_BRANCH="master" +SDK_TESTING_BRANCH="simulate-request-log-option" SDK_TESTING_HARNESS="test-harness" INSTALL_ONLY=0 diff --git a/algosdk/atomic_transaction_composer.py b/algosdk/atomic_transaction_composer.py index 31c281bf..0545437e 100644 --- a/algosdk/atomic_transaction_composer.py +++ b/algosdk/atomic_transaction_composer.py @@ -305,7 +305,7 @@ def __init__( simulate_response: Dict[str, Any], tx_ids: List[str], results: List[SimulateABIResult], - eval_overrides: Optional[SimulateEvalOverrides], + eval_overrides: Optional[SimulateEvalOverrides] = None, ) -> None: self.version = version self.would_succeed = would_succeed diff --git a/tests/integration.tags b/tests/integration.tags index 479c9b62..d2c62ff4 100644 --- a/tests/integration.tags +++ b/tests/integration.tags @@ -15,3 +15,4 @@ @send @send.keyregtxn @simulate +@simulate.lift_log_limits diff --git a/tests/steps/other_v2_steps.py b/tests/steps/other_v2_steps.py index 63d42b09..06f1c3c8 100644 --- a/tests/steps/other_v2_steps.py +++ b/tests/steps/other_v2_steps.py @@ -31,6 +31,7 @@ ApplicationLocalState, DryrunRequest, DryrunSource, + SimulateRequest, ) from tests.steps.steps import algod_port, indexer_port from tests.steps.steps import token as daemon_token @@ -1474,6 +1475,11 @@ def simulate_atc_failure(context, group, path, message): assert message in resp.failure_message +@when("I make a new simulate request") +def make_simulate_request(context): + context.simulate_request = SimulateRequest(txn_groups=[]) + + @when("I prepare the transaction without signatures for simulation") def step_impl(context): context.stx = transaction.SignedTransaction(context.txn, None)