Solidity ABI Array and Debugging Smart Contract¶
As you get deeper into the theory of how Smart Contract work under the hood, you'll quickly discover: Contract Debugging is a pain on its own.
There are a few options: The truffle debugger, the hardhat console.logs and the Remix debugger.
In this lab I want to walk through the Remix debugger and also explain how Gas is exactly calulated under the hood, because Remix conveniently shows that during debugging.
What You Know At The End Of The Lab¶
🐛 Debugging with Remix
⛽ How Gas works under the hood in Ethereum
💪 💪 💪 Let's get started!
Using Solidity 0.8
These labs were updated to Solidity 0.8 and can differ from the videos slightly. Please pay attention to the callouts where appropriate. Otherwise just follow along 🤜🏻🤛🏻
Last update: May 4, 2022