HomeIndicatorsPrice actionBull / BearToolsBooksPsychologyGlossaryFeedback
中文English
中文EN
HomeIndicatorsPsychologyGlossary
Switching pages

Tweet details

Vitalik Buterin·09/09, 23:392mo ago
Leadership

A note on recursive STARK mempools (EIP-8288)

This is an EIP that I am hoping we can get included in I-star (the fork after Hegota) that you can think of as the next step after Frames, that would unlock extreme amounts of power. Particularly:

* Ultra-cheap quantum-safe signatures (SPHINCS-). Much of the cost savings comes from the fact that the signature data (~3 kB) does not have to go onchain * Ultra-cheap quantum-safe privacy protocols. Status quo minimum cost for private txs is ~300k if you engineer very well (no one does), status quo quantum-safe is ~10M gas, this could reduce it to low tens of thousands. * Universal support for your favorite new signature or proof scheme without needing EVM changes. Whatever you use (Falcon, ML-DSA, some other lattice-based thing, something code-based or isogeny-based or even more esoteric), you can just wrap it client-side in a STARK, onchain gas cost low tens of thousands just like privacy protocols. Hopefully, Ethereum will never need "please support my favorite cryptographic algo" politics again. * Private account abstraction: keep your account logic private, and in a private location onchain. Then you can make one transaction to change the ownership of all your onchain state - accounts, defi positions, privacy protocol notes, everything - without revealing which objects' ownership you're changing.

Here's how it works.

Your transaction can include a type of frame that we call a "dependency frame". The frame is a list of statements, asserting claims like "message hash M was signed by SPHINCS- public key P" and "data hash D was proven to satisfy a statement defined by verification key V".

When you send your transaction, you send it in an envelope, which includes a signature or a STARK for each statement in a dependency frame.

Once the transaction reaches the mempool, nodes aggregate them. Each node runs a loop: wait one tick (eg. 500ms), aggregate all new envelopes (either single-tx or multi-tx) that you've seen, remove any transactions that are expired, generate a STARK recursively proving all dependencies, and send a new multi-tx envelope containing that STARK.

Hence, the bandwidth load is bounded: each node's outbound is one STARK (~100-300 kB) per tick, plus each transaction getting broadcasted through the network once (as happens already).

The block builder acts as "yet another mempool node", receiving envelopes from the mempool (plus any side channels), generates its own STARK covering the subset of transactions it intends to include in the block, and adds that STARK to the block.

Total onchain overhead: one STARK (100-300 kB), plus 96 bytes for each statement being proven.

This is what I've called before ( ) "The Proof Singularity". Today, we have all the ingredients to actually implement it.

As a developer, this requires a somewhat different workflow than you are used to, but it is conceptually simple. Any signatures or STARKs, you put into a separate frame. Then the main logic that today is verifying a signature or STARK, you replace with checking for the existence of a frame that includes the correct statement as a dependency.

Examples of useful statements:

* [tx sighash] verifies against [the pubkey at sload(0)] * there exists a secret and a merkle branch such that hashing secret+0 and applying the merkle branch outputs (public) root R, and hashing secret+1 outputs (public) nullifier N * there exists a secret address A, salt S and signature Z such that sload(0) = hash(A, S) and a merkle proof of address A inside a recent ethereum state contains some pubkey D where [tx sighash] was signed by D [this is private account abstraction; all variables except [tx sighash] and sload(0) are private; you can also make D a STARK verification key] * there exists an ML-DSA signature signing [tx sighash], that verifies against an ML-DSA pubkey whose hash is sload(0)

At the core, this is moving any compute and data other than bookkeeping "business logic" outside the core path of Ethereum execution, sharding and parallelizing it via the mempool.

Notice also that this requires agreeing on a _language_ (aka. an ISA) for the recursive STARKs to define statements in. The current leading candidate is RISC-V. So this would also de-facto be Ethereum adding RISC-V (or something else we decide on) as a canonical ISA - a big decision that should be done carefully, but that I think will be necessary to drive Ethereum forward.

Link: https://t.co/XNBuNtkKmi

Link: https://t.co/3jfVkYTZrR

37159631K
View original

Related tweets

Javier Milei·11/26, 06:142h ago
RepostGov / regulators

RT @RespOficial_Arg: Cabinet Chief @diegosantilli refutes that RIGI has a fiscal cost, because without that regime those investments would never have arrived, and he highlights that approved projects already total 80 billion dollars and 150,000 jobs: “To begin with, RIGI has no cost, because without it that would have been zero. It is an investment that never existed, that is not there. So RIGI has zero fiscal cost. Quite the opposite: today there are 30 approved projects worth 80 billion dollars that will generate 150,000 jobs, and we have 21 more projects underway worth 151 billion dollars and 117,000 jobs, so RIGI has no fiscal cost. I clarify this because people often talk about what is being given up in fiscal terms. And we do not have it, because we would not have had those projects. If we had not had those projects, and we would not have had them, because there are projects where you compete in mining with Chile and Peru, for example, which are the closest in Latin America, and if you do not match the fiscal conditions of those countries, those projects go to other jurisdictions. The same happens in hydrocarbons, as is the case in provinces like Neuquén or Mendoza, which has just also presented a RIGI, and other provinces. So, it has no fiscal cost. Quite the opposite, it has the benefits of investment with job creation.”

08201.3K
View original
Dovey Wan·11/26, 06:072h ago
Research

whoever behind this ops effectively created a pure lose lose for both US govt's global rep and every US company's supplychain rep, while somehow making China semi stronger 🤷 in the 2018 ops the China hawk offensive caught Beijing with its pants down, ZTE almost died overnight, then Meng Wanzhou of Huawei was arrested. China was still deeply dependent on the US tech stack/trade so had to swallow it. this time Beijing literally couldnt ask for a better gift, watching Washington beat down the founder of its own best chip company into a national scandal, while telling every Asian supplier that 30 yrs of trust with an American founder can be politically nuked overnight

and most ironically Nvidia chips are not even a bargaining chip for Trump/US anymore. CCP itself is restricting Nvidia purchases and pushing state-backed compute onto Huawei/Ascend, cuz the whole point is to force the domestic stack into adoption

whoever designed this "China containment" drama is doing China semi industrial policy for free

000668
View original

Explore the wider context

Explore live messages, market conditions and practice tools beyond this post.

Live intelligenceFollow monitored authors and recent intelligenceBull / BearUse market indicators to understand the current phasePrice actionRead the market with real data
Crypto Bee Crypto market intelligence and technical indicators