Details
-
Bug
-
Status: Complete
-
Highest
-
Resolution: Done
-
None
-
None
-
None
-
None
-
EV 18.09 Stability-RocksDB, 18.08 Stability-Monitoring
Description
Mike used the following command line for the read_ledger tool with the latest stable release Indy Node 1.3.57
The issue is the default for read_ledger only shows the first 100 transactions. Now we are unable to read the ledger past the first 100 transactions which is a problem.
Upgrading the live pool will not occur until this is fixed
sudo read_ledger --type domain --frm 400 --to 500
Traceback (most recent call last):
File "/usr/local/bin/read_ledger", line 163, in <module>
print_txns(ledger, args)
File "/usr/local/bin/read_ledger", line 120, in print_txns
print_all(ledger, serializer)
File "/usr/local/bin/read_ledger", line 141, in print_all
for txn in ledger.getAllTxn(frm=frm, to=to):
File "/usr/local/lib/python3.5/dist-packages/ledger/ledger.py", line 233, in getAllTxn
if to is None or int(seq_no) <= to:
TypeError: unorderable types: int() <= str()