adds a test for when the API3 Mediators accept the claim
adds tests for when the API3 Mediators propose a settlement
adds a test for when the API3 Mediators reject the claim (by not responding within 72 hours)
This PR does not include the dispute process/arbitration (that will come in a future PR).
How did you action this task?
I first added a new Hardhat task for creating a claim, but it tuned out to be significantly slower than visiting /policies/${policyId}/claims/new and using the frontend to submit the claim (around 8 seconds vs around 2 seconds while running Cypress locally).
What does this change?
This PR does not include the dispute process/arbitration (that will come in a future PR).
How did you action this task?
I first added a new Hardhat task for creating a claim, but it tuned out to be significantly slower than visiting
/policies/${policyId}/claims/new
and using the frontend to submit the claim (around 8 seconds vs around 2 seconds while running Cypress locally).