I have a method defined as:
getNames() view public , if i call on it
contractInstance.getNames.estimatedGas() it returns me a non-zero value, why? I mean, view methods should not consume any gas! On the other way, since this is a call it does not return to me a tx hash so i can't invoke the
eth.gettransactionReceipt, how can i check if it really consumed gas ?
method() is a set function of my deployed contract, hence a transaction mining is needed, which is the difference between calling: