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

Missing field crashes the node #2427

Closed
CosminNechifor opened this Issue Sep 11, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@CosminNechifor
Collaborator

CosminNechifor commented Sep 11, 2018

Problem Definition

As you can see in the following stacktrace ContractReceiveChannelBatchUnlock does not have a transaction_from field, and also it does not inherit it from anywhere. which will cause the node to crash with an AttributeError.

File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/transfer/node.py", line 1088, in is_transaction_pending
    is_transaction_effect_satisfied(chain_state, transaction, state_change) or
  File "/home/cosmin/Documents/WORK/GITHUB/raiden/raiden/transfer/node.py", line 998, in is_transaction_effect_satisfied
    state_change.transaction_from == our_address and
AttributeError: 'ContractReceiveChannelBatchUnlock' object has no attribute 'transaction_from'

Full log: https://gist.github.com/CosminNechifor/06c04687b31dc4776a4cdceb21cda693

@LefterisJP

This comment has been minimized.

Collaborator

LefterisJP commented Sep 11, 2018

I will look into this Cosmin. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment