{"action":"closed","issue":{"url":"https://api.github.com/repos/EOSIO/eos/issues/4166","repository_url":"https://api.github.com/repos/EOSIO/eos","labels_url":"https://api.github.com/repos/EOSIO/eos/issues/4166/labels{/name}","comments_url":"https://api.github.com/repos/EOSIO/eos/issues/4166/comments","events_url":"https://api.github.com/repos/EOSIO/eos/issues/4166/events","html_url":"https://github.com/EOSIO/eos/issues/4166","id":333007674,"node_id":"MDU6SXNzdWUzMzMwMDc2NzQ=","number":4166,"title":"\"dice\" contract \"withdraw\" action problem","user":{"login":"kolkhi","id":1986527,"node_id":"MDQ6VXNlcjE5ODY1Mjc=","avatar_url":"https://avatars2.githubusercontent.com/u/1986527?v=4","gravatar_id":"","url":"https://api.github.com/users/kolkhi","html_url":"https://github.com/kolkhi","followers_url":"https://api.github.com/users/kolkhi/followers","following_url":"https://api.github.com/users/kolkhi/following{/other_user}","gists_url":"https://api.github.com/users/kolkhi/gists{/gist_id}","starred_url":"https://api.github.com/users/kolkhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kolkhi/subscriptions","organizations_url":"https://api.github.com/users/kolkhi/orgs","repos_url":"https://api.github.com/users/kolkhi/repos","events_url":"https://api.github.com/users/kolkhi/events{/privacy}","received_events_url":"https://api.github.com/users/kolkhi/received_events","type":"User","site_admin":false},"labels":[{"id":936623288,"node_id":"MDU6TGFiZWw5MzY2MjMyODg=","url":"https://api.github.com/repos/EOSIO/eos/labels/Support","name":"Support","color":"7d7ad6","default":false}],"state":"closed","locked":false,"assignee":{"login":"sergmetelin","id":2141500,"node_id":"MDQ6VXNlcjIxNDE1MDA=","avatar_url":"https://avatars1.githubusercontent.com/u/2141500?v=4","gravatar_id":"","url":"https://api.github.com/users/sergmetelin","html_url":"https://github.com/sergmetelin","followers_url":"https://api.github.com/users/sergmetelin/followers","following_url":"https://api.github.com/users/sergmetelin/following{/other_user}","gists_url":"https://api.github.com/users/sergmetelin/gists{/gist_id}","starred_url":"https://api.github.com/users/sergmetelin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergmetelin/subscriptions","organizations_url":"https://api.github.com/users/sergmetelin/orgs","repos_url":"https://api.github.com/users/sergmetelin/repos","events_url":"https://api.github.com/users/sergmetelin/events{/privacy}","received_events_url":"https://api.github.com/users/sergmetelin/received_events","type":"User","site_admin":false},"assignees":[{"login":"sergmetelin","id":2141500,"node_id":"MDQ6VXNlcjIxNDE1MDA=","avatar_url":"https://avatars1.githubusercontent.com/u/2141500?v=4","gravatar_id":"","url":"https://api.github.com/users/sergmetelin","html_url":"https://github.com/sergmetelin","followers_url":"https://api.github.com/users/sergmetelin/followers","following_url":"https://api.github.com/users/sergmetelin/following{/other_user}","gists_url":"https://api.github.com/users/sergmetelin/gists{/gist_id}","starred_url":"https://api.github.com/users/sergmetelin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergmetelin/subscriptions","organizations_url":"https://api.github.com/users/sergmetelin/orgs","repos_url":"https://api.github.com/users/sergmetelin/repos","events_url":"https://api.github.com/users/sergmetelin/events{/privacy}","received_events_url":"https://api.github.com/users/sergmetelin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":6,"created_at":"2018-06-16T18:56:57Z","updated_at":"2018-07-20T07:53:03Z","closed_at":"2018-07-20T07:53:03Z","author_association":"NONE","body":"I have issues with using \"dice\" contract on my local tesnet. I've setup up all necessary contracts and could deposit assets to the \"dice\" contract, but when I try to withdraw funds I get the following error:\r\n\r\n```\r\nError 3090003: provided keys, permissions, and delays do not satisfy declared authorizations\r\nEnsure that you have the related private keys inside your wallet and your wallet is unlocked.\r\n```\r\n\r\nAnd here are messages from nodeos:\r\n\r\n```\r\n2757860ms thread-0   http_plugin.cpp:405           handle_exception     ] FC Exception encountered while processing chain.push_transaction\r\n2757860ms thread-0   http_plugin.cpp:406           handle_exception     ] Exception Details: 3090003 unsatisfied_authorization: provided keys, permissions, and delays do not satisfy declared authorizations\r\ntransaction declares authority '{\"actor\":\"dice\",\"permission\":\"active\"}', but does not have signatures for it under a provided delay of 0 ms, provided permissions [{\"actor\":\"dice\",\"permission\":\"eosio.code\"}], and provided keys []\r\n    {\"auth\":{\"actor\":\"dice\",\"permission\":\"active\"},\"provided_delay\":0,\"provided_permissions\":[{\"actor\":\"dice\",\"permission\":\"eosio.code\"}],\"provided_keys\":[],\"delay_max_limit_ms\":3888000000}\r\n    thread-0  authorization_manager.cpp:409 check_authorization\r\n```\r\n\r\n    {\"_pending_console_output.str()\":\"\"}\r\n    thread-0  apply_context.cpp:62 exec_one\r\n\r\n\r\n[setup_dice.txt](https://github.com/EOSIO/eos/files/2108454/setup_dice.txt)  - script to setup \"dice\" contract (all keys are uploaded to the wallet and it is unlocked)\r\nVersion of the EOS is 1.0.5, but the same was for v1.0.2"}}
{"actor":{"display_login":"andriantolie"}}