My friend is a senior engineer at a tech company valued at $2.5B. We talked about how website used to be light and fast with only HTML, CSS and under 2kb of JavaScript. I asked him what it would cost to build that today. I will never forget his answer…
'We can’t, we don’t know how to”
WOW. 6 audits one after another, each one with multiple High/Critical severity issues. This is interesting data, but 100% scary
https://t.co/5fBzq3IejL
I recently discovered an exceptional video on Solidity to bytecode, memory, and storage. It's a must-see for anyone looking to delve further into this subject matter.
https://t.co/L9m4LnMJHQ
I have two questions for the optimizoors.
Is just declaring uint variables expected to be zero in order to save gas, always safe?
Is there ever a scenario where they must explicitly be assigned to zero to prevent any funny business?
#optimizoor#solidity
Ok, ERC1967Factory is now in production.
- Very gas optimized (deploy and runtime)
- Slick UX
- Tooling agnostic
- Vanity proxy address compatible
- No need to verify admin and proxy contracts
- No need for implementations to inherit UUPS
https://t.co/2cKtglT3AL
⛽️ Smaller ints aren't always better ⛽️
They'll save more gas on storage and allow you to pack more values into a single storage slot...
But they're MUCH more expensive to use.
DYOR. See what's best for your use cases. Don't listen to half baked optimization tips.
milady 💀
I'm convinced 90% of protocol devs have never done any gas benchmarking.
For Hardhat:
REPORT_GAS=true
For Foundry:
--gas-report
Your first implementation to a solution is likely not the optimal solution.
I'm trying really hard here not to publicly name and shame companies 🫠
Calling all Guardians !
After months of development, https://t.co/3U7Eeyp2vj is live.
Here is our humble contribution to the web3 education landscape. 🧵
Over the past few days, I've been gathering a collection of DeFi resources.
These are the materials I aim to explore within the next week.
I invite you to join me on this journey, and let's share our insights as we go! 📚👥👇