212269
Shubham

@shub #212269

protocol engineer @sablier. iit bombay graduate. bullish on crypto and ai.
113 Follower 80 Following
Random foundry tip:

To ensure that certain values are included in your fuzz runs, use fixtures.
Everyone thinks that Sablier is for vesting, airdrop and payroll but do you know the most under appreciated use case?? To get diamond hands πŸ’ŽπŸ€².

Put your high conviction holdings in Sablier and let it all stream back to you over a year.

https://app.sablier.com/
Market so down, we are learning how to melt iron in Foundry support group.
Pleasure to be working with Codehawk auditors alongside Andrei. It was a great learning experience.

Audit βœ…
Mainnet soonℒ️
Is there a way to clear signed message data in @safe? I can't find anything in docs. An app requests a new signature but the Safe keeps popping up the previously signed message.
How easy is it to migrate a Solana smart contract to Starknet (since both are Rust based)?
Inviting all SRs to hack Sablier for the next 21 days.
Stream your tokens on @zksync πŸš€
While the Ethereum gas is below 10 Gwei, go and revoke your access to untrusted protocols and the ones you haven't used in a long time.

https://revoke.cash/
EIP-4337 in @metamask, or something else?

Docs do not explain how it works though: https://support.metamask.io/transactions-and-gas/transactions/smart-transactions/

I'd love to see it have a more direct answer than calling it a "more efficient" or "comprehensive update".
When you fork an EVM in Foundry, does it also copy OP_CODES and their gas usage or just the basic chain values?

If not, then is there a way to achieve this? I am interested in finding the execution cost of a particular transaction across different chains in a Foundry setup.
Why do some lending protocols prefer rebasing tokens (Compound, Aave) over accumulating tokens (Spark, Compound V2)?

Rebasing lacks composability. You can't really use them across different protocols. So I wonder what drives them.
Can anyone help me deploying contracts on @zksync using foundry-zksync?

I am seeing this error:

https://app.warp.dev/block/xszFzlROXdPQgU1262pJoW
Where did it go wrong?
I love my MacBook but https://frame.work is very intimidating. Has anyone tried it here? How's the experience?
Who tried apple vision pro this week? I am still waiting for it to launch in the UK.
Another piece of advice to survive crypto cycles is to never approve protocols with maximum allowances.

Metamask gives you the option to choose that number, while Rainbow has a pretty bad UX in that sense.

You pay a few extra bucks every time you interact with them but better safe than sorry.
Very disappointed to see the latest Socket protocol exploit where people have lost $3.3M as a result of improper input validation.

It's the third section in the smart contract security post by RareSkills - https://www.rareskills.io/post/smart-contract-security .This should be your bible and you must read it every week
Looks like Gansler is tweeting disclaimer before announcing ETF approvals.

https://x.com/garygensler/status/1744383653008839126?s=46&t=VYM6cpSayUkPRiVfjoKB-Q
Who are we paying when we create channels?
Looking forward to becoming an Ethereum solo staker in 2024?

I've put down a brief guide on how to build a headless server at home for solo staking: https://gist.github.com/smol-ninja/3d76ac3989577a911e3dcbd1032ac5cf

It runs @dappnode OS.