JeanCavallera Profile Banner
Jean Cavallera - CJ42 Profile
Jean Cavallera - CJ42

@JeanCavallera

Followers
2K
Following
6K
Statuses
3K

Author of โ€œAll About Solidityโ€ Book & Articles series ๐Ÿ““ | Smart Contracts Lead @lukso_io | Solidity education ๐Ÿ“„ | Forever cooking ๐Ÿ‘จ๐Ÿปโ€๐Ÿณ

Joined July 2015
Don't wanna be here? Send us removal request.
@JeanCavallera
Jean Cavallera - CJ42
14 days
EVM Opcodes memorisation technique for #Solidity and #smartcontract devs. The #Ethereum EVM contains around 140 opcodes. Here is a cheat sheet to help you memorise the associated hex code for each and start learning to read smart contract bytecode! A thread ๐Ÿงต
Tweet media one
Tweet media two
3
3
25
@JeanCavallera
Jean Cavallera - CJ42
12 hours
It might also lead to much smaller generated bytecode for smart contracts. Even if there will not be anymore stack too deep errors, there are still a lot of DUP / SWAP instructions in the bytecode to keep track of local variables (assigned for instance at the top of a function body in Solidity, and re-access at the bottom). Hopefully EOF reduces that. Or I guess with EOF, SWAP / DUP are instructions that donโ€™t exist anymore?
1
0
1
@JeanCavallera
Jean Cavallera - CJ42
12 hours
@Amxx @OpenZeppelin Lol advocating that rushing is great software development practice. Very good commit message too. It will make it very clear in the CHANGELOG for the next patch release what was fixed.
0
0
1
@JeanCavallera
Jean Cavallera - CJ42
12 hours
Thank you Foundry! You are going to help me play around with the Pectra upgrade! ๐Ÿ™Œ๐Ÿป
@gakonst
Georgios Konstantopoulos
13 hours
ANNOUNCING: FOUNDRY v1.0! Every major DeFi protocol and smart contract developer who wants secure and gas-efficient code uses Foundry. Today, Foundry is officially stable, and here for the long run. Congratulations to everyone on today's huge milestone. `foundryup`! A lot of exciting updates in the thread.
Tweet media one
1
0
2
@JeanCavallera
Jean Cavallera - CJ42
13 hours
@sxtvik That makes me wonder why the fuck I am spending so much time on Twitter honestly. The more I open Twitter, the more I feel my brain is rotting
0
0
0
@JeanCavallera
Jean Cavallera - CJ42
15 hours
@CRYPTO_WOLF_OF Ok I like the cyber/cypher punk analogy. Thatโ€™s why this whole industry exists ๐Ÿซก
0
0
8
@JeanCavallera
Jean Cavallera - CJ42
15 hours
@CRYPTO_WOLF_OF My post is not related to LUKSO, or to promote LUKSO. Itโ€™s a statement about the state of this industry in general.
1
0
4
@JeanCavallera
Jean Cavallera - CJ42
16 hours
@shafu0x Oh yes, the more time to take to read at code, the more you get into the mind of who coded it and can spot these traits ๐Ÿค
0
0
1
@JeanCavallera
Jean Cavallera - CJ42
16 hours
Haha this is the background story of how the green frog appeared on LUKSO! ๐Ÿธ๐ŸŒ‰
@lukso_io
LUKSO
2 days
Curious how bridging your tokens or stablecoins to LUKSO will work? Get a first look at the LUKSO Bridge dApp in this demo! โ€ข Connect your wallet to the LUKSO Bridge dApp โ€ข Select a token and enter your Universal Profile address as the recipient โ€ข Bridge your tokens to LUKSO Once complete, youโ€™ll see your bridged tokens on your Universal Profile at ๐Ÿ†™ โšก๏ธ Bridge UI powered by @hyperlane + @hashialliance
1
0
24
@JeanCavallera
Jean Cavallera - CJ42
16 hours
@natashalfawn He looks so fluffy! Perfect anti stress bowl! ๐Ÿ˜
1
0
2
@JeanCavallera
Jean Cavallera - CJ42
17 hours
This is why some gas optimisation techniques in L2 are centered around removing 00 bytes in calldata. ABI-encoded function calls always pad to make the calldata size a multiple of 32 (bytes words). Any 00 byte of padding to "fill it up" is a waste of gas in L2. You can see this in the screenshot below. This is the calldata from the @hyperlane TokenRouter contract to bridge a token. Note the last line, 16 zero bytes * 4 gas unit = 64 gas unit. These bytes are here, of no use and waste gas.
Tweet media one
Tweet media two
0
0
2
@JeanCavallera
Jean Cavallera - CJ42
2 days
RT @MichaelKdcl: you know what feels good? knowing im part of building the next layer of the Internet and its my actual job to do so allโ€ฆ
0
33
0
@JeanCavallera
Jean Cavallera - CJ42
2 days
Yesterday, I reflected on the first month of 2025 and how I approached it. Feeling on the right track and tackling the relevant things that matter to me. But I still feel I diverge a bit and am too distracted by the noise. Let's get back to this and what matters. Bye ๐Ÿ‘‹๐Ÿป
@JeanCavallera
Jean Cavallera - CJ42
2 months
2025 is coming. Quiet. Minimalist. Focused. Your answers will be elsewhere. So will I. (Little note for myself and the #LUKSO community)
0
0
14
@JeanCavallera
Jean Cavallera - CJ42
2 days
Very excited to start experimenting with the new standards that come with the Pectra upgrade and the new features they bring to #smartcontracts. EIP-7702, EIP-7002 and EIP-7685 you are in my radar!
@uttam_singhk
Uttam
4 days
what's coming in Ethereum Pectra? ๐Ÿ‘‡๐Ÿป largest upgrade of ethereum in terms of included EIPs
Tweet media one
1
0
8