Loading video player...
If you've been writing Solidity for any amount of time, you've probably written address.transfer or address.send to forward Ether somewhere. As of Solidity 0.8.31, the compiler now warns you that both of those are deprecated. Today we're going to look at why that happened, what the safer replacement is, and how to migrate one real contract — end to end — in under three minutes. Chapters: 0:00 What's new 0:34 Background 1:21 Live demo: baseline 2:03 Live demo: migrate 2:42 Recap Part of the Amy's Releases hands-on framework-update series. #solidity #ethereum #foundry