I tested with earlier, sqlite, code. Fails there too. Fails on any account except Faucet account.
Console log:
[2019-07-26 15:31:14,197] ERROR in app: Exception on /account/3b30061de13b8bab1467538bb0edbcee8d7a55ec3f122fd94fb9be5030bf7ddd [GET]
Traceback (most recent call last):
File ".../LibraBrowser/rpc_client.py", line 85, in get_acct_info
len(state.account_state_with_proof.blob.blob) - struct.calcsize('32sQQQQ'))
struct.error: unpack_from requires a buffer of at least 64 bytes
The error is due to missing .blob, which indicates that the account does not exist:
https://github.com/libra/libra/blob/master/types/src/account_state_blob/mod.rs#L97
As demonstrated in the attached Jupyter Notebook: a presumed valid account number from the most recent block update transaction is apparently invalid, because the account_state result does not include blob.
Account_history_fail.zip
Could the error be due to this libra update?
diem/diem@009bc2d
I tested with earlier, sqlite, code. Fails there too. Fails on any account except Faucet account.
Console log:
[2019-07-26 15:31:14,197] ERROR in app: Exception on /account/3b30061de13b8bab1467538bb0edbcee8d7a55ec3f122fd94fb9be5030bf7ddd [GET]
Traceback (most recent call last):
File ".../LibraBrowser/rpc_client.py", line 85, in get_acct_info
len(state.account_state_with_proof.blob.blob) - struct.calcsize('32sQQQQ'))
struct.error: unpack_from requires a buffer of at least 64 bytes
The error is due to missing .blob, which indicates that the account does not exist:
https://github.com/libra/libra/blob/master/types/src/account_state_blob/mod.rs#L97
As demonstrated in the attached Jupyter Notebook: a presumed valid account number from the most recent block update transaction is apparently invalid, because the account_state result does not include blob.
Account_history_fail.zip
Could the error be due to this libra update?
diem/diem@009bc2d