Connect Icon
logo-tzpulse
Join Our Communities
scratch scratcharrow-left
back
article

Ithaca: What Tenderbake and liquidity baking could mean for Tezos users

Developer
February 14, 2022

The Tezos Ithaca upgrade brings several improvements to Tezos’ consensus model, including deterministic finality and a shift away from a roll-based model to an optimized stake-based model. In this article, we take a deep dive into some of these changes – and what they mean for users.

The Ithaca upgrade to the Tezos protocol proposes an improved finality model, Tenderbake, and extends the liquidity baking of the Tezos network. Here we cover how the Ithaca proposal would achieve faster blockchain finality, how it improves on the Granada proposal’s Emmy* consensus, and what this all means for Tezos’ users.

Before diving deep, let’s establish what achieving finality means for a blockchain system and how it was achieved before Tenderbake.

What is blockchain finality?

At the risk of sounding too trite, the best way to understand blockchain finality is through an analogy. Let’s say Tom walks into a restaurant and orders a meal which he pays for using fiat currency. He swipes his debit card, and the value of his meal is deducted from his balance. The restaurant owner trusts that the transaction will not be reversed, so Tom’s payment has attained ‘finality’.

In blockchain terms, blockchain finality is a method to affirm that all well-formed blocks (transactions that have been validated) will not be revoked or taken down after they have been appended to the blockchain.

In other words, users who intend to perform fast transactions like Tom and the restaurant owner would need to rely on a finality mechanism; one that’s fast, reliable, and suits their purpose.

The most common protocol for achieving finality is a Nakamoto consensus-based mechanism that prioritizes availability over consistency, and applies a probabilistic approach to assume finality.

For probabilistic finality, Transaction A is said to reach finality after several blocks of transactions have been validated after the Transaction A block. For example, in Bitcoin, a transaction is considered final if six confirmations or blocks have been added after the transaction, which takes about an hour to occur.

The other way of achieving finality, which Tendermint popularized, prioritizes consistency over availability and assumes finality when a transaction block is validated and added to the blockchain. This is known as a deterministic approach.

If you’ve not heard of Tendermint, it’s software for securely and consistently recording and replicating transactions and applications across many nodes in the same order. Tendermint transactions are validated when two thirds of validators agree on the block added to the network.

Now we get to the truly interesting part for Tezos blockchain boffins. TENDERBAKE is a version of Tendermint adapted for the Tezos blockchain. Tenderbake can confirm finality after two blocks have been added to the blockchain. The August 2021 Granada upgrade across the Tezos network implemented EMMY*, a probabilistic finality mechanism. The proposed Ithaca update - Tezos’ ninth proposal – would implement a deterministic approach to achieve finality.

Improving Finality Through Tenderbake

Tenderbake is one of the major updates of the Tezos’ Ithaca proposal. It’s tailored to match the Tezos architecture by only using communication primitives and network assumptions that are supported by the Tezos network. That means that Tenderbake is designed to support Tezos network architecture and thus allow the calling of functions within the network.

It adopts the Tendermint consensus model, however not carte blanche; Tenderbake assumes that participants have loosely synchronized clocks, a WEAKER BUT REASONABLE NETWORK ASSUMPTION.

Through the Tenderbake’s new deposits scheme, deposits are based on a stake instead of individual baking/endorsement actions, found on Emmy*, which requires a security deposit each time a delegate wants to bake or endorse, to guarantee honest behavior.

It also offers the possibility to easily reduce the minimal time between blocks, which may be proposed in future Tezos protocol amendments.

Other improvements of Tenderbake to the Tezos Network

Tenderbake comes with other significant changes:

Understanding the Ithaca Proposal

Liquidity baking was a novel concept from the Granada proposal that added a new Decentralized Exchange contract to the Tezos protocol between tez and tzBTC. Liquidity baking incentivizes users through a subsidy to provide liquidity to the contract. Originally proposed as one of the key features of the Granada proposal, it incorporates a safety precaution called a ‘liquidity baking sunset level’, where the subsidy expires automatically. However, the Ithaca proposal can renew the sunset level, as seen by the protocol amendment.

The proposal’s major update is the Tenderbake finality mechanism and the extension of the liquidity baking sunset to 819,200 blocks, or twenty voting periods(approximately ten months).

To make up for the liquidity baking extension, Ithaca lowered the threshold for activating the escape hatch from 50% to 33%.

Also, the proposal introduces several minor improvements, such as enabling the pre-checking of operations by increasing the number of gossiped operations on the network, aimed at improving the Tezos network’s transaction throughput.

How does it benefit Tezos users?

In summary

Ithaca introduces a deterministic consensus model, Tenderbake, and the liquidity baking level extension. Although it did not pass the Exploration period, the core developers plan to present a revised version of Ithaca that addresses technical matters.

It promises to make the Tezos network super fast (instantaneous withdrawal) with a better user experience, reduced baking barriers, and improves the overall greenhouse gas effects forecast.

Through the Ithaca proposal, an average Tezos user would enjoy a safe one-minute finalization time better than Emmy*, which has a six minute finality time.

Image by Tezos via Unsplash

next article

Community Rewards. Alpha. Project grants.   Straight to your inbox.    Be the first to know about the latest news and opportunities from Asia - the hotbed of Web3 adoption.