Daniel Von Fange

3.7K posts

Daniel Von Fange banner
Daniel Von Fange

Daniel Von Fange

@danielvf

Skilled Professional (most days). Defends against the bad guys.

East Coast Katılım Eylül 2006
1.3K Takip Edilen12.2K Takipçiler
Sabitlenmiş Tweet
Daniel Von Fange
Daniel Von Fange@danielvf·
Kinda laughing right now because I spent almost five years working on a stablecoin named OUSD, that hit 280 million TLV. I minted the first OUSD dollar ever 2,111 days ago.
Daniel Von Fange tweet media
English
5
1
76
5K
Daniel Von Fange
Daniel Von Fange@danielvf·
Lido has spent crazy time and money on knowing how much money they have staked on ETH, and still gets it wrong sometimes. It's impossible for code on Ethereum to know how much it has staked without external systems. This is such a terrible design choice.
Lido@LidoFinance

[Rebasing Miscalculation Incident] Lido contributors are investigating an issue related to today’s stETH rebase as reported by the protocol accounting oracle, resulting in a daily rebase APR of 2.04% instead of the expected 2.15%. This is not due to protocol penalties, and no funds are at risk, but due to a single in-flight validator deposit (32 ETH) being unaccounted for in the oracle report. research.lido.fi/t/security-dis… Contributors have double-checked the aggregate balance of Lido validators on Ethereum’s Consensus Layer at the time of the oracle report (and thereafter) and there is nothing that indicates any funds are at risk. No user action is needed. The team is currently investigating the root cause and, once a fix is live, the following rebase will be inclusive of the previously under-calculated balances. A full update will follow once the root cause is confirmed.

English
8
4
72
12.9K
Daniel Von Fange
Daniel Von Fange@danielvf·
@JamesCPoole If I recall correctly, the old EigenLayer staking contracts required you to prove a proof every time your validator earned yield or something. Which was crazy. I think I ran the math at the time and looked like gas fees for proofs would have been 30-50% of the staking income.
English
1
0
0
102
pooleparty
pooleparty@JamesCPoole·
@danielvf Yeah agreed. Somebody still has to build and submit the proofs from off chain. A fun time back in the day with 1m validators and high gas fees, spending $100k in gas one month to submit proofs 😳
English
1
0
1
101
Daniel Von Fange
Daniel Von Fange@danielvf·
@JamesCPoole Yes, now with proofs it's possible to have code that can prove that an external system isn't lying to you about your stake, but it's a huge amount of work to cover all the cases, and it does require an offchain system.
English
3
0
2
303
pooleparty
pooleparty@JamesCPoole·
@danielvf EigenLayer tracks exact staked ETH amounts via proofs. Still complex and not ideal but it is doable. ezETH uses no external oracle.
English
1
0
2
368
Rappie
Rappie@rappie_eth·
New Echidna release! This one includes some of my contributions🫡 - Faster corpus replay with multiple workers - Fixed nondeterministic logging at startup - Fixed incorrect traces for shrunk reproducers
Rappie tweet media
0x310f1.sh@0x310f1sh

Echidna 2.3.3 is out 🦔🥳 👉 symbolic and verification modes now handle bytes, string and dynamic array arguments 💥 console.log shows up in traces, vm.expectRevert support (via @argotorg hevm 0.58.0) 🔍 new excludeViewPure option for property mode 🚰 some memory leaks fixed

English
1
2
23
1.2K
Daniel Von Fange
Daniel Von Fange@danielvf·
@raopreetam_ If code is staking, it's really important that the code knows how much money it has. If an external system is required, it's a whole lot of work to trust that external system and it's a whole lot of other things that can go wrong.
English
0
0
2
343
Daniel Von Fange
Daniel Von Fange@danielvf·
@feulf That may be out of date. I just looked and it looks like it's running about twice Ethereum's TPS.
English
0
0
1
85
Federico Ulfo
Federico Ulfo@feulf·
@danielvf I saw the screen at monad in the NYC office. It had 1-15tps. Nobody’s using it.
English
1
0
1
105
Daniel Von Fange
Daniel Von Fange@danielvf·
Here's Monad BFT packets at realtime light speed between the earth and the moon in a sim. It's weird how in the right circumstances, a 3-hop consensus algorithm can speed up to approximately a 2-hop.
English
3
1
52
4.3K
Daniel Von Fange
Daniel Von Fange@danielvf·
I disagree so incredibly deeply. A fatal flaw with the stream of these proposals to just-not-include-bad-things is who gets to decide what is bad. There are indeed good and bad things. And there are govs and orgs that decide between them with various degrees of correctness, or self-interested evil, or pure extraction. As a result if you build something that adds this power, evil organizations will be eventually be controlling it. Instead, if someone starts doing real world evil with a smart contract, go deal with the people in the real world doing evil.
ethresearchbot@ethresearchbot

New post on EthResear.ch! Censoring Transactions at the Protocol Layer By: - Leo_Glisic 🔗 ethresear.ch/t/25531 Highlights: - The paper argues Ethereum needs a protocol-level mechanism to censor/block certain transactions in extreme cases to prevent real-world harm enabled by smart contracts. - A key motivating example is a “bounty” smart contract that incentivizes violence or terrorism-like actions, which the author expects will eventually be attempted at scale if Ethereum is widely adopted. - The author separates two problems: (1) governance deciding *whether* something should be censored, and (2) protocol engineering implementing *how* censorship would be enforced once a decision is made. - The proposed censorship interface is framed as a simple pass/fail input to the protocol (e.g., censor this address), independent of whether governance is decentralized or not. - Because censorship is a taboo topic in blockchain culture, the author claims it’s under-researched and calls for proactive research now so Ethereum is prepared for high-stakes scenarios. ELI5: Ethereum is like a big shared computer where anyone can run programs (smart contracts). The author worries that someone could make a harmful program that pays money for doing bad things in the real world. Since Ethereum can’t easily stop specific activity once it’s on-chain, the author argues Ethereum should research a built-in “emergency brake” (a protocol-level censorship lever) that could block transactions from certain addresses—assuming there’s some governance process that decides when it should be used.

English
4
4
44
5.1K
Daniel Von Fange
Daniel Von Fange@danielvf·
rotfl @ the sound effects. (I tried making a video explaining how erasure coding works)
English
1
0
9
1.5K
Daniel Von Fange
Daniel Von Fange@danielvf·
Nope! That's the beautiful part. Distributed world wide. The trick is using one way UDP packets, and only requiring three network hops per block to get agreement. (First two distribute the block, last one is a block). However, it ends up working out that the first two geographically overlap, meaning that it needs less real word time than is required for three full network hops. x.com/danielvf/statu…
Daniel Von Fange@danielvf

Primary raptorcast only this time. This shows how redundancy allows a geographically distributed network to be almost as fast as one hop, while actually requiring two hops.

English
0
1
4
195
Daniel Von Fange
Daniel Von Fange@danielvf·
Monad is now running at 300ms block times. Nothing has broken yet. That I know about.
English
8
2
47
3.3K
Daniel Von Fange
Daniel Von Fange@danielvf·
@llamaonthebrink Yes, you can basically just wear Uniswap V4 as a skinsuit / API interface over whatever AMM code you want. For example of doing this, look at Eulerswap's code, that does crazy stuff with the money behind the scenes.
English
1
0
6
387
MilliΞ
MilliΞ@llamaonthebrink·
Question for my Uniswap dev frens: Is it possible to build a class of hooks on top of UniV4 that lets users re-use USDC across several pools as out-of-range liquidity, then locks the USDC into the first of those hooks only when the price in that pair crosses the USDC liquidity range? The purpose is to let users take advantage of capital efficiency while “bidding” across multiple pairs the way some CLOBs enable. This feels like a super cool, unique use case of Uniswap V4’s singleton contract and hook architecture. @haydenzadams @saintniko @alanwu @aadams
English
20
2
59
8.3K
Daniel Von Fange
Daniel Von Fange@danielvf·
This is real genius on the attacking side to deterministically sync up different cache exploits across validators to be able to write arbitrary money of any kind into any account (!!!!!!!!)
hexens@hexens

1/ we found a bug in the Aptos Move VM that put up to $70B at systemic risk. type confusion at the execution layer. a ~90% success rate across hundreds of simulated runs on a 30+ validator cluster. cost to build the attack infrastructure: $3,000. Conducted by @kemmio , to our knowledge this is the first public research that showcases how to land a sophisticated multi-block attack in real-world environments. It includes mempool feng shui, block production specifics and about a dozen of other primitives and tricks chained to get to near-perfect exploitation results. Nonetheless, Aptos called it "extremely low exploitability." [hexens.io/research/aptos…]

English
2
5
95
12K
Daniel Von Fange
Daniel Von Fange@danielvf·
@banteg From past experience, I'm concerned that: 1) Master plans change faster than actual development cycles, making a mess 2) The details design/development on these small pieces are done without other pieces in mind, and result in painful integration and long term ugliness.
English
0
0
18
823
banteg
banteg@banteg·
you can do all this, but you can never formally verify the social layer or leadership that still finds it acceptable to replace every major piece in a mature protocol. there are always morally/intellectually compelling reasons to find a new "final" shape.
vitalik.eth@VitalikButerin

Two weeks ago, Ethereum researchers met in Berlin to continue charting the protocol's long-term trajectory, following along discussions with client teams in Svalbard in April. The updated strawmap is at strawmap.org, and I attached a picture of it to this post. My own high-level takeaways: * "Lean Ethereum" is not a single one-shot upgrade, it is a collection of improvements that will come online to the Ethereum network over the course of three or four years. But make no mistake, this IS the third major iteration of Ethereum in the same way that the Merge was the second. Almost every major piece of the protocol will be replaced: - Verification through recursive STARKs, rather than direct re-execution. Recursive STARKs become an enshrined first-class core component of the protocol - Replacing everything quantum-vulnerable with quantum-safe alternatives - Consensus: decoupled available chain and finality, one or two-round finality. Theoretically optimal security properties, simpler than today, and faster than today - Multidimensional gas - State: not just tree structure, but what *types* of state are available - Changes to client architecture ... At the same time, simplification, cleanup and future-proofing. And this will all be done in a way that minimizes disruption to existing application. We've done this before (the Merge), we can do it again. * H-star (aka Hegota) is probably Ethereum's last thematically "pre-Lean" fork. Starting from I-star, most of everything we do will have a very strong "Lean" feel to it in one way or another. * Privacy is no longer an afterthought, it is a first class goal. When designing Frames, the mempool, additions to the state tree, we explicitly ask the question "okay, how do quantum-safe, intermediary-free privacy protocol transactions go through this, and what is the overhead?" * Formal verification of everything for security. * FV also makes us much more comfortable with canonicalization (having pieces of the protocol that are directly defined as a piece of bytecode expressed in some language). evm-asm is being written in part to become a canonical proof system for the EVM. * Quantum safety has shifted up a LOT in priority. This adds a lot of work (eg. finalizing a quantum-safe blobs design has become urgent; this work has already been ongoing for months) * Probably the single most disruptive part of the plan is the changes to state. There is growing consensus around leaving present-day-style "dynamic state" mostly unchanged, but scaling it only a medium amount, and adding new types of state that are more scalability-friendly (eg. no need for builders to sync/store all of it) but more restrictive, and that will scale a large amount. eg. possible Ethereum in 2030: 2 TB of present-day-style (dynamic) state, and 100 TB of new-style (scalable but restrictive) state This "new-style" state would work very well for ERC20s, NFTs, many defi use cases, but not eg. highly "central" objects like Uniswap contracts, or onchain order books, or other complex things (which are crucial for Ethereum but which only take up a small percentage of state) Hence, it will not be *necessary* to rewrite any apps, but it will be *very cost-effective* to eg. rewrite an ERC20 token into a newer design that uses a new type of UTXO storage that is currently being explored, so that it will have >10x lower txfees. Design of these new state types (current ideas: keyed nonces, ring buffers, UTXOs, statically accessible state, temp state) is an area where we will need a lot of feedback from application developers (incl. privacy-friendly application developers) and probably several rounds of rethinking and iteration. * In the context of a much larger total state size, we need to figure out the incentive issues around who stores this state and what motivates them to. Even saying "each node stores 1%" is not good enough - why do they store that 1% and why are they willing to serve it? This is being elevated as a first-class research area. * Ethereum will need to have a "VM" other than EVM in one form or another - at the very least, we need something like leanISA for recursive STARKs - and the gains are large in exposing it to users so that we support programmable privacy and better scalability. Right now, the most likely contenders are leanISA and RISC-V. My own ideal is that in this world, we adjust the protocol so that the EVM becomes a high-level-language compiler-level feature, and the protocol only "sees" RISC-V / leanISA directly. But this is still far away. * Gas limit increases, blob increases and slot time decreases will happen many times over the next ~5 years. We expect a large gas limit increase with Glasterdam. Each step of increased scale or decreased slot time is a matter of getting to the point where it is safe to do it, which comes from a combination of client optimization and protocol changes. Ethereum is CROPS. Ethereum is scaling. Ethereum is reinventing itself. Onward.

English
27
6
157
28K
kaden.eth
kaden.eth@0xKaden·
i found a 4 year old critical bug in huffmate/ERC4626.huff can you spot it?
kaden.eth tweet media
English
7
4
96
9.9K