Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetching transactions error #253

Open
sparrowDom opened this issue Nov 30, 2022 · 0 comments
Open

Fetching transactions error #253

sparrowDom opened this issue Nov 30, 2022 · 0 comments
Labels
bug Something isn't working P2 Small number of users are affected, major cosmetic issue

Comments

@sparrowDom
Copy link
Member

in GAE logs:

File "/layers/google.python.pip/pip/lib/python3.9/site-packages/django/core/handlers/exception.py", line 55, in inner
    response = get_response(request)
  File "/layers/google.python.pip/pip/lib/python3.9/site-packages/django/core/handlers/base.py", line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/layers/google.python.pip/pip/lib/python3.9/site-packages/sentry_sdk/integrations/django/views.py", line 67, in sentry_wrapped_callback
    return callback(request, *args, **kwargs)
  File "/srv/core/views.py", line 230, in reload
    reload_all(latest - 2)
  File "/srv/core/blockchain/harvest/__init__.py", line 44, in reload_all
    refresh_transactions(block_number)
  File "/srv/core/blockchain/harvest/__init__.py", line 20, in refresh_transactions
    ensure_all_transactions(block_number)
  File "/srv/core/blockchain/harvest/transactions.py", line 93, in ensure_all_transactions
    if tx.get("hash") is None:
AttributeError: 'str' object has no attribute 'get'

Seems that this tx can also be a string

@sparrowDom sparrowDom added the bug Something isn't working label Nov 30, 2022
@micahalcorn micahalcorn added the P2 Small number of users are affected, major cosmetic issue label Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P2 Small number of users are affected, major cosmetic issue
Projects
Status: To-do
Development

No branches or pull requests

2 participants