Assume we have a test() function in our contract:
contract {
uint state;
function test() returns (bool ){
state= 5;
return true;
}
}
I'm aware that if the test() function didn't have to change the state, then we can use:
ver result= instance. test.call();
where "instance" is an instance of deployed contract. But what about the above case? The above code can be used in a case where a user interface interactively tells users that their request has been completed (e.g. their vote has been registered, etc.)