File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 37
37
@pytest .fixture (scope = "session" )
38
38
def algorand () -> AlgorandClient :
39
39
client = AlgorandClient .default_localnet ()
40
- client .set_suggested_params_timeout (0 )
40
+ client .set_suggested_params_cache_timeout (0 )
41
41
return client
42
42
43
43
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ def round_warp(to_round: Optional[int] = None) -> None:
163
163
to_round (Optional): Round to advance to
164
164
"""
165
165
algorand_client = AlgorandClient .default_localnet ()
166
- algorand_client .set_suggested_params_timeout (0 )
166
+ algorand_client .set_suggested_params_cache_timeout (0 )
167
167
dispenser = algorand_client .account .localnet_dispenser ()
168
168
if to_round is not None :
169
169
last_round = get_last_round (algorand_client .client .algod )
@@ -190,7 +190,7 @@ def time_warp(to_timestamp: int) -> None:
190
190
to_timestamp: Timestamp to advance to
191
191
"""
192
192
algorand_client = AlgorandClient .default_localnet ()
193
- algorand_client .set_suggested_params_timeout (0 )
193
+ algorand_client .set_suggested_params_cache_timeout (0 )
194
194
algorand_client .client .algod .set_timestamp_offset (
195
195
to_timestamp - get_latest_timestamp (algorand_client .client .algod )
196
196
)
You can’t perform that action at this time.
0 commit comments