Introducing Multicall3
A modern, efficient contract for aggregating results from multiple function calls
Deployed (almost) everywhere at 0xcA11bde05977b3631167028862bE2a173976CA11
Foundry and solidity best practices were recently released, strongly recommended reading through them
Ethereum development changes quickly so I suspect these will evolve over time. Feedback is definitely welcome
A few highlights below, read them all at: book.getfoundry.sh/tutorials/best…
Today is my last day at @ScopeLift. Working alongside @BenDiFrancesco and the team for the last ~3.5 years has been an incredible experience, and I'm grateful to have had the opportunity to work with them.
Next, I'm excited to announce that I'll be starting at @OPLabsPBC as a
Re-introducing EVM Diff
EVM Diff is the easiest way to diff EVM-compatible chains in a friendly format, now with automated discovery of chain differences, making it much more scalable
There's two ways to diff:
- Two chains side-by-side
- All chain in a caniuse-like table
Can someone make a dapp already that's just one big button that when you press it it finds the current pending transaction nonce in your wallet, and sends a self tx with a higher gas of the same nonce?
So many beginners struggling with pending transactions..
Introducing forge-std v1.0.0 🧵
Strongly recommend updating your forge-std versions ASAP, as there are changes that improve fuzzing so you might find some new failing tests.
Update with `forge update lib/forge-std`
Simulating @ConvexFinance `shutdownSystem` call, which unstakes from 61 pools and uses 16M gas:
- @dapptools errors with "resource exhausted"
- @HardhatHQ finishes after ~14 minutes
- @TenderlyApp finishes after ~15 seconds
- Foundry by @gakonst and co takes ~10 seconds
In case you're interested, Hardhat's console.sol contract has been deployed to mainnet 1535 times.
Combined, the deployments take up a total of about 567 kB and cost about 163M gas to deploy, which is $54k at current prices