Back to Course

3. Advanced Course

0% Complete
0/0 Steps
  1. 1. What is Taproot?
  2. 2. Blockchain bridges – what are they?
  3. 3. What is Ethereum Plasma?
  4. 4. What is Ethereum Casper?
  5. 5. What is Zk-SNARK and Zk-STARK? 
  6. 6. What is Selfish Mining? 
  7. 7. What is spoofing in the cryptocurrency market? 
  8. 8. Schnorr signatures - what are they? 
  9. 9. MimbleWimble - what is it? 
  10. 10. What is digital property rights in NFT?
  11. 11. What are ETFs and what role do they play in the cryptocurrency market? 
  12. 12. How to verify a cryptocurrency project – cryptocurrency tokenomics 
  13. 13. What is the 51% attack on blockchain?
  14. 14. What is DAO, and how does it work?
  15. 15. Zero-knowledge proof – a protocol that respects privacy 
  16. 16. What is EOSREX?
  17. 17. What is Proof of Elapsed Time (PoET)?
  18. 18. Mirror Protocol – what it is? 
  19. 19. What are synthetic assets? 
  20. 20. How to create your own NFT? 
  21. 21. Definition of DeFi, and what are its liquidations?
  22. 22. New identity system - Polygon ID
  23. 23. Ethereum Foundation and the Scroll protocol - what is it?
  24. 24. What is Byzantine fault tolerance in blockchain technology?
  25. 25. Scalability of blockchain technology - what is it?
  26. 26. Interchain Security - new Cosmos (ATOM) protocol
  27. 27. Coin Mixing vs. Coin Join - definition, opportunities, and threats
  28. 28. What is Ethereum Virtual Machine (EVM) and how does it work?
  29. 29. Soulbound Tokens - what are they, and how do they work?
  30. 30. Definition of LIDO - what is it?
  31. 31. What are Threshold Signatures, and how do they work?
  32. 32. Blockchain technology and cyberattacks.
  33. 33. Bitcoin script - what it is, and what you should know about it.
  34. 34. What is zkEVM, and what are its basic features?
  35. 35. Do confidential transactions on blockchain exist? What is a Confidential Transaction?
  36. 36. Algorithmic stablecoins - everything you should know about them.
  37. 37. Polygon Zk Rollups ZKP - what should you know about it?
  38. 38. What is Web3 Infura?
  39. 39. Mantle - Ethereum L2 scalability - how does it work?
  40. 40. What is the NEAR Rainbow Bridge?
  41. 41. Liquid Staking Ethereum and LSD tokens. What do you need to know about it?
  42. 42. Top 10 blockchain oracles. How do they work? How do they differ?
  43. 43. What are Web3.js and Ether.js? What are the main differences between them?
  44. 44. What is StarkWare, and recursive validity proofs
  45. 45. Quant Network: scalability of the future
  46. 46. Polygon zkEVM - everything you need to know
  47. 47. What is Optimism (OP), and how do its roll-ups work?
  48. 48. What are RPC nodes, and how do they work?
  49. 49. SEI Network: everything you need to know about the Tier 1 solution for DeFi
  50. 50. Types of Proof-of-Stake Consensus Mechanisms: DPoS, LPoS and BPoS
  51. 51. Bedrock: the epileptic curve that ensures security!
  52. 52. What is Tendermint, and how does it work?
  53. 53. Pantos: how to solve the problem of token transfer between blockchains?
  54. 54. What is asymmetric encryption?
  55. 55. Base-58 Function in Cryptocurrencies
  56. 56. What Is the Nostr Protocol and How Does It Work?
  57. 57. What Is the XDAI Bridge and How Does It Work?
  58. 58. Solidity vs. Rust: What Are the Differences Between These Programming Languages?
  59. 59. What Is a Real-Time Operating System (RTOS)?
  60. 60. What Is the Ethereum Rinkeby Testnet and How Does It Work?
  61. 61. What Is Probabilistic Encryption?
  62. 62. What is a Pinata in Web 3? We explain!
  63. 63. What Is EIP-4337? Will Ethereum Account Abstraction Change Web3 Forever?
  64. 64. What are smart contract audits? Which companies are involved?
  65. 65. How does the AirGapped wallet work?
  66. 66. What is proto-danksharding (EIP-4844) on Ethereum?
  67. 67. What is decentralised storage and how does it work?
  68. 68. How to Recover Cryptocurrencies Sent to the Wrong Address or Network: A Practical Guide
  69. 69. MPC Wallet and Multilateral Computing: Innovative Technology for Privacy and Security
  70. 70. Threshold signature in cryptography: an advanced signing technique!
  71. 71. Vanity address in cryptocurrencies: what is it and what are its characteristics?
  72. 72. Reentrancy Attack on smart contracts: a threat to blockchain security!
  73. 73. Slither: a static analyser for smart contracts!
  74. 74. Sandwich Attack at DeFi: explanation and risks!
  75. 75. Blockchain RPC for Web3: A key technology in the world of decentralized finance!
  76. 76. Re-staking: the benefits of re-posting in staking!
  77. 77. Base: Evolving cryptocurrency transactions with a tier-2 solution from Coinbase
  78. 78. IPFS: A new era of decentralized data storage
  79. 79. Typical vulnerabilities and bridge security in blockchain technology
  80. 80. JumpNet - Ethereum's new sidechain
Lesson 51 of 80
In Progress

51. Bedrock: the epileptic curve that ensures security!

Ethereum’s scaling protocol Optimism (OP), which operates as a Layer two (L2) network, has announced plans to upgrade its network in March 2023. The upgrade is called ‘Bedrock’. It aims to increase transfer speeds, reduce fees and increase compatibility with the Ethereum Virtual Machine (EVM). As stated on the Optimism Foundation’s official website, the Bedrock update is an important step towards the future of multi-chain.

In short, Bedrock is a set of free and open source modular components that work together to run Optimism (OP).

In the following sections, you will learn what Bedrock is and how it works. So – here we go!

What is a Bedrock upgrade?

Optimism is Ethereum’s layer two (L2) scaling solution. In March 2023, the network released its first update – Bedrock. What is this update? It is the release of OP Stack, a set of modular components that power the Optimism network.

Bedrock is designed to improve transfer fees through optimized data compression. It also reduces deposit times through more efficient handling of L1 re-orgs, modular proof-of-concept systems and improved node performance. Furthermore, Bedrock is very tightly compatible with Ethereum.

The OP stack supports Ethereum-aligned design principles such as EIP-1559 and modularity. The upgrade itself took about four hours and was virtually unnoticeable to users. They did not have to take any action, and despite the upgrade, the historical data is still available.

Improvements brought by the Bedrock update

Bedrock is definitely better than its predecessor. Let us now take a detailed look at all the processes this update brings.

  1. Lower transaction fees.

Bedrock implements an optimized data compression strategy. In addition, all gas costs associated with EVM when transferring data on Layer 1 (L1) are eliminated. This reduces fees by a further 10% compared to the previous version of the protocol.

  1. Shorter deposit and data.

With the upgrade, support for Layer 1 (L1) re-orgs has been introduced in the node software. This reduces the time users have to wait for deposits. In a previous version of the protocol, such actions took up to 10 minutes! With Bedrock, confirmation takes no longer than 3 minutes.

  1. New modularity of proof.

Bedrock moves the proof system to the OP stack. As a result, the rollup uses an error or identity proof (e.g. zk- SNARK). By using this solution, Bedrock can use systems such as Cannon (open new windows) to prove errors in the system.

  1. Improved node performance.

Node performance has been improved by allowing multiple transactions to be executed in a single rollup block. In the previous version, one transaction was executed per block. The new solution amortizes the cost of updating the trie merkle across multiple transactions.

In addition, node performance has been improved by eliminating technical debt from the previous version of the protocol. What is being referred to? To the elimination of the need for a separate node for layer 1(L1) indexing and updating the node’s software to search for layer 1 (L1) transaction data.

  1. Greater compatibility with Ethereum.

This is essentially what Bedrock was designed to do. In this update, many ‘bugs’ of the previous protocol were fixed. These include:

  • Removal of the “one transaction per block” model.
  • The removal of opcodes.
  • The separation of L1/L2 charges.
  • The rejection of the non-standard ERC-20 representation for ETH balances.

Importantly, in Bedrock we have support for EIP-1559, chain reorgs or other Ethereum features at Layer 1.

How was Bedrock built?

Bedrock is built to be extensible. It is very similar to Ethereum.

One of its main features is modularity. This means that we can easily replace different components in the OP stack and add new ones. The interfaces and versioning schemes are very well defined. The architecture is flexible enough to easily adapt to future changes in the Ethereum ecosystem.

Another feature is that the existing Ethereum architecture and infrastructure is used as much as possible. In this way, the OP stack uses the security and code base that the Ethereum mainnet also uses. Example: EVM contracts, instead of precompiled client code or the Cannon system.

What else should you know about Bedrock?

The update introduces separation between the execution client and the rollup node.

The execution client is the system where sequencers and other node operators determine the state of the layer 2 (L2) chain. They also perform other functions, such as processing incoming transactions or handling system state.

In the case of Bedrock, the OP stack is designed to leverage the Ethereum Execution Client specification and its many implementations. In this version, the update presents us with a very limited modification of go-ethereum, the most popular Ethereum client written in Go (less than 2000 lines of code).

Interestingly, in the case of Bedrock, we have no proof-of-stake consensus. Instead, the consensus is defined by block derivation. The execution client of the OP stack communicates with a new component that implements this block derivation, called a rollup node. Such a node then communicates with the execution client via the same API engine that Ethereum uses. A rollup is a component of the network that is responsible for deriving the state of the system (by reading data and deposits on L1). In the case of Bedrock, such a rollup can be used to order transactions coming in from users or other rollups.

Summary

As predicted by experts, Bedrock has brought significant changes to both the Optimism ecosystem and Ethereum. We expect that with this solution, the adoption of decentralized finance (DeFi) will also increase as it becomes easier for developers to deploy dApps.