CPS-0040 Sets the Bar for Sharding Cardano After Leios
Input Output researchers outline how Cardano could distribute transaction processing across more nodes while keeping the minimum hardware requirements steady or lowering them.
By SongMarketCap
Updated:
Input Output researchers Matthias Fitzi and Giorgos Panagiotakos have submitted a Cardano Problem Statement on dividing the network’s ledger and processing work across groups of nodes. Cardano’s proposal editors assigned it the candidate number CPS-0040 on November 25. It sets criteria for evaluating future sharding designs, including how they would handle transactions that touch several parts of the ledger.
The Scaling Limit Leios Leaves in Place
A fully participating Cardano node processes every transaction, tracks the full set of unspent outputs, and must be able to reconstruct the chain’s history. Linear Leios is designed to use capacity that existing nodes leave idle. As throughput rises, the amount of data each node must handle rises with it. At a sustained data rate of 150 kilobytes per second, the ledger would grow by about 4.7 terabytes a year, according to the estimate cited in the document.
Sharding would divide both the ledger state and the work of processing transactions, with different groups of nodes responsible for different portions. The Leios roadmap already explores splitting unspent transaction outputs as a possible extension of Full Leios. CPS-0040 also leaves room for other designs that let total network capacity grow as more participants contribute.
When One Transaction Spans Several Shards
In Cardano’s extended unspent transaction output model, known as EUTxO, a transaction declares its inputs and outputs before it runs. A sharding design could use that information to determine which parts of the ledger a transaction touches. The researchers call for measuring how often transactions cross shard boundaries under realistic workloads.
Validation gets more complicated when a Plutus script needs to read inputs or other data held in several shards. The document calls for preserving the ability to execute multiple scripts as a single operation that succeeds or fails as a whole. It also allows for a clearly specified alternative that explains what happens when execution is partial.
[NEWSBREAK]
What a Rollout Would Have to Preserve
The researchers call for a gradual rollout that keeps existing addresses, scripts, and unspent outputs working. A design would also have to preserve Ouroboros security guarantees and explain how the network could verify stake distribution, rewards, and governance vote totals when individual nodes hold only part of the ledger.
In the GitHub discussion, developer fallen-icarus argued that Cardano should first address fees for transactions competing to spend the same output. Panagiotakos replied that such a fee mechanism could simplify a future design and left the choice open. He then invited members of the Leios development team to review the draft.