{"action":"created","issue":{"url":"https://api.github.com/repos/pipermerriam/web3.py/issues/270","repository_url":"https://api.github.com/repos/pipermerriam/web3.py","labels_url":"https://api.github.com/repos/pipermerriam/web3.py/issues/270/labels{/name}","comments_url":"https://api.github.com/repos/pipermerriam/web3.py/issues/270/comments","events_url":"https://api.github.com/repos/pipermerriam/web3.py/issues/270/events","html_url":"https://github.com/pipermerriam/web3.py/issues/270","id":253177075,"number":270,"title":"web3.eth.sendTransaction parameter encoding broken","user":{"login":"jannikluhn","id":29854669,"avatar_url":"https://avatars1.githubusercontent.com/u/29854669?v=4","gravatar_id":"","url":"https://api.github.com/users/jannikluhn","html_url":"https://github.com/jannikluhn","followers_url":"https://api.github.com/users/jannikluhn/followers","following_url":"https://api.github.com/users/jannikluhn/following{/other_user}","gists_url":"https://api.github.com/users/jannikluhn/gists{/gist_id}","starred_url":"https://api.github.com/users/jannikluhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jannikluhn/subscriptions","organizations_url":"https://api.github.com/users/jannikluhn/orgs","repos_url":"https://api.github.com/users/jannikluhn/repos","events_url":"https://api.github.com/users/jannikluhn/events{/privacy}","received_events_url":"https://api.github.com/users/jannikluhn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-27T17:21:09Z","updated_at":"2017-08-28T20:01:47Z","closed_at":"2017-08-28T20:01:47Z","body":"* Web3 version: 3.13.2\r\n* TestRPC version: 1.3.0\r\n* Geth version: 1.6.7\r\n* Parity version: 1.7.0\r\n\r\n### What was wrong?\r\n\r\n```Python\r\nIn [13]: web3 = Web3(EthereumTesterProvider())\r\n\r\nIn [14]: web3.eth.sendTransaction({'to': '0x' + '00' * 20, 'value': 100})\r\nOut[14]: '0x7a47f359b7ba9c8cc7f23997e41b4655e076855b06be793f23348d48b9655ad1'\r\n\r\nIn [15]: web3 = Web3(RPCProvider())\r\n\r\nIn [16]: web3.eth.sendTransaction({'to': '0x' + '00' * 20, 'value': 100})\r\n```\r\nThis fails.\r\n\r\nError message from Parity:\r\n```\r\nValueError: {'code': -32602, 'message': 'Invalid params: invalid type: integer `100`, expected a 0x-prefixed, hex-encoded number of length 64.'}\r\n```\r\n\r\nError message from Geth:\r\n```\r\nValueError: {'code': -32602, 'message': 'invalid argument 0: json: cannot unmarshal non-string into Go struct field CallArgs.value of type *hexutil.Big'}\r\n```"},"comment":{"url":"https://api.github.com/repos/pipermerriam/web3.py/issues/comments/325463306","html_url":"https://github.com/pipermerriam/web3.py/issues/270#issuecomment-325463306","issue_url":"https://api.github.com/repos/pipermerriam/web3.py/issues/270","id":325463306,"user":{"login":"jannikluhn","id":29854669,"avatar_url":"https://avatars1.githubusercontent.com/u/29854669?v=4","gravatar_id":"","url":"https://api.github.com/users/jannikluhn","html_url":"https://github.com/jannikluhn","followers_url":"https://api.github.com/users/jannikluhn/followers","following_url":"https://api.github.com/users/jannikluhn/following{/other_user}","gists_url":"https://api.github.com/users/jannikluhn/gists{/gist_id}","starred_url":"https://api.github.com/users/jannikluhn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jannikluhn/subscriptions","organizations_url":"https://api.github.com/users/jannikluhn/orgs","repos_url":"https://api.github.com/users/jannikluhn/repos","events_url":"https://api.github.com/users/jannikluhn/events{/privacy}","received_events_url":"https://api.github.com/users/jannikluhn/received_events","type":"User","site_admin":false},"created_at":"2017-08-28T20:01:46Z","updated_at":"2017-08-28T20:01:46Z","body":"Fixed in v3.13.3 "}}
{"actor":{"display_login":"jannikluhn"}}