File tree Expand file tree Collapse file tree
examples/python/clients/advanced
tests/unit/mechanisms/tvm Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ async def main() -> None:
126126 print (f"\n Making request to: { url } \n " )
127127
128128 # Make request using async context manager
129- async with x402HttpxClient (client ) as http :
129+ async with x402HttpxClient (client , timeout = 10.0 ) as http :
130130 response = await http .get (url )
131131 await response .aread ()
132132
Original file line number Diff line number Diff line change 1919DEFAULT_TONCENTER_TIMEOUT_SECONDS = 2.0
2020DEFAULT_TONCENTER_EMULATION_TIMEOUT_SECONDS = 10.0
2121DEFAULT_TRACE_CONFIRMATION_TIMEOUT_SECONDS = 20.0
22- DEFAULT_STREAMING_CONFIRMATION_GRACE_SECONDS = 5 .0
22+ DEFAULT_STREAMING_CONFIRMATION_GRACE_SECONDS = 3 .0
2323DEFAULT_SETTLEMENT_BATCH_FLUSH_INTERVAL_SECONDS = 1.0
2424DEFAULT_SETTLEMENT_BATCH_FLUSH_SIZE = 100
2525DEFAULT_SETTLEMENT_CONFIRMATION_WORKERS = 4
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ def test_should_export_tvm_runtime_constants(self):
7979 assert MIN_FACILITATOR_TON_BALANCE == 1_040_000_000
8080 assert DEFAULT_TVM_INNER_GAS_BUFFER == 7_100_000
8181 assert DEFAULT_TVM_OUTER_GAS_BUFFER == 500_000
82- assert DEFAULT_STREAMING_CONFIRMATION_GRACE_SECONDS == 5 .0
82+ assert DEFAULT_STREAMING_CONFIRMATION_GRACE_SECONDS == 3 .0
8383 assert DEFAULT_SETTLEMENT_BATCH_MAX_SIZE == 185
8484 assert DEFAULT_TVM_EMULATION_ADDRESS .startswith ("0:" )
8585 assert DEFAULT_TVM_EMULATION_WALLET_ID == 2147483409
You can’t perform that action at this time.
0 commit comments