I noticed two costs when I deploy smart contract to Ethereum network, one is transaction cost and other is execution cost. What is the difference between these costs ?
Difference between Transaction cost and execution cost in Ethereum
Transaction cost is the amount gas consumed to deploy smart contract on Ethereum network, transaction cost increase as your smart contract size increase.
Execution cost is the amount gas consumed to do any of the below operation.
1. Store the variables defined inside the contract to Blockchain
2. Constructor call