boltlabs-inc / tezos-contract

Multi-sig Smart Contract for zkChannels protocol
MIT License
3 stars 1 forks source link

add test for merchDispute #27

Closed DariusParvin closed 3 years ago

DariusParvin commented 3 years ago

Update pytezos and sandbox for the latests version of the contract introduced in #26.

We'll also need to update merch_dispute test in SmartPy when a sample data including rev_secret is available.

DariusParvin commented 3 years ago

pytezos and sandbox (tezos-client) tests have been updated apart from the merchDispute tests. Adding the test for merchDispute requires a sample output from zeekoe that includes a valid revocation secret.

DariusParvin commented 3 years ago

Currently we have this file for the establish parameters and this file for the cust close state and signature. What we need is another set of files like this but one where the revocation_secret is for the closing state is known.

If I recall correctly, retrieving this information requires deleting/restoring the customer's db at different steps. Would one of you be able to help with this, @marsella, @kwf or maybe @yaymukund?

DariusParvin commented 3 years ago

this issue is superseded by #48