Prism Removes Consensus Bottleneck for Smart Contracts

Gerui Wang, Shuo Wang, Vivek Kumar Bagaria, David Tse, Pramod Viswanath

Introduction

Existing permissionless blockchains like Ethereum face significant scalability challenges because their underlying consensus protocols bottleneck the entire system. In traditional Nakamoto-style blockchains, blocks serve three competing roles: electing a leader, carrying transactions, and voting on the chain's history. This coupling forces a harsh tradeoff between security, throughput, and latency. While many projects attempt to solve this via Layer-2 rollups or sharding, this research investigates a more fundamental question: Can the Layer-1 Proof-of-Work (PoW) consensus layer be redesigned so it is no longer the limiting factor for smart contract execution?

Prism Architecture and Methodology

The authors developed a Rust-based full-node client utilizing the Prism consensus protocol, a novel high-throughput PoW protocol. Prism achieves high performance by factorizing blocks into three distinct types to decouple their functions:

  1. Proposer blocks: Anchor the chain and elect leaders.
  2. Transaction blocks: Carry the actual payload (smart contract calls).
  3. Voter blocks: Provide security by voting on proposer blocks.
The Prism consensus protocol factorizes blocks into proposer, transaction, and voter types to achieve high throughput and low latency.

Crucially, the system adopts an order-execute-validate paradigm. Unlike Ethereum, where miners validate transactions and update the state before appending a block, Prism nodes use consensus to rapidly order transaction blocks. The Virtual Machine (VM) executor then processes these confirmed blocks asynchronously. To further optimize performance, cryptographic signature verification—which can consume nearly 40% of CPU time—is moved out of the single-threaded VM and into a parallelized consensus module. Additionally, because Prism mines transaction blocks so rapidly, nodes pack transactions directly into blocks rather than gossiping them in a mempool, effectively doubling bandwidth utility.

Evaluation and Key Results

The system was integrated with two popular virtual machines: the Ethereum Virtual Machine (EVM) and MoveVM. Evaluation used synthetic workloads sampled from the first 100 million actual Ethereum transactions, ranging from basic native payments to complex applications like ERC20 transfers and CryptoKitties gene-mixing.

Throughput comparison of EVM and MoveVM on Prism across various workloads, showing significant gains over native Ethereum.

The results demonstrate that the consensus bottleneck has officially shifted to the VM. Prism allows the network to achieve approximately 85% of the theoretical maximum throughput of a bare-metal VM running locally.

Key performance metrics include:

  • EVM on Prism: Achieved ~11,200 tx/s for ERC20 transfers and ~35,300 tx/s for simple "Do Nothing" contracts. For computationally heavy workloads like CryptoKitties, it reached 661 tx/s, compared to native Ethereum's ~21 tx/s.
  • MoveVM on Prism: Reached ~1,100 tx/s for native payments (noting MoveVM was in early development during testing).
  • Latency and Security: Confirmation latency remained under 130 seconds with extremely high security (reversal probability of $2 \times 10^{-9}$), a level of security that takes roughly 45 minutes to achieve on Ethereum.

Discussion and Future Work

By removing the consensus bottleneck, Prism highlights that future throughput gains must now come from improved VM architectures. The authors emphasize the urgent need for VMs capable of parallel smart contract execution to match the speed of the consensus layer.

Future work includes addressing spam vulnerabilities. Since transactions are ordered before validation, users could theoretically spam the network with invalid transactions. While gas fees provide a deterrent, a lightweight pre-validation filter is proposed to mitigate this. Additionally, future iterations will focus on better memory management and cache handling to prevent memory bloat under sustained high workloads.

Summary updated

BibTeX
@inproceedings{wang2020prism,
  author = {Gerui Wang and Shuo Wang and Vivek Kumar Bagaria and David Tse and Pramod Viswanath},
  title = {{Prism Removes Consensus Bottleneck for Smart Contracts}},
  booktitle = {CVCBT},
  year = {2020},
  doi = {10.1109/cvcbt50464.2020.00011},
}
Figure