Cardano’s Vasil Upgrade Marks an Important Milestone in the Blockchain’s Evolution

The chief scientist at IOG, Aggelos Kiayias, explains why Cardano has re-thought smart contracts and how it prioritizes security over speed.

AccessTimeIconSep 22, 2022 at 8:37 p.m. UTC
Updated May 11, 2023 at 3:36 p.m. UTC
10 Years of Decentralizing the Future
May 29-31, 2024 - Austin, TexasThe biggest and most established global hub for everything crypto, blockchain and Web3.Register Now

The average crypto watcher, aware that Ethereum has just completed its long-awaited transition to a proof-of-stake validating system, may be wondering what the overall takeaway is from the Vasil hard fork upgrade on the Cardano blockchain that happened at 21:44 UTC on Thursday, Sept. 22. I(t is expected to finalize in five days, on Sept. 27.)

The significance of Vasil’s rather technical set of changes, which improve the ledger’s programmability and its throughput potential, perhaps requires some zooming out to view a bigger picture.

Cardano, sometimes touted as an “Ethereum killer,” is playing a long game. Critics of this process (split into “eras” named after Romantic poets, computer scientists and Enlightenment thinkers) often criticize the protocol for lagging behind other smart contract blockchains that already host thriving decentralized finance (DeFi) ecosystems and have amassed billions of dollars in total value locked.

But the early achievements of the foremost smart contract platform, Ethereum, are “brilliant but unstructured,” according to Aggelos Kiayias, chief scientist at Cardano builder Input Output Global (IOG). Smart contracts on Cardano are “different,” says Kiayias, who is also a professor in cryptography at the University of Edinburgh.

Smart contracts on Cardano

This is because Cardano is grounded in functional programming, a precise and mathematical way to write code that uses immutable data to tell the program exactly what to do, as opposed to achieving results through objects that alter a program’s state.

“I think many people had difficulties when smart contracts were launched in Cardano because they were hoping there would be a simple way to immediately port complex contracts from Ethereum to Cardano,” Kiayias said in an interview with CoinDesk. “But it requires a familiarity with functional programming and having to rethink, what would be the best way to program things in this new environment?

For Kiayias, not only is functional programming a simple and natural approach to take, but when it comes to critical infrastructure it makes perfect sense. That’s because the intent of a computer program then becomes very clear and easy to verify. This simplicity also invites the possible automation of that verification. And while some investment of time is required, Kiayias said the intricacies of Cardano’s functional-based Plutus script can be simplified using domain-specific languages such as Marlowe.

Cardano is not the only blockchain to prize formal verification of smart contracts; the Tezos blockchain was also designed with this in mind. These days, however, such concerns may have fallen out of fashion amid the breathless rush of DeFi.

Bitcoin in the blood

Another fundamental difference between Cardano and most other layer one smart contract chains is its choice to use a design borrowed from Bitcoin.

Unlike Ethereum, which uses an account-based model rather like a bank’s, Cardano is based on the “unspent transaction output” (UTXO) system, a way of calculating what’s held in bitcoin wallets by keeping tabs on the change left over when fractions of coins are spent. But Cardano extends this practice so it’s not constrained by the Bitcoin blockchain’s data limits, an approach known as “extended unspent transaction outputs” (EUTXO).

This design was a natural fit for a deterministic functional approach and comes with important advantages, explained Kiayias.

“Either a transaction fits the current extended UTXO set and spends some UTXOs and introduces others, or it doesn’t fit,” he said. “So I have this deterministic assurance with how my transaction is going to interact with the blockchain state and not be modified by any other transactions.”

This is not the case for an account-based model like Ethereum, Kiayias pointed out. “In this case, I cannot fully predict how my transaction is going to interact with the blockchain state because other transactions can be ‘sandwiched’ before my transaction, modifying it, and then my transaction is basically engaging with a state that did not exist when I issued it. This actually makes a huge difference for smart contracts.”

Security at scale

Tying this back to the changes being implemented by Vasil, Cardano’s UTXO model will be more easily referred to, keeping more load off the chain, which is better for scaling and is also preferable from a security perspective.

“The Vasil upgrade will make it feasible to refer to UTXOs, and there’s substantial space savings because of that,” Kiayias said. “So while in theory it’s a small bookkeeping consideration, it’s a huge advantage in practice.”

Kiayias said it’s nothing new in the world of technology to see people rushing forward, which has arguably turned DeFi into a kind of hacker’s playground.

“If I want to improve usability or speed, I can always do better than you by sacrificing security,” Kiayias said, defending Cardano’s methodical approach and painstaking process of academic peer review.

“But I think we always need a scientific way of assessing the security of systems,” he added.

Cardano's native cryptocurrency, ADA, is up around 4% over the past 24 hours, trading at 46 cents at time of publication.

coindesk-ADA-chart-2022-09-22 (1).png

Update: Friday, September 23, 2022, 01:27 UTC: Edited to reflect the update happened at 21:44 UTC in the first paragraph.

Disclosure

Please note that our privacy policy, terms of use, cookies, and do not sell my personal information has been updated.

CoinDesk is an award-winning media outlet that covers the cryptocurrency industry. Its journalists abide by a strict set of editorial policies. In November 2023, CoinDesk was acquired by the Bullish group, owner of Bullish, a regulated, digital assets exchange. The Bullish group is majority-owned by Block.one; both companies have interests in a variety of blockchain and digital asset businesses and significant holdings of digital assets, including bitcoin. CoinDesk operates as an independent subsidiary with an editorial committee to protect journalistic independence. CoinDesk offers all employees above a certain salary threshold, including journalists, stock options in the Bullish group as part of their compensation.

Ian Allison

Ian Allison is an award-winning senior reporter at CoinDesk. He holds ETH.


Learn more about Consensus 2024, CoinDesk's longest-running and most influential event that brings together all sides of crypto, blockchain and Web3. Head to consensus.coindesk.com to register and buy your pass now.