Cointime

Download App
iOS & Android

Long-term L1 execution layer proposal: replace the EVM with RISC-V

Cointime Official

This post proposes a radical idea for the future of the Ethereum execution layer, one that is equally as ambitious as the beam chain effort is for the consensus layer. It aims to greatly improve the efficiency of the Ethereum execution layer, resolving one of the primary scaling bottlenecks, and can also greatly improve the execution layer’s simplicity - in fact, it is perhaps the only way to do so.

The idea: replace the EVM with RISC-V as the virtual machine language that smart contracts are written in.

Important clarifications:

  • The concepts of accounts, cross-contract calls, storage, etc would stay exactly the same. These abstractions work fine and developers are used to them. Opcodes like SLOADSSTOREBALANCECALL, etc, would become RISC-V syscalls.
  • In such a world, smart contracts could be written in Rust, but I expect most developers would keep writing smart contracts in Solidity (or Vyper), which would adapt to add RISC-V as a backend. This is because smart contracts written in Rust are actually quite ugly, and Solidity and Vyper are much more readable. Potentially, devex would change very little and developers might barely notice the change at all.
  • Old-style EVM contracts will continue to work and will be fully two-way interoperable with new-style RISC-V contracts. There are a couple ways to do this, which I will get into later in this post.

One precedent for this is the Nervos CKB VM, which is basically RISC-V.

Why do this?

In the short term, the main bottlenecks to Ethereum L1 scalability are addressed with upcoming EIPs like block-level access listsdelayed execution and distributed history storage plus EIP-4444. In the medium term, we address further issues with statelessness and ZK-EVMs. In the long term, the primary limiting factors on Ethereum L1 scaling become:

  1. Stability of data availability sampling and history storage protocols
  2. Desire to keep block production a competitive market
  3. ZK-EVM proving capabilities

I will argue that replacing the ZK-EVM with RISC-V solves a key bottleneck in (2) and (3).

This is a table of the number of cycles that the Succinct ZK-EVM uses to prove different parts of the EVM execution layer:

download (6)800×359 154 KB

There are four parts that take up a significant amount of time: deserialize_inputsinitialize_witness_dbstate_root_computation and block_execution.

initialize_witness_db and state_root_computation both have to do with the state tree, and deserialize_inputs refers to the process of converting block and witness data into an internal representation; hence, realistically over 50% of it is proportional to witness sizes.

These parts can be heavily optimized by replacing the current keccak 16-ary Merkle patricia tree with a binary tree that uses a prover-friendly hash function. If we use Poseidon, we can prove 2 million hashes per second on a laptop (compared to ~15,000 hash/sec for keccak). There are also many options other than Poseidon. All in all, there are opportunities to massively reduce these components. As a bonus, we can get rid of accrue_logs_bloom by, well, getting rid of the bloom.

This leaves block_execution, which makes up roughly half of prover cycles spent today. If we want to 100x total prover efficiency, there’s no getting around the fact that we need to at least 50x EVM prover efficiency. One thing that we could do is to try to create implementations of the EVM that are much more efficient in terms of prover cycles. The other thing that we can do is to notice that ZK-EVM provers today already work by proving over implementations of the EVM compiled down to RISC-V, and give smart contract developers access to that RISC-V VM directly.

Some numbers suggest that in limited cases, this could give efficiency gains over 100x:

download (7)800×476 154 KB4a3981f5-7c49-4631-9c7c-3216b4c62466583×528 33.4 KB

In practice, I expect that the remaining prover time will become dominated by what today are precompiles. If we make RISC-V the primary VM, then the gas schedule will reflect proving times, and so there will be economic pressure to stop using more expensive precompiles; but even still the gains won’t be quite this impressive, but we have good reason to believe they will be very significant.

(Incidentally, the roughly 50/50 split between “EVM” and “other stuff” also appears in regular EVM execution, and we intuitively expect that the gains from removing EVM as “the middleman” should be similarly large)

Implementation details

There are a number of ways to implement this kind of proposal. The least disruptive is to support two VMs, and allow contracts to be written in either one. Both types of contracts would have access to the same types of facilities: persistent storage (SLOAD and SSTORE), the ability to hold ETH balances, the ability to make and receive calls, etc. EVM and RISC-V contracts would be free to call into each other; a the RISC-V perspective calling an EVM contract would appear from its perspective to be doing a syscall with some special parameters; the EVM contract receiving the message would interpret it as being a CALL.

A more radical approach from a protocol perspective is to convert existing EVM contracts into contracts that call an EVM interpreter contract written in RISC-V that runs their existing EVM code. That is, if an EVM contract has code C, and the EVM interpreter lives at address X, then the contract is replaced with top-level logic that, when called from outside with call params D, calls X with (C, D), and then waits for the return value and forwards it. If the EVM interpreter itself calls the contract, asking to run a CALL or SLOAD/SSTORE, then the contract does so.

An intermediate route is to do the second option, but create an explicit protocol feature for it - basically, enshrine the concept of a “virtual machine interpreter”, and require its logic to be written in RISC-V. The EVM would be the first one, but there could be others (eg. Move might be a candidate).

A key benefit of the second and third proposal is that they greatly simplify the execution layer spec - indeed, this type of idea may be the only practical way to do that, given the great difficulty of even incremental simplifications like removing SELFDESTRUCT. Tinygrad has the hard rule of never going above 10000 lines of code; an optimal blockchain base layer should be able to fit well within those margins and go even smaller. The beam chain effort holds great promise for greatly simplifying the consensus layer of Ethereum. But for the execution layer to see similar gains, this kind of radical change may be the only viable path.

Comments

All Comments

Recommended for you

  • ETH Surpasses $2300

    Market data shows that ETH has surpassed $2300, currently priced at $2300.32, with a 24-hour increase of 0.58%. The market is experiencing significant fluctuations, so please ensure proper risk management.

  • Bitcoin miner Core Scientific shifts to AI with 1.5GW data center push

    Core Scientific is converting its Pecos, Texas site into a high-density AI colocation hub, repurposing 300MW of mining capacity.

  • Acting AG Todd Blanche confirms ‘code is not a crime’ in DOJ pivot

    Acting US Attorney General Todd Blanche said developers will no longer be investigated or charged unless they knowingly help third parties commit crimes.

  • Bank of Japan Governor Kazuo Ueda: No Immediate Need for Rate Hike

    On April 28, Bank of Japan Governor Kazuo Ueda stated that there is currently no immediate need to raise interest rates. However, if the current supply shocks lead to secondary ripple effects, a rate hike may be necessary. (Jin Shi)

  • Central Political Bureau Meeting: Comprehensive Implementation of 'AI+' Initiative to Develop New Intelligent Economy and Improve AI Governance

    On April 28, the Central Political Bureau of the Communist Party of China held a meeting to analyze and study the current economic situation and economic work. The meeting emphasized the need to accelerate the construction of a modern industrial system and maintain a reasonable proportion of manufacturing. It called for deepening the construction of a unified national market and addressing 'involutionary' competition. The meeting also announced the comprehensive implementation of the 'AI+' initiative to develop a new intelligent economy and improve AI governance. Furthermore, it highlighted the need to deepen state-owned enterprise reform, systematically respond to external shocks and challenges, enhance the security of energy and resource guarantees, and address various uncertainties with the certainty of high-quality development. (Dongxin News Agency)

  • ByteDance, Zhiyu, and Alibaba Selected Among Top 10 AI Influencers by TIME

    On April 28, TIME announced its list of the '10 Most Influential AI Companies of 2026.' Unlike a simple comparison of model capabilities, this list emphasizes the comprehensive shaping power of companies in terms of industry, technological pathways, and social impact. The selected companies include ByteDance, Amazon, Zhiyu, OpenAI, Alphabet, Meta, Anthropic, Alibaba, Mistral, and Hugging Face. Among them, three are domestic companies: ByteDance, Zhiyu, and Alibaba. (Dongxin News Agency)

  • Arthur Hayes: More Concerned About Fed Nominee Waller's Comments on Balance Sheet Than Short-Term Interest Rates

    On April 28, BitMEX founder Arthur Hayes spoke about the Federal Reserve at the Bitcoin 2026 conference, stating, "When Kevin Waller was nominated as the Fed's SEC chairman, everyone started to panic because during his tenure as a Fed governor— I believe from the 2008 financial crisis until the current president— he has been very critical of the Fed's massive balance sheet. He has publicly stated that he believes the Fed's balance sheet is too large and that he needs to find ways to shrink it while also being able to lower interest rates. Now, if you have read my articles, you know that I am a firm advocate of the idea that the quantity of money is more important than its price. Therefore, I am more concerned about his comments on the balance sheet than the direction of short-term interest rates. So, if the market believes that due to Waller's actions at the Fed, the liquidity of dollars circulating in the system will decrease, then they will be bearish on Bitcoin and other risk assets. This is the discussion we see in the media about a hawkish Fed emerging after Waller takes over in May. Now, I don't think so. I believe that essentially the Fed will replace reserves, treasury bonds, and repos and put them into the commercial banking system, and they will do this with the help of new regulations concerning how banks hold assets on their balance sheets and how much capital they need to hold against those assets. Finally, I think the most important point to understand about what Waller will or will not do at the Fed is that he has a very substantial hard constraint, which is that he needs to work with Treasury's Scott Bessen to ensure that any actions he takes regarding the Fed's balance sheet do not impair Bessen's ability to sell billions and trillions of dollars in bonds.

  • SEC Chair: Reg GG Crypto to Allow Private Sector Token Sales Soon

    On April 28, U.S. SEC Chair Gary Gensler stated in an interview at the Bitcoin 2026 conference that the agency will continue to advance other exciting initiatives, such as truly allowing companies to conduct on-chain experiments, build tokenized securities, and trade on-chain within the United States. We plan to release innovative exemption regulations in the coming weeks. Additionally, we will permit the private sector to raise funds through on-chain token sales, which we refer to as 'Reg GG Crypto.' These initiatives are in preparation and will be launched soon. Currently, there is a bill titled the 'Clarity Act' under consideration in Congress. We do need Congress to provide regulations in this area. We are ready, willing, and able to explain their regulations and translate them into rules that people can rely on and pursue their innovative ideas. It is important to emphasize that this is happening domestically in the U.S., so they do not have to go overseas. This is the core idea that truly matters here.

  • SEC Chair Discusses Clarity Act: Codified Law Provides Greater Assurance for the Future

    On April 28, during the Bitcoin 2026 Conference, SEC Chair Gary Gensler spoke about the Clarity Act, stating that the U.S. Securities and Exchange Commission has considerable operational flexibility under the regulations. However, we are constrained by existing authorities, which, despite some amendments over the years, fundamentally remain rooted in the framework established in the 1930s. This is why having a piece of legislation is so important; it can shield future developments from adverse impacts, allowing us to leverage new authorities and the flexibility provided by the Act. We can collaborate with the Commodity Futures Trading Commission to coordinate and clarify definitions, and further develop from there. But again, nothing provides greater assurance for the future than codified law, coupled with sound judicial opinions that engrave the provisions of the law in stone through the mechanisms of the entire court system. Therefore, all of this is very important, but we are focused on efforts to simplify processes, enhance efficiency, and assist innovators in their endeavors, enabling them to operate with certainty rather than being stifled by those who jealously guard the existing ways of doing things. However, we must ensure that we remain at the forefront of innovation in the United States.