I have a few questions about non state changing smart contract functions.
Say I have a smart contract deployed with a function that takes an input "num" and returns a value 10 * num. I presume this costs gas, but how is this function executed? Is it executed by a node/client like geth?
State doesn't change but is there a record of this transaction recorded on the blockchain?