Foundry
A place to ask questions and share tips/tricks for using Foundry.
Greg pfp

@greg

Am I missing something or is there no way to verify multichain deployments in a single forge command?
3 replies
0 recast
3 reactions

emo.eth pfp

@emo.eth

before i roll my own: does anybody have any good permit2 fixtures (signing, etc) for foundry tests?
0 reply
0 recast
0 reaction

emo.eth pfp

@emo.eth

`forge build` should include "loading screen tips" for smart contract best-practices
1 reply
1 recast
9 reactions

shazow pfp

@shazow.eth

If you're using foundry with nix, we just added a `stable` branch to your fav foundry nix flake to match the new stable release stream. $ nix run github:shazow/foundry.nix/stable (Default branch is nightly which has ephemeral builds, we also have a /monthly branch which is non-ephemeral nightlies once per month.)
1 reply
1 recast
5 reactions

emo.eth pfp

@emo.eth

are forge/cast still bad at estimating gas for arbitrum?
1 reply
1 recast
0 reaction

christopher pfp

@christopher

Running an Anvil node using /foundry before Pectra is so easy. Signing authorizations feels super natural. Very excited for the future. πŸ‘
1 reply
0 recast
6 reactions

apoorv.eth pfp

@apoorvlathey

Updated forge-stack-tracer package to add "fst clean" command.
1 reply
0 recast
1 reaction

Noah Bragg πŸ”₯ pfp

@nbragg

gm. Normal to have to do --legacy on write transactions on @base.base.eth? Using Alchemy RPC.
0 reply
0 recast
2 reactions

apoorv.eth pfp

@apoorvlathey

https://warpcast.com/apoorvlathey/0xb1dce2c4
0 reply
0 recast
0 reaction

apoorv.eth pfp

@apoorvlathey

`npm i -g forge-stack-tracer` Collapse & interact with foundry stack traces locally with this CLI tool!
2 replies
0 recast
13 reactions

Noah Bragg πŸ”₯ pfp

@nbragg

Where did all my storage space go? 🀨😲😡
1 reply
0 recast
5 reactions

Joe Blau ❎ pfp

@joeblau

I'm back baby! Back to deploying smart contracts onchain with the best tool in the industry.
2 replies
1 recast
4 reactions

β€Ž pfp

@mpryor.eth

Is there a simple way to get the address of a recently deployed (w/ Foundry) contract? Or do you need to always update the address manually? I know you can get ABI from the /out dir, but not seeing a way to dynamically grab the address every deploy.
1 reply
0 recast
3 reactions

Noah Bragg πŸ”₯ pfp

@nbragg

Foundry is so much better than Hardhat it's not even funny!
0 reply
0 recast
8 reactions

emo.eth pfp

@emo.eth

can someone explain how forge's vm.parseJson works bc i do not get this shit at all
3 replies
5 recasts
9 reactions