{"action":"closed","issue":{"url":"https://api.github.com/repos/raiden-network/raiden/issues/2562","repository_url":"https://api.github.com/repos/raiden-network/raiden","labels_url":"https://api.github.com/repos/raiden-network/raiden/issues/2562/labels{/name}","comments_url":"https://api.github.com/repos/raiden-network/raiden/issues/2562/comments","events_url":"https://api.github.com/repos/raiden-network/raiden/issues/2562/events","html_url":"https://github.com/raiden-network/raiden/issues/2562","id":363032618,"node_id":"MDU6SXNzdWUzNjMwMzI2MTg=","number":2562,"title":"Write scenarios for Mediated Transfers (more than one-hop)","user":{"login":"CosminNechifor","id":22676160,"node_id":"MDQ6VXNlcjIyNjc2MTYw","avatar_url":"https://avatars2.githubusercontent.com/u/22676160?v=4","gravatar_id":"","url":"https://api.github.com/users/CosminNechifor","html_url":"https://github.com/CosminNechifor","followers_url":"https://api.github.com/users/CosminNechifor/followers","following_url":"https://api.github.com/users/CosminNechifor/following{/other_user}","gists_url":"https://api.github.com/users/CosminNechifor/gists{/gist_id}","starred_url":"https://api.github.com/users/CosminNechifor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CosminNechifor/subscriptions","organizations_url":"https://api.github.com/users/CosminNechifor/orgs","repos_url":"https://api.github.com/users/CosminNechifor/repos","events_url":"https://api.github.com/users/CosminNechifor/events{/privacy}","received_events_url":"https://api.github.com/users/CosminNechifor/received_events","type":"User","site_admin":false},"labels":[{"id":1064878064,"node_id":"MDU6TGFiZWwxMDY0ODc4MDY0","url":"https://api.github.com/repos/raiden-network/raiden/labels/scenario%20player","name":"scenario player","color":"b2ffe0","default":false}],"state":"closed","locked":false,"assignee":{"login":"err508","id":22775390,"node_id":"MDQ6VXNlcjIyNzc1Mzkw","avatar_url":"https://avatars3.githubusercontent.com/u/22775390?v=4","gravatar_id":"","url":"https://api.github.com/users/err508","html_url":"https://github.com/err508","followers_url":"https://api.github.com/users/err508/followers","following_url":"https://api.github.com/users/err508/following{/other_user}","gists_url":"https://api.github.com/users/err508/gists{/gist_id}","starred_url":"https://api.github.com/users/err508/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/err508/subscriptions","organizations_url":"https://api.github.com/users/err508/orgs","repos_url":"https://api.github.com/users/err508/repos","events_url":"https://api.github.com/users/err508/events{/privacy}","received_events_url":"https://api.github.com/users/err508/received_events","type":"User","site_admin":false},"assignees":[{"login":"err508","id":22775390,"node_id":"MDQ6VXNlcjIyNzc1Mzkw","avatar_url":"https://avatars3.githubusercontent.com/u/22775390?v=4","gravatar_id":"","url":"https://api.github.com/users/err508","html_url":"https://github.com/err508","followers_url":"https://api.github.com/users/err508/followers","following_url":"https://api.github.com/users/err508/following{/other_user}","gists_url":"https://api.github.com/users/err508/gists{/gist_id}","starred_url":"https://api.github.com/users/err508/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/err508/subscriptions","organizations_url":"https://api.github.com/users/err508/orgs","repos_url":"https://api.github.com/users/err508/repos","events_url":"https://api.github.com/users/err508/events{/privacy}","received_events_url":"https://api.github.com/users/err508/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/raiden-network/raiden/milestones/28","html_url":"https://github.com/raiden-network/raiden/milestone/28","labels_url":"https://api.github.com/repos/raiden-network/raiden/milestones/28/labels","id":3715044,"node_id":"MDk6TWlsZXN0b25lMzcxNTA0NA==","number":28,"title":"Red Eyes Testnet 13","description":"","creator":{"login":"LefterisJP","id":1658405,"node_id":"MDQ6VXNlcjE2NTg0MDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1658405?v=4","gravatar_id":"","url":"https://api.github.com/users/LefterisJP","html_url":"https://github.com/LefterisJP","followers_url":"https://api.github.com/users/LefterisJP/followers","following_url":"https://api.github.com/users/LefterisJP/following{/other_user}","gists_url":"https://api.github.com/users/LefterisJP/gists{/gist_id}","starred_url":"https://api.github.com/users/LefterisJP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LefterisJP/subscriptions","organizations_url":"https://api.github.com/users/LefterisJP/orgs","repos_url":"https://api.github.com/users/LefterisJP/repos","events_url":"https://api.github.com/users/LefterisJP/events{/privacy}","received_events_url":"https://api.github.com/users/LefterisJP/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":4,"state":"open","created_at":"2018-10-05T13:11:55Z","updated_at":"2018-10-08T14:40:01Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2018-09-24T07:03:46Z","updated_at":"2018-10-08T14:40:01Z","closed_at":"2018-10-08T14:40:01Z","author_association":"COLLABORATOR","body":"# Write scenarios for mediated transfers (more then one-hop).\r\n\r\n## Test cases that need to be implemented:\r\n\r\n| Test | Expected behavior |\r\n| --- | --- |\r\n| Send one mediated transfer to a node that there is a path to and enough capacity | 200 response code and the channel capacity should change |\r\n| Node sends 10 transfers |  200 response code and the channel capacity should change |\r\n| Node sends 1000 transfers |  200 response code and the channel capacity should change |\r\n| In A-B-C with 10 tokens in each channel, send payment from A to C of 2 tokens | 200 response code, C should receive 2 tokens. The channel capacity from A->B should be 8. The channel capacity from B->A should be 12. The channel capacity from B->C should be 8.  The channel capacity from C->B should be 12. |\r\n| In A-B-C, send payment of 11 from A to C | Should not work as there is no path with enough capacity.   we should have a 409 Response code with the message \"Payment couldn't be compleated (insufficient funds, no route to target or target offline).\" |\r\n| In A-D-C with 20 tokens in each channel, and A-B-C path also existing, try to send 5 tokens from A to C |  |\r\n| In same scenario as above, try to send 11 tokens from A to C | Should work by being mediated through A-D-C, since there is no other path with enough capacity |\r\n| Make payment with 2 mediators | 200 response code and the channel capacity should change |\r\n| Make payment with n mediators | 200 response code and the channel capacity should change |\r\n| In A-B-C, A makes payment to C and goes offline before C request secret reveal |  |\r\n| In A-B-C, A makes payment to C and B goes offline after mediating the tx | Should work, but will use the secret registry |\r\n| Should work, but will use the secret registry |  |\r\n| Node sends mediated transfers and receiver shuts down | 409 CONFLICT |\r\n\r\n## Tasks\r\n\r\n- [ ] Ideally think about as many random cases\r\n- [ ] Write scenarios for the test cases\r\n- [ ] Execute scenarios for the test cases\r\n- [ ] Open issues for any bug which has been found\r\n- [ ] Upload scenario files to github"}}
{"actor":{"display_login":"err508"}}