You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print(f"\nTX [{tx_id}] is currently at status - {current_status}")
returncurrent_status
These print statements make it extra difficult for output be properly logged. They should either be done with the logging package or just not at all, since this isn't a presentation layer. In particular, the \r special character to make it look self-erasing ruins my log files.
I'm confused as to why the initial call to Why doesn't the initial POST return an HTTP 202 status to indicate that it wasn't completed, only accepted? Also, SUBMIT_TIMEOUT is actually a retry loop, not a time in seconds, which is misleading. It will stop retrying after SUBMIT_TIMEOUT number of loops, which is guaranteed to be significantly longer than SUBMIT_TIMEOUT*4 since the very minimum amount of time it will take is 4 seconds from the time.sleep(4) statement.
Also this function returns str and not dict
The text was updated successfully, but these errors were encountered:
fireblocks-defi-sdk-py/fireblocks_defi_sdk_py/web3_bridge.py
Lines 91 to 110 in 70a98e3
These print statements make it extra difficult for output be properly logged. They should either be done with the logging package or just not at all, since this isn't a presentation layer. In particular, the
\r
special character to make it look self-erasing ruins my log files.I'm confused as to why the initial call to Why doesn't the initial POST return an HTTP 202 status to indicate that it wasn't completed, only accepted? Also,
SUBMIT_TIMEOUT
is actually a retry loop, not a time in seconds, which is misleading. It will stop retrying afterSUBMIT_TIMEOUT
number of loops, which is guaranteed to be significantly longer thanSUBMIT_TIMEOUT*4
since the very minimum amount of time it will take is 4 seconds from thetime.sleep(4)
statement.Also this function returns
str
and notdict
The text was updated successfully, but these errors were encountered: