SlideShare une entreprise Scribd logo
1  sur  17
Télécharger pour lire hors ligne
Ethereum 2.0
Coinfund - Rabbithole Talks
Preston Van Loon // @preston_vanloon
Why Ethereum 2.0?
● Ethereum 1.0 has a theoretical maximum
throughput of 27 tx/s (typically max 14tx/s)
● Layer 2 scaling protocols don’t fully satisfy
the blockchain trilemma
Scalability
Decentralization Security
Ethereum 2.0 Roadmap
Ethereum 1.X
Phase 0
Beacon Chain
Phase 1
Shard Chains
Phase 2
Shards’ EVM
(State Execution)
Phase 3
Light Clients
● Independent
of ETH2.0
● eWASM
● Storage rent
● State pruning
● Proof of Stake
● Ethereum 1 -> 2
Deposit Contract
● Blockchain Entropy
● Sharding
● Cross links
● Decentralized P2P
networking at scale
● Smart Contracts
● eWASM
● Storage/state rent
● Off chain state
storage
Ethereum 1.x
This Rabbithole Talk is a two part series and this part was covered by Lane Rettig
earlier in this event.
Link to Lane’s slides
This slide is not part of the presentation, but available here for a link to more info
on Ethereum 1.x.
Phase 0 - Beacon Chain
Original diagram by Hsiao-Wei Wang
Beacon
Chain
Validator Registry
Reward / Penalties
Shuffling / Randomness
Proof of Stake Finalization
● 1 way deposit via deposit contract
● 32 ETH minimum to join
● 18 ETH ejection balance
● Exits / Withdraws
● Calculated during epoch transition
● Randomly distributed validator pool
● Verifiable delay function (at some
point)
● Calculated every epoch
● Validator slashing
● Liveness penalty
● Participation reward
● Block justification via Casper FFG
● Allows finalization of ETH 1.x
Phase 0 - Beacon Chain
Original diagram by Hsiao-Wei Wang
How to become a validator
1. Generate an Ethereum 2.0 validator address and withdrawal address
2. Send 32 ETH deposit with signed information about you as a validator
3. After 1024 PoW blocks, existing validators vote on your deposit
4. After a 16 epoch voting period, your validator enters the activation FIFO queue
5. Activation queue is processed within the maximum validator churn limits
Current as of eth2.0-specs@bb44d25
Phase 0 - Beacon Chain
Original diagram by Hsiao-Wei Wang
The role of a validator
● Propose blocks
○ Includes ETH1 data, slashings, voluntary exits, crosslinks (in phase 1)
● Create attestations
○ Attesting to their view of the world by fork choice rule
Current as of eth2.0-specs@bb44d25
Phase 0 - Beacon Chain
Original diagram by Hsiao-Wei Wang
● Blocks are produced every slot (6 seconds)
● An epoch is 64 slots (6.4 minutes)
● Epochs are considered finalized after two justified epochs
● Validator exits are delayed by 4 epochs + churn rate
● Validator withdraws are delayed by 256 epochs (~27 hours)
Current as of eth2.0-specs@bb44d25
Phase 1 - Shard Chains
Shard N
Shard 1
● Mostly research complete
● Introduces the independent
shard chains into the system
● Shard chains are linked to the beacon chain by crosslinks once per epoch
● 1024 shards initially
● No meaningful state execution on layer 1… yet
● Data layer available for layer 2 protocol execution
Original diagram by Hsiao-Wei Wang
Phase 2 - State Execution in Shards
● Replace EVM with eWASM
● Asynchronous cross shard transactions
● Contract yanking (migrating shards)
● Ethereum 2.0 becomes useful to average contract developer / users
● In research and design phase, development likely to start early 2020
● Development can start in parallel to phase 0 and phase 1
Beacon Chain
provides random
numbers
Shard Chain
provides data
Shard N
B1 B2 B3 B4 B5
VM
provides state
execution result
Shard 1
Main Chain
provides staking
State State State State State
PoW
Casper / PoS
Original diagram by Hsiao-Wei Wang
Phase 3 - Light Clients / Stateless Clients
● Minimize on chain data by moving as much as possible off chain
● Likely target beyond 2021
● Very much still in research
● https://ethresear.ch/tags/stateless
The Numbers - Minimum to Start Ethereum 2.0
Amount of ETH to be a Validator = 32 ETH
Number of Shards in Ethereum 2.0 = 1024 Shards
Minimum Validators per Committee = 111 Validators per Committee
Minimum Validators to Start ETH2.0 = 1024 * 111 = 113,664 Validators
Minimum Ether at Stake = 113,664 * 32 = 3,637,248 ETH
Maximum Annual Validator Rewards = ~4.206%
More at https://docs.ethhub.io/ethereum-roadmap/ethereum-2.0/eth-2.0-economics/Current as of eth2.0-specs@bb44d25
The Numbers - Ideal for Crosslinking
Amount of ETH to be a Validator = 32 ETH
Number of Shards in Ethereum 2.0 = 1024 Shards
Ideal Minimum Validators per Committee = 256 Validators per Committee
Ideal Minimum Validators to for Crosslinking = 1024 * 256 = 262,144 Validators
Ether at Stake = 262,144 * 32 = 8,388,608 ETH
Annual Validator Rewards = ~2.769%
More at https://docs.ethhub.io/ethereum-roadmap/ethereum-2.0/eth-2.0-economics/Current as of eth2.0-specs@bb44d25
Ethereum 2.0 - Where Are We Today?
Ethereum 1.X
Phase 0
Beacon Chain
Phase 1
Shard Chains
Phase 2
Shards’ EVM
(State Execution)
Phase 3
Light Clients
● In progress! ● Testnet is months
away
● ETA late 2019
● Research nearly
complete
● Development not
yet started
● ETA early 2020
● Research still in
progress
● Development from
ETH 1.x carries
over
● ETA late 2020 or
early 2021
● Minimal research
● ETA 2021 or later
Note: Estimates are subject to change and you should not consider this an official timeline!
Ethereum 2.0 - Who Is Working On It?
More at https://docs.ethhub.io/ethereum-roadmap/ethereum-2.0/eth2.0-teams/teams-building-eth2.0/
Team / Company Name Client Name Primary Language
Prysmatic Labs Prysm Go
ChainSafe Lodestar JavaScript / TypeScript
PegaSys Artemis Java
Harmony Harmony Java
Parity Substrate Shasper Rust
Sigma Prime Lighthouse Rust
Status Nimbus Nim
Ethereum Foundation Trinity Python
Yeeth Yeeth Swift
Questions?
Preston Van Loon // @preston_vanloon
Lane Rettig // @lrettig

Contenu connexe

Similaire à Preston Van Loon | Ethereum 2.0 at CoinFund Rabbithole Talks | February 28, 2019

Accurate Synchronization of EtherCAT Systems Using Distributed Clocks
Accurate Synchronization of EtherCAT Systems Using Distributed ClocksAccurate Synchronization of EtherCAT Systems Using Distributed Clocks
Accurate Synchronization of EtherCAT Systems Using Distributed ClocksDesign World
 
Build your own private blockchain based on ethereum
Build your own private blockchain based on ethereumBuild your own private blockchain based on ethereum
Build your own private blockchain based on ethereumMehran Pourvahab
 
Stefano Maestri - Why Ethereum and other blockchains are going to Proof of St...
Stefano Maestri - Why Ethereum and other blockchains are going to Proof of St...Stefano Maestri - Why Ethereum and other blockchains are going to Proof of St...
Stefano Maestri - Why Ethereum and other blockchains are going to Proof of St...Codemotion
 
HASHED LOUNGE Presents: OpenST Mosaic - Scaling blockchain economies to billi...
HASHED LOUNGE Presents: OpenST Mosaic - Scaling blockchain economies to billi...HASHED LOUNGE Presents: OpenST Mosaic - Scaling blockchain economies to billi...
HASHED LOUNGE Presents: OpenST Mosaic - Scaling blockchain economies to billi...OST | Open Simple Token
 
Istanbul BFT
Istanbul BFTIstanbul BFT
Istanbul BFTYu-Te Lin
 
Scaling blockchain poart II: Rollups by Dan Boneh
Scaling blockchain poart II: Rollups by Dan BonehScaling blockchain poart II: Rollups by Dan Boneh
Scaling blockchain poart II: Rollups by Dan Bonehr1tretyakov
 
What is Ethereum 2.0
What is Ethereum 2.0 What is Ethereum 2.0
What is Ethereum 2.0 Vikram Khanna
 
Webinar in English for the Token Bridge between RSK and Ethereum
Webinar in English for the Token Bridge between RSK and EthereumWebinar in English for the Token Bridge between RSK and Ethereum
Webinar in English for the Token Bridge between RSK and EthereumPedro Prete
 
Understanding Blockchain
Understanding BlockchainUnderstanding Blockchain
Understanding BlockchainTony Willenberg
 
Scorex meetup-aug-2015
Scorex meetup-aug-2015Scorex meetup-aug-2015
Scorex meetup-aug-2015Alex Chepurnoy
 
Hands on with Smart Contracts session #3
Hands on with Smart Contracts session #3Hands on with Smart Contracts session #3
Hands on with Smart Contracts session #3Gene Leybzon
 
Blockchain and smart contracts day 2
Blockchain and smart contracts day 2Blockchain and smart contracts day 2
Blockchain and smart contracts day 2Gene Leybzon
 
Ethcon seoul 2019 presentation final
Ethcon seoul 2019 presentation finalEthcon seoul 2019 presentation final
Ethcon seoul 2019 presentation finalHeung-No Lee
 
OpenST Mosaic Protocol introduced at ETH Berlin: Running meta-blockchains on ...
OpenST Mosaic Protocol introduced at ETH Berlin: Running meta-blockchains on ...OpenST Mosaic Protocol introduced at ETH Berlin: Running meta-blockchains on ...
OpenST Mosaic Protocol introduced at ETH Berlin: Running meta-blockchains on ...OST | Open Simple Token
 
EDCON 2017 sharing @Taipei Ethereum Meetup
EDCON 2017 sharing @Taipei Ethereum Meetup EDCON 2017 sharing @Taipei Ethereum Meetup
EDCON 2017 sharing @Taipei Ethereum Meetup Chang-Wu Chen
 
D1Conf 2018 | xDai Chain:Decentralized Insurance & the Benefits of the Stable...
D1Conf 2018 | xDai Chain:Decentralized Insurance & the Benefits of the Stable...D1Conf 2018 | xDai Chain:Decentralized Insurance & the Benefits of the Stable...
D1Conf 2018 | xDai Chain:Decentralized Insurance & the Benefits of the Stable...D1Conf
 

Similaire à Preston Van Loon | Ethereum 2.0 at CoinFund Rabbithole Talks | February 28, 2019 (20)

Blockchain
BlockchainBlockchain
Blockchain
 
Accurate Synchronization of EtherCAT Systems Using Distributed Clocks
Accurate Synchronization of EtherCAT Systems Using Distributed ClocksAccurate Synchronization of EtherCAT Systems Using Distributed Clocks
Accurate Synchronization of EtherCAT Systems Using Distributed Clocks
 
Build your own private blockchain based on ethereum
Build your own private blockchain based on ethereumBuild your own private blockchain based on ethereum
Build your own private blockchain based on ethereum
 
Ethereum.pptx
Ethereum.pptxEthereum.pptx
Ethereum.pptx
 
Stefano Maestri - Why Ethereum and other blockchains are going to Proof of St...
Stefano Maestri - Why Ethereum and other blockchains are going to Proof of St...Stefano Maestri - Why Ethereum and other blockchains are going to Proof of St...
Stefano Maestri - Why Ethereum and other blockchains are going to Proof of St...
 
HASHED LOUNGE Presents: OpenST Mosaic - Scaling blockchain economies to billi...
HASHED LOUNGE Presents: OpenST Mosaic - Scaling blockchain economies to billi...HASHED LOUNGE Presents: OpenST Mosaic - Scaling blockchain economies to billi...
HASHED LOUNGE Presents: OpenST Mosaic - Scaling blockchain economies to billi...
 
Istanbul BFT
Istanbul BFTIstanbul BFT
Istanbul BFT
 
Bitcoin MOOC Lecture 2.pptx
Bitcoin MOOC Lecture 2.pptxBitcoin MOOC Lecture 2.pptx
Bitcoin MOOC Lecture 2.pptx
 
Scaling blockchain poart II: Rollups by Dan Boneh
Scaling blockchain poart II: Rollups by Dan BonehScaling blockchain poart II: Rollups by Dan Boneh
Scaling blockchain poart II: Rollups by Dan Boneh
 
What is Ethereum 2.0
What is Ethereum 2.0 What is Ethereum 2.0
What is Ethereum 2.0
 
Webinar in English for the Token Bridge between RSK and Ethereum
Webinar in English for the Token Bridge between RSK and EthereumWebinar in English for the Token Bridge between RSK and Ethereum
Webinar in English for the Token Bridge between RSK and Ethereum
 
Understanding Blockchain
Understanding BlockchainUnderstanding Blockchain
Understanding Blockchain
 
Scorex meetup-aug-2015
Scorex meetup-aug-2015Scorex meetup-aug-2015
Scorex meetup-aug-2015
 
Hands on with Smart Contracts session #3
Hands on with Smart Contracts session #3Hands on with Smart Contracts session #3
Hands on with Smart Contracts session #3
 
Blockchain and smart contracts day 2
Blockchain and smart contracts day 2Blockchain and smart contracts day 2
Blockchain and smart contracts day 2
 
Ethcon seoul 2019 presentation final
Ethcon seoul 2019 presentation finalEthcon seoul 2019 presentation final
Ethcon seoul 2019 presentation final
 
OpenST Mosaic Protocol introduced at ETH Berlin: Running meta-blockchains on ...
OpenST Mosaic Protocol introduced at ETH Berlin: Running meta-blockchains on ...OpenST Mosaic Protocol introduced at ETH Berlin: Running meta-blockchains on ...
OpenST Mosaic Protocol introduced at ETH Berlin: Running meta-blockchains on ...
 
Blockchain Fundamentals
Blockchain FundamentalsBlockchain Fundamentals
Blockchain Fundamentals
 
EDCON 2017 sharing @Taipei Ethereum Meetup
EDCON 2017 sharing @Taipei Ethereum Meetup EDCON 2017 sharing @Taipei Ethereum Meetup
EDCON 2017 sharing @Taipei Ethereum Meetup
 
D1Conf 2018 | xDai Chain:Decentralized Insurance & the Benefits of the Stable...
D1Conf 2018 | xDai Chain:Decentralized Insurance & the Benefits of the Stable...D1Conf 2018 | xDai Chain:Decentralized Insurance & the Benefits of the Stable...
D1Conf 2018 | xDai Chain:Decentralized Insurance & the Benefits of the Stable...
 

Dernier

Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 

Dernier (20)

Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 

Preston Van Loon | Ethereum 2.0 at CoinFund Rabbithole Talks | February 28, 2019

  • 1. Ethereum 2.0 Coinfund - Rabbithole Talks Preston Van Loon // @preston_vanloon
  • 2. Why Ethereum 2.0? ● Ethereum 1.0 has a theoretical maximum throughput of 27 tx/s (typically max 14tx/s) ● Layer 2 scaling protocols don’t fully satisfy the blockchain trilemma Scalability Decentralization Security
  • 3. Ethereum 2.0 Roadmap Ethereum 1.X Phase 0 Beacon Chain Phase 1 Shard Chains Phase 2 Shards’ EVM (State Execution) Phase 3 Light Clients ● Independent of ETH2.0 ● eWASM ● Storage rent ● State pruning ● Proof of Stake ● Ethereum 1 -> 2 Deposit Contract ● Blockchain Entropy ● Sharding ● Cross links ● Decentralized P2P networking at scale ● Smart Contracts ● eWASM ● Storage/state rent ● Off chain state storage
  • 4. Ethereum 1.x This Rabbithole Talk is a two part series and this part was covered by Lane Rettig earlier in this event. Link to Lane’s slides This slide is not part of the presentation, but available here for a link to more info on Ethereum 1.x.
  • 5. Phase 0 - Beacon Chain Original diagram by Hsiao-Wei Wang Beacon Chain Validator Registry Reward / Penalties Shuffling / Randomness Proof of Stake Finalization ● 1 way deposit via deposit contract ● 32 ETH minimum to join ● 18 ETH ejection balance ● Exits / Withdraws ● Calculated during epoch transition ● Randomly distributed validator pool ● Verifiable delay function (at some point) ● Calculated every epoch ● Validator slashing ● Liveness penalty ● Participation reward ● Block justification via Casper FFG ● Allows finalization of ETH 1.x
  • 6. Phase 0 - Beacon Chain Original diagram by Hsiao-Wei Wang How to become a validator 1. Generate an Ethereum 2.0 validator address and withdrawal address 2. Send 32 ETH deposit with signed information about you as a validator 3. After 1024 PoW blocks, existing validators vote on your deposit 4. After a 16 epoch voting period, your validator enters the activation FIFO queue 5. Activation queue is processed within the maximum validator churn limits Current as of eth2.0-specs@bb44d25
  • 7. Phase 0 - Beacon Chain Original diagram by Hsiao-Wei Wang The role of a validator ● Propose blocks ○ Includes ETH1 data, slashings, voluntary exits, crosslinks (in phase 1) ● Create attestations ○ Attesting to their view of the world by fork choice rule Current as of eth2.0-specs@bb44d25
  • 8. Phase 0 - Beacon Chain Original diagram by Hsiao-Wei Wang ● Blocks are produced every slot (6 seconds) ● An epoch is 64 slots (6.4 minutes) ● Epochs are considered finalized after two justified epochs ● Validator exits are delayed by 4 epochs + churn rate ● Validator withdraws are delayed by 256 epochs (~27 hours) Current as of eth2.0-specs@bb44d25
  • 9. Phase 1 - Shard Chains Shard N Shard 1 ● Mostly research complete ● Introduces the independent shard chains into the system ● Shard chains are linked to the beacon chain by crosslinks once per epoch ● 1024 shards initially ● No meaningful state execution on layer 1… yet ● Data layer available for layer 2 protocol execution Original diagram by Hsiao-Wei Wang
  • 10. Phase 2 - State Execution in Shards ● Replace EVM with eWASM ● Asynchronous cross shard transactions ● Contract yanking (migrating shards) ● Ethereum 2.0 becomes useful to average contract developer / users ● In research and design phase, development likely to start early 2020 ● Development can start in parallel to phase 0 and phase 1
  • 11. Beacon Chain provides random numbers Shard Chain provides data Shard N B1 B2 B3 B4 B5 VM provides state execution result Shard 1 Main Chain provides staking State State State State State PoW Casper / PoS Original diagram by Hsiao-Wei Wang
  • 12. Phase 3 - Light Clients / Stateless Clients ● Minimize on chain data by moving as much as possible off chain ● Likely target beyond 2021 ● Very much still in research ● https://ethresear.ch/tags/stateless
  • 13. The Numbers - Minimum to Start Ethereum 2.0 Amount of ETH to be a Validator = 32 ETH Number of Shards in Ethereum 2.0 = 1024 Shards Minimum Validators per Committee = 111 Validators per Committee Minimum Validators to Start ETH2.0 = 1024 * 111 = 113,664 Validators Minimum Ether at Stake = 113,664 * 32 = 3,637,248 ETH Maximum Annual Validator Rewards = ~4.206% More at https://docs.ethhub.io/ethereum-roadmap/ethereum-2.0/eth-2.0-economics/Current as of eth2.0-specs@bb44d25
  • 14. The Numbers - Ideal for Crosslinking Amount of ETH to be a Validator = 32 ETH Number of Shards in Ethereum 2.0 = 1024 Shards Ideal Minimum Validators per Committee = 256 Validators per Committee Ideal Minimum Validators to for Crosslinking = 1024 * 256 = 262,144 Validators Ether at Stake = 262,144 * 32 = 8,388,608 ETH Annual Validator Rewards = ~2.769% More at https://docs.ethhub.io/ethereum-roadmap/ethereum-2.0/eth-2.0-economics/Current as of eth2.0-specs@bb44d25
  • 15. Ethereum 2.0 - Where Are We Today? Ethereum 1.X Phase 0 Beacon Chain Phase 1 Shard Chains Phase 2 Shards’ EVM (State Execution) Phase 3 Light Clients ● In progress! ● Testnet is months away ● ETA late 2019 ● Research nearly complete ● Development not yet started ● ETA early 2020 ● Research still in progress ● Development from ETH 1.x carries over ● ETA late 2020 or early 2021 ● Minimal research ● ETA 2021 or later Note: Estimates are subject to change and you should not consider this an official timeline!
  • 16. Ethereum 2.0 - Who Is Working On It? More at https://docs.ethhub.io/ethereum-roadmap/ethereum-2.0/eth2.0-teams/teams-building-eth2.0/ Team / Company Name Client Name Primary Language Prysmatic Labs Prysm Go ChainSafe Lodestar JavaScript / TypeScript PegaSys Artemis Java Harmony Harmony Java Parity Substrate Shasper Rust Sigma Prime Lighthouse Rust Status Nimbus Nim Ethereum Foundation Trinity Python Yeeth Yeeth Swift
  • 17. Questions? Preston Van Loon // @preston_vanloon Lane Rettig // @lrettig