
Smart contract dev 🦇 Beginner Rusteacean 🦀 Moved to @codeislight
Joined April 2022
- Tweets1.9K
- Following920
- Followers307
- Likes7.1K
my first time ranking top 5 on @code4rena 🫶, i would love to express my gratitude for all the people who keep on educating and pushing forward the space.
codeislight.eth (Archived) retweeted
We are going to look at the new Extension system that is coming to @0xDYAD soon.
This will enable us to do so much more.
nitter.cf/i/broadcasts/1OwxWNyVR…
codeislight.eth (Archived) retweeted
How I found a critical bug thanks to my low level understanding of abi encoding
Let's start with a quick quiz: What is the `result` here?
If you guessed that it would be a 64 (0x40) byte array with two 32 byte words, each with a value of 1, you'd be correct
This is because all static types get converted to 32 byte words, even if they only require a few bytes. This prevents issues like hash collisions where different arguments can produce the same encoded output, which can occur when `abi.encodePacked` is used: kadenzipfel.github.io/smart-…
So how did this knowledge allow me to find a critical bug?
In my review of the SquidRouter protocol, the version id, `uint32(1)`, was abi encoded along with a payload with the expectation that the version could be decoded from the first 4 bytes (32 bits) of the payload
However, since contrary to expectation, `abi.encode` resulted in an entire word being used rather than just 32 bits, the entire payload was shifted over unexpectedly, causing the decoded payload to be entirely incorrect. This scrambled payload ultimately would lead to tokens being permanently locked in the contract
For a more specific explanation of the finding (3.1.1) and to see the rest of report, see: github.com/kadenzipfel/audit…
Finally
JULIAN ASSANGE IS FREE
Julian Assange is free. He left Belmarsh maximum security prison on the morning of 24 June, after having spent 1901 days there. He was granted bail by the High Court in London and was released at Stansted airport during the afternoon, where he boarded a plane and departed the UK.
This is the result of a global campaign that spanned grass-roots organisers, press freedom campaigners, legislators and leaders from across the political spectrum, all the way to the United Nations. This created the space for a long period of negotiations with the US Department of Justice, leading to a deal that has not yet been formally finalised. We will provide more information as soon as possible.
After more than five years in a 2x3 metre cell, isolated 23 hours a day, he will soon reunite with his wife Stella Assange, and their children, who have only known their father from behind bars.
WikiLeaks published groundbreaking stories of government corruption and human rights abuses, holding the powerful accountable for their actions. As editor-in-chief, Julian paid severely for these principles, and for the people's right to know.
As he returns to Australia, we thank all who stood by us, fought for us, and remained utterly committed in the fight for his freedom.
Julian's freedom is our freedom.
[More details to follow]
67
It's been 42 years since we got SMTP
datatracker.ietf.org/doc/htm…
43
codeislight.eth (Archived) retweeted
I realized the other day that some developers don't know how to "crunch" smart contracts. That is to say, mine an efficient address, so that it's cheaper to include them in calldata and store them. Here is my short guide:
codeislight.eth (Archived) retweeted
2 weeks ago at @ETHBerlin, me together with @OanaDesu & @Chloe_zhuX decided to make an unconventional hackathon project:
A visual explainer of some of the math behind zkSNARKs.
Using manim (3Blue1Brown's animation tool) we created this: youtu.be/nQG4iD33OsM
Enjoy 👌
codeislight.eth (Archived) retweeted
Just released Prool – a small library that provides programmatic HTTP testing instances (Anvil, 4337 Bundler, etc) designed for TypeScript test runners such as Vitest.
👉 github.com/wevm/prool
codeislight.eth (Archived) retweeted
We’re hiring a DevOps Engineer for @gasbot_xyz. Please share if you know someone great!
Responsibilities:
- DevOps things
- Python scripting with web3 dot py
- Supporting backend API (Flask)
- System health monitoring
Hit me up on TG with your experience and desired pay: t.me/django_gasbot
Only non-North Korean hackers considered.
codeislight.eth (Archived) retweeted
Updated the `career` section on my website to allow for multiple fields and subjects to be recorded -- now you are able to follow my polymath journey properly!
Hopefully it inspires you in some way :)
degatchi.com/autobiography
codeislight.eth (Archived) retweeted
I've been trying to be consistent at waking up at 3-4 am and on the days I do I get soooo much work done. the psychological benefits from these early hours are super underlooked when considering why early wake-up times are superior.




















