Calling raiden.transfer.node.state_transition with the following sequence of actions results in a failing assertion ("lock is already registered"):
ActionInitInitiator
- an invalid
ReceiveSecretRequest for the initiated transfer, e. g. one in which the amount is wrong
- the same
ActionInitInitiator again
This is the first issue we found by fuzz testing, so we are not certain it is an actual bug. To reproduce, run test_failing_path_2 in the wip pull request #2887.
Calling
raiden.transfer.node.state_transitionwith the following sequence of actions results in a failing assertion ("lock is already registered"):ActionInitInitiatorReceiveSecretRequestfor the initiated transfer, e. g. one in which theamountis wrongActionInitInitiatoragainThis is the first issue we found by fuzz testing, so we are not certain it is an actual bug. To reproduce, run
test_failing_path_2in the wip pull request #2887.