190524
Pierre H. — q/dau

@rektorship #190524

blockchain engineer @ https://openfort.xyz / https://unchained-onchain.xyz / built @factchain / opinions entirely those of others / rekt 👎 ship 👍
208 Follower 197 Following
my biggest profit since the bull market started
roc it or it didn't happen 🤘
https://roc.camera/

preordered mine, thanks santa @july.
spent the week diving into 7702/4337 compatibility. programming an eoa feels like witchcraft but once you see it in action, it just clicks.

1) craft and sign the authorization hash
2) send the 7702 tx to activate the delegation
3) send batch txs within a user op
i've wrote a cli to explore 7702/4337 and it's really fun: you can send userOp from your EOA. feels like magic.

account now has two nonces: the transaction count of the EOA and the 4337 nonce stored in the entrypoint contract. wtf. 🤯

give it a try: https://github.com/openfort-xyz/openfort-7702-cli
"We simultaneously know everything and nothing about how each program works"
the xz backdoor is a perfect mix of technical prowess and social manipulation, with an unlimited potential scale.
here is the best post i've read on the story:
https://boehs.org/node/everything-i-know-about-the-xz-backdoor
a rabbit hole well worth every second!
forge create UpgradeableOpenfortAccount --private-key 0xdeadbeaf --rpc-url https://rpc.pectra-devnet-3.ethpandaops.io

Error:
server returned an error response: error code -32000: tx fee (2.11 ether) exceeds the configured cap (1.00 ether)

what's the reason behind this 1 eth configured fee cap on pectra devnet?
can't deploy a smart contract account...
most unwelcoming place on earth
"the sunshine bores the daylight out of me"
terrace vibes, cats are ruling the zone
eth vs solana is the crypto version of gryffindor vs slytherin
local AI is a great sales narrative for powerful personal computers.
these "Slow on your device" / "Not enough RAM" from https://jan.ai/ on a 32gb m1 make me want to own a monster.
/AI
spending 20 usdc to mint my streaming ticket for the ethereumfilm.... about to click "watch now".... this isn’t just a movie night, it’s a piece of digital history 💜

https://ethereumfilm.xyz/streaming-ticket
https://github.com/zkSync-Community-Hub/zksync-developers/discussions/639#discussioncomment-10693912

why are zksync builds non-deterministic (both foundry and hardhat)? why does updating the smart account change the proxy bytecode? and why is there only one proxy bytecode that works for my account factory?

@bountybot pays 100 USD to the person who can answer *all* these questions.
trying cursor for the first time. best AI coding tool out there. as expected, it does not help debug and find what can go wrong in your codebase --probably more suitable for generating base/tests and refactoring.
what's cooking here?👩‍🍳
One zkSync question a day keeps the doctor away... or does it?

How do you guys implement in-memory time-dependent tests?

- hardhat network helpers are not available on zkSync/v2.0.
- era_test_node doesn't support `evm_setNextBlockTimestamp` RPC...
- mining blocks in the test freeze the running node
https://github.com/wevm/viem/issues/2658

heyhey zkzksync & viem aficionados,

i've noticed that my smart account created with `toSingleSmartAccount` from the recent viem upgrade (2.19.9) produces wrong signatures when using the one and only `zkSyncInMemory` configuration.

am I missing something obvious?
is anyone in the same situation?

i got it working with ethers, but I'd rather not crawl back to my ex.
https://github.com/wevm/viem/pull/2598

gm,

recently quit ethers in favor of viem which I find extremely elegant.

any update on this PR? I'd love to write end-to-end tests for freshly deployed @zksync @openfortxyz smart accounts.
hard to wrap my mind around this moxie trend like people
trying to monetize every bit
of their social interactions. just cast it, connect, and consume great content. enjoy the ride. don’t let these evil mechanisms ruin the experience.
Is the 15th of August a bank holiday in the USA too?