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
Settled channels are shown in list channels API #6444
Comments
Thank you @ischepin for that bug, that is indeed a nasty one. So your node
and everything worked so far - the transactions were successful on the blockchain. Then the Raiden Client was restarted (or started) and fetched all the blockchain events. Because Ropsten is not used for Raiden there are not so many events. So the Raiden Clients decode and dispatch all events in batches and not interleaved. However, the decoding logic for the channel close depends on the dispatch of the channel open. We will now decode and dispatch per item instead of batch-wise. |
Issue checklist
To help us more easily debug your issue please check the boxes for which requirements for safe usage or Raiden were followed:
Problem Definition
Settled channels are shown as opened in list channels API (GET api/v1/channels).
Steps to reproduce:
Whats even worse, if I try to close this channel again using webui or API the raiden node will crash (
raiden.exceptions.RaidenUnrecoverableError: The channel was not open at the provided block (0xcf07c12f24201113c376f22702fc60e382336bbc10a66caa5679e4286d54b1c5). This call should never have been attempted.
raiden-debug_2020-08-05T11:30:36.186629.log
System Description
Network: ropsten
ETH node: infura.io
Raiden version:
raidennetwork/raiden:latest
docker image (raidennetwork/raiden@sha256:6ffb7356519464d5e1e7a0dedecbe136c9ff3f2022b6c13b1ba84a200049ee9c
)The text was updated successfully, but these errors were encountered: