![Jean Cavallera - CJ42 Profile](https://pbs.twimg.com/profile_images/1877726470463770625/XAqAdfNh_x96.jpg)
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
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 ๐งต
3
3
25
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
@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
Thank you Foundry! You are going to help me play around with the Pectra upgrade! ๐๐ป
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.
1
0
2
@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
@CRYPTO_WOLF_OF Ok I like the cyber/cypher punk analogy. Thatโs why this whole industry exists ๐ซก
0
0
8
@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
@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
Haha this is the background story of how the green frog appeared on LUKSO! ๐ธ๐
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
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.
0
0
2
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
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 ๐๐ป
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
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!
1
0
8