You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should be tested e2e that concent works properly with blockchain- founds are transferred correctly.
One of possible scenarios is situation, where there is one requestor and two providers. There is Use Case 3- after message timeout both providers send ForceSubtaskResults to concent. In the next step they (providers) send ClientAuthorization and concent finalizes payments.
There are two scenarios to check:
requestor has enough founds to pay both providers. In this case both providers should get full amount and requestor's account should be decreased by this amount.
requestor has founds to pay only one provider. One provider should get full amount, second provider should be paid, but not fully, requestor's account should be 0.
Message exchange (after message timeout):
Provider 1 -> Concent: ForceSubtaskResults
Provider 2 -> Concent: ForceSubtaskResults
no communication from requestor
Provider 1 -> Concent: ClientAuthorization
Provider 2 -> Concent: ClientAuthorization
It should be created test with communication as above and check on blockchain, if founds are really transferred. In the next step we should ensure that at the end all deposit claims in concent are removed from database. This will be described in separate issue
The text was updated successfully, but these errors were encountered:
It should be tested e2e that concent works properly with blockchain- founds are transferred correctly.
One of possible scenarios is situation, where there is one requestor and two providers. There is Use Case 3- after
message timeout
both providers sendForceSubtaskResults
to concent. In the next step they (providers) sendClientAuthorization
and concent finalizes payments.There are two scenarios to check:
Message exchange (after message timeout):
Provider 1 -> Concent: ForceSubtaskResults
Provider 2 -> Concent: ForceSubtaskResults
no communication from requestor
Provider 1 -> Concent: ClientAuthorization
Provider 2 -> Concent: ClientAuthorization
It should be created test with communication as above and check on blockchain, if founds are really transferred. In the next step we should ensure that at the end all deposit claims in concent are removed from database. This will be described in separate issue
The text was updated successfully, but these errors were encountered: