I'm making some tests on web3.py and there is a thing I don't undertand. I have a contract like this:
contract Test {
function add(uint x, uint y) returns(uint){
return x + y;
}
When i make a transaction on it using
transaction = eth.sendTransaction({"from": some_address, "to": address_of_the_contract_Test, "data": formated_data})
and parse the result using
eth.getTransactionReceipt(transaction)
it gives me a json-formated response without "output" attribute... Can someone tell me why?
(I know that there exist a call function to get the output but I want to do it using a transaction).