Open marsella opened 3 years ago
We need to test scenarios with properly malicious customer, e.g. one who does not use our lovely, misuse-resistant API.
Consider the following scenarios:
In both these cases, the merchant must reject the payment with a ReusedRevocationLock error.
ReusedRevocationLock
To implement this (and other malicious-party tests), we need to implement a party that adheres to the protocol flow but behaves incorrectly.
Just a quick note that we should make sure to test all close methods.
We need to test scenarios with properly malicious customer, e.g. one who does not use our lovely, misuse-resistant API.
Consider the following scenarios:
In both these cases, the merchant must reject the payment with a
ReusedRevocationLock
error.To implement this (and other malicious-party tests), we need to implement a party that adheres to the protocol flow but behaves incorrectly.