~/talk

Foundry 101, a hands on introduction

Talkat Solidity Summit 2022 · on Wednesday, 2022-04-20· [developer-experience, testing]
name:odysseas
links:none on file
slides:none on file

Foundry installs in under a minute and uses forge for Solidity-native tests and cast as a CLI; tests are Solidity contracts with setup fixtures composed by inheritance, reducing hundreds of JS lines to a few Solidity functions. Features shown: mainnet forking, gas snapshot reports to track regressions, an opcode-level debugger that finds a memory overwrite, and cheat codes like vm.prank and vm.sign to simulate callers and signatures. Migration from Hardhat drops JS boilerplate; deployment tooling is prototype work in progress.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12Foundry basics
  3. 3:44Creating a template
  4. 5:43Smart contracts
  5. 7:26Gas consumption
  6. 9:50Main networking
  7. 12:08Debugger
  8. 15:20Cheat Codes
  9. 17:00User Contract
  10. 18:53Functions
  11. 20:08Testing
  12. 21:39First test
  13. 24:48Questions
  14. 27:28eth brownie
  15. 28:38testing in solidity
  16. 32:13test organization
  17. 34:08deployment roadmap
  18. 35:38call to action
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.