TECH DEMO: Hardfork Combinator – ready for Shelley deployment

The Hardfork combinator is a remarkable piece of technology, which plays a central role in the deployment of Cardano Shelley, created to allow us to transition from Byron to Shelley in an orderly manner. Here’s a tech demo showing it being tested so you can see the process for yourself.

So despite the name, it’s purpose is to avoid an actual hard fork, as you might know them from other blockchain systems. In those cases, disagreement between the different entities running nodes on the network can lead to the system diverging, and creating different versions of the protocol that evolve separately and independently of one another. Perhaps we could have called it the ‘hard fork preventer’, but hindsight is a beautiful thing…

The hard fork combinator gives us the capability for a node to speak multiple protocols (though only one at once!). While running the first protocol (i.e. Byron), it can be triggered by a special on-chain update whereupon it manages the smooth transition to running the next protocol (i.e. Shelley).

This code has now been successfully tested against a number of mainnet candidates in ‘dry runs’ and as I type, we’re readying it for deployment on the Byron mainnet right now. In this video, Philipp Kant will walk you through the whole process, so you can see for yourself how everything works. For more background info on this ‘magical’ piece of engineering, check out our recent blog from Duncan Coutts and Edsko de Vries. Enjoy the video!


Note that I will have a talk at the upcoming summit explaining the internals of the hard fork combinator. It’s not for the faint of heart, but for those who are interested, join my talk and ask questions at the Q&A section afterwards :slight_smile:


Thank you! Very exciting news! I am very much looking forward to seeing the presentation!

1 Like