What is the difference between transaction cost and execution cost as seen after contract instantiation in remix?
I don't think it matters, but here is my contract:
contract DepositCounter {
uint deposits = 0;
function() {
deposits++;
}
}
Best Answer
Transaction costs are the costs for sending the contract code to the ethereum blockchain, they depend on the size of the contract.
Check out the source code:
Execution costs should be really the vm execution costs, if I interprete the parameter
vmResult
correctly. Is this maybe because a default constructor will be called any way?