{"action":"created","issue":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/742","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/742/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/742/comments","events_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/742/events","html_url":"https://github.com/ethereum/go-ethereum/issues/742","id":69217048,"number":742,"title":"contract call is not using the \"from\" parameter","user":{"login":"ethers","id":6937903,"avatar_url":"https://avatars.githubusercontent.com/u/6937903?v=3","gravatar_id":"","url":"https://api.github.com/users/ethers","html_url":"https://github.com/ethers","followers_url":"https://api.github.com/users/ethers/followers","following_url":"https://api.github.com/users/ethers/following{/other_user}","gists_url":"https://api.github.com/users/ethers/gists{/gist_id}","starred_url":"https://api.github.com/users/ethers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethers/subscriptions","organizations_url":"https://api.github.com/users/ethers/orgs","repos_url":"https://api.github.com/users/ethers/repos","events_url":"https://api.github.com/users/ethers/events{/privacy}","received_events_url":"https://api.github.com/users/ethers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-17T21:03:26Z","updated_at":"2015-04-17T22:12:05Z","closed_at":null,"body":"Geth develop 4020258 and web3.js develop 271b00f\r\n\r\nRun Geth and unlock a specific account (not the primary account), call this addrA.\r\n\r\nHave a contract foo() that returns transaction ORIGIN.\r\n\r\nDo the standard stuff to set up the contract (https://github.com/ethereum/web3.js/blob/develop/example/contract.html#L45-L48)\r\n\r\nNow call:\r\n``contract.call({from: <addrA>}).foo()``\r\n\r\nEXPECTED\r\naddrA\r\n\r\nOBSERVED\r\nanother address (perhaps the address of the Geth primary account)\r\ncontract call is not using the \"from\" parameter"},"comment":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/comments/94086453","html_url":"https://github.com/ethereum/go-ethereum/issues/742#issuecomment-94086453","issue_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/742","id":94086453,"user":{"login":"ethers","id":6937903,"avatar_url":"https://avatars.githubusercontent.com/u/6937903?v=3","gravatar_id":"","url":"https://api.github.com/users/ethers","html_url":"https://github.com/ethers","followers_url":"https://api.github.com/users/ethers/followers","following_url":"https://api.github.com/users/ethers/following{/other_user}","gists_url":"https://api.github.com/users/ethers/gists{/gist_id}","starred_url":"https://api.github.com/users/ethers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ethers/subscriptions","organizations_url":"https://api.github.com/users/ethers/orgs","repos_url":"https://api.github.com/users/ethers/repos","events_url":"https://api.github.com/users/ethers/events{/privacy}","received_events_url":"https://api.github.com/users/ethers/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T22:12:05Z","updated_at":"2015-04-17T22:12:05Z","body":"@fjl Thanks for clarifying.  This issue is indeed about \"Passing from to call should work and use it as the sender.\"\r\n\r\n(Switching to sendTransaction worked as expected and used the \"from\" parameter)"}}