All you need to know about Ethereum’s Istanbul

 All you need to know about Ethereum’s Istanbul




Blockchain enthusiast, I have been involved with blockchain platforms for the last 3 years. Enabling how technology can enable the transformation of business.
Change is inevitable
This has been the cornerstone statement and much more evident in the software world.
There has been no system, which has not gone through the evolutionary cycle of bug fixes and upgrades.
Pushing out a change or a new feature, for a centralized system is easy as we know the servers and system we need to update.
The challenge of pushing out a new updated software becomes much more complex as the system grows in scale.
This brings to our topic of today’s discussion.
How does an update to a decentralized system like Ethereum happen?

Understand what ‘forking’ means in the Ethereum world

A brief history of Ethereum upgrades.

Mechanics and nuances of the upgrade.

Understand how upgrades work and process for upgrade.

  1. Implications of the upgrade.
These are the topics we are going to be discussing in this blog:
What is a fork?
  • In essence, any changes done to the rules and protocol of the Ethereum network are called fork.
  • In simple words, these are the bug fixes and updates (major/minor) applied to the distributed network.
  • These are network updates in essence, where the governing principle on how network works are changed.
Why are they called ‘forks’ and not just ‘network upgrade’?
These network upgrades or protocol changes are on a decentralized network, this causes some unique challenges.
Let us have a look at them.
Soft fork (Network Upgrades)
  • In a simple scenario, if all the changes or upgrade proposed are backwards compatible and support old and new rules.
  • In the above-mentioned scenario, all of the participants are in agreement about the changes and upgrade the software.
  • This is what we call as a soft fork, backward compatible, all of the participants agree and there is only one version of software running on all the participants.
  • A soft fork is more of a misleading term, this is more of a network upgrade, where we end up with just one version of the software.
  • As this is a decentralized system, so what all the participants agree upon plays an important role in the future state of the network.
Hard fork
  • In this scenario, the changes or upgrade proposed to the network are not agreed upon by all the participants in the network.
  • Keeping in mind, the changes and upgrades being proposed are not backwards compatible.
  • If lets us say x% of the participant agree in favor of the changes, they go ahead and upgrade their software.
  • Now, what we end up with is two separate versions of the software.
  • One, where x% of participants have upgraded to include new changes.
  • Second, where (100-x)% of participants have not upgraded.
  • In this case, both of these groups will have the same version of the ledger, till the point, the upgrade was accepted by x%, let us say that point is block number 100.
  • Till block number 100 all the participants will have the same version of the ledger or in simple terms, same data in their blockchain.
  • Post block number 100, x% of the participants will have their own copy of ledger which will follow new rules a per upgrade and (100-x)% of the participants will have a separate copy that still follows old rules.
  • In conclusion, this type of upgrade is called a fork.
  • As it causes split one blockchain into two separate versions.
  • For example, the hard fork (DAO Hack Block# 1920000), which resulted in two versions Ethereum and Ethereum Classic.




What is an EIP?
EIP is an acronym for Ethereum Improvement Proposals (EIPs).
Any change or update to the Ethereum protocol, network or any change what so ever has to be built up in form of an EIP.
An EIP consists of
  1. The problem the EIP is going to solve.
  2. A technical specification defining the new feature or change.
  3. The rationale behind the design and design decisions.
  4. If any incompatibility is introduced with this change, should be clearly listed.
EIP Types
Listed below are the classifications of the EIP.
  1. Standard Track: Affects most or all Ethereum implementations. e.g.
  2. change to the network protocol, a change in block or transaction validity rule.
  3. Core: Changes that may be relevant to core dev discussion. e.g.
  4. miner/node strategy changes
  5. Networking: Improvements to network protocol specifications of whisper and swarm. e.g.
  6. Node discovery by DNS
  7. Interface: API/RPC standards and specification changes. e.g.Create `eth_chainId` method for JSON-RPC
  8. ERC: Standard and specification at the application level. e.g.
  9. Token Standards, library, and package format.
  10. Meta: Process specification and process changes. e.g.procedures, guidelines, changes to the decision-making process, and changes to the tools or environment used in Ethereum development.
  11. EIP 233 “Formal process of hard forks”
  12. Informational: Design issue and general guideline for the Ethereum Community. e.g.
  13. EIP 1470 – Smart Contract Weakness Classification (SWC).
Ethereum Upgrade Cycle
Lately, the Ethereum community has matured and the upgrades for Ethereum have become planned.
  • Earlier fork or upgrade timing was decided by the EIP being introduced and the upgrade cycles were not planned.
  • Now, the fork and upgrades are planned, and EIPs are added as they mature.
  • This is more in accordance with traditional software upgrades and releases.
Ethereum Upgrade History
image


Driving factors
The two driving factors behind the Ethereum upgrades have been
  1. Consensus performance enhancement, proof of work is not efficient at all.
  2. The whole road map of Ethereum has been to move from PoW (Proof of Work) to PoS (Proof of Stake).
  3. Scalability, as discussed later, for mass adoption Ethereum network has to scale.
  4. The key focus area of Ethereum in the last few years has been to improve scalability.
Ethereum Istanbul Upgrade
The biggest problem which has been plaguing the Ethereum network has been scalability.
The Ethereum network is running at full capacity.
  • Average Ethereum block utilization is around 90%.
  • In simple words, if this were a single computer, it will mean we are using 90% of its capacity.
  • We are currently averaging 700K Ethereum transactions per day.
Source: https://www.etherchain.org/charts
In order for Ethereum to scale and caters to mass adoption, upgrades and changes to the network are proposed.
Istanbul, a much-awaited upgrade, which is due to happen by end of this year and is the step towards the final PoS(Proof of Stake)Serenity targeted for 2020.
“Istanbul” network upgrade will be done in two stages
  1. Stage 1 (End of 2019): Following EIPs (Ethereum Improvement Proposal) 152, 1108, 1344, 1884, 2028, and 2200 included.
  2. These EIP are targeted to achieve the following.
  3. Gas costs reduction and optimization.
  4. Enable Ethereum and Zcash to be interoperable Lay the foundation to apply scalability changes.
  5. Stage 2 (Beginning of 2020): Mining Algorithm changes, EIP 1057 will change the mining algorithm from PoW (Proof of Work) to ProgPoW (Programmatic Proof Of Work).
  6. Firstly, this reduce the undue advantage ASIC (Application Specific Integrated Circuit) cards have been in the mining Secondly, reduce the centralization of mining. in crypto mining.
In the end, upgrading a decentralized system comes with it own challenges and nuances.
Today, we got an understanding of how does the upgrade work in the case of Ethereum.
We also looked at the way the Ethereum upgrade process if becoming matured.
Understanding the bigger object and key driving factors behind the upgrade, help us to look at where Ethereum is heading.
Istanbul upgrade is being tested in TestNet Rinkeby, and will be pushed to MainNet by this year-end, as per the information at the time of writing this blog.
Stay tuned for more.
If you wish to learn Blockchain and build a career in Blockchain Technologies, then check out our Blockchain Certification Training which comes with instructor-led live training and real-life project experience.
This training will help you understand Blockchain in depth and help you achieve mastery over the subject.

Comments