When I started to debug Solidity smart contracts, I was really confused by the fact that although there was a return statement in Solidity, I could not always read returned values when triggering functions from outside the smart contract. I was confused because I didn’t know that Ethereum has 2 APIs (calls and transactions) for interacting with smart contracts: calls and transactions.
In this video, I will explain what are calls vs transactions and why it matters when debugging Solidity smart contracts:
DebuggingSolidity
Leave a Reply