book icon indicating copy to clipboard operation
book copied to clipboard

meta: tutorial suggestions

Open Genesis3800 opened this issue 2 years ago • 4 comments

Hey maintainers,

I liked the vibe of contributing full-fledged tutorials to the book. Wrote this recently:

https://book.getfoundry.sh/tutorials/create2-tutorial

I don't wanna be seen spamming the repo with issues, but I would appreciate it if you guys could help me think of new topics to write tutorials on. I think we can all agree that the Foundry book could use more coverage vis-à-vis tutorials, and I want you to help me come up with new stuff to write on so that we have a win-win situation.

If this feels like spam, pls lemme know. I'll step back.

Genesis3800 avatar Nov 21 '23 03:11 Genesis3800

Amazing,

If this feels like spam

not in the slightest, very much appreciated 🙏

we can always use more examples for cheatcodes.

like rpc for starters

perhaps a detailed tutorial about mocking system contracts, like the foundry-arbitrum repo:

https://github.com/saucepoint/foundry-arbitrum/tree/main

any ideas @mds1 ?

mattsse avatar Nov 21 '23 14:11 mattsse

I don't have a great pulse on the state of the book currently—@gakonst maybe worth putting out a tweet to get feedback on where docs are lacking and what tutorials people want to see?

mds1 avatar Nov 21 '23 22:11 mds1

Thank you @mattsse m I'll eagerly look for anything I feel I can contribute. Loved starting my open-source journey with the Foundry book.

I learned a lot from Foundry, and it is a damn pleasure to give a little bit back

Genesis3800 avatar Nov 23 '23 14:11 Genesis3800

I would love a tutorial on how to do the following:

  1. When we start Anvil at a given block say "--fork-block-number 21702582"
  2. Execute all transactions from the current state at 21702582 to 21702682.

I've tried using cast, but I could not see them reflected on my local block explorer (Otterscan).

vikito755 avatar Dec 31 '23 22:12 vikito755