🔮
Ethereum
  • General
    • What is Ethereum
      • Ethereum & Bitcoin General Comparison
      • Singleton State
      • The Ethereum Virtual Machine (EVM)
      • Opcodes (operation codes) EVM
      • Ethereum Client
      • Forks
      • Gas (wei)
        • EIP-1559
        • Table Conversion (wei)
      • Proof of Stake (PoS)
      • Proof of Authority (PoA)
      • The Beacon Chain
      • Networks
        • Ethereum mainnet
        • Goerli
      • Account-based model & UTXO-based model
      • Externally Owned Account (EOA)
      • Node Clients
        • Geth
        • Nethermind
      • Contract Account
      • Smart Contract Upgradeability
      • Ultrasound Money
      • Merkle Trees
        • Patricia Merkle Tree
      • Tries
        • State Trie
        • Storage Trie
        • Transactions Trie
        • Receipts Trie
      • Transactions
        • Ethereum Transaction Architecture
      • World State
        • Chain of States
        • Chain of Blocks
        • Stack of Transactions / Mempool
      • Contract Creation
      • Message Call Transaction
      • P2P Network
      • Web3.js
      • Ether.js
        • Smart Contract Interaction Example
      • Web3.js vs Ether.js
      • Node Providers
      • ENS (Ethereum Name Service)
      • Web3 dapp
      • Escrow
      • Multi-signature
      • ERC-20 tokens
        • Send ERC20s to Contracts
      • NFTs
        • ERC-721 and ERC-1155
      • Solidity
        • State Variables
        • Data Location
        • Numbers
        • Modifiers
        • View & Pure Modifiers
        • Data Types
          • Modifiers
          • Modifiers (Functions)
          • Address & Address Payable
        • Hardhat
        • Payable Functions
        • Receive Function
        • Fallback Function
        • Global Variables
        • Self Destruct
        • Create2 Function
        • Revert function
        • Require function
        • Assert Function
        • Calldata
        • Interface
        • Mapping
        • Array
        • Struct
        • Inheritance
          • Virtual & Overwrite
          • Multiple inheritance
          • Hierarchical Inheritance
        • Events
          • Indexed (keyword)
          • LOG0 - LOG4
        • Multi-signature Example
        • Smart Contracts
          • Context
      • Application Binary Interface (ABI )
  • Extras
    • Terminology
      • Bytecode
      • Keccak-256
      • Turing complete
Powered by GitBook
On this page
  1. General
  2. What is Ethereum
  3. World State

Chain of States

A chain of states in Ethereum refers to the sequence of states that have been created over time in the Ethereum blockchain. Each block in the Ethereum blockchain contains a state root, which is a hash of the world state at the time the block was created. When a new block is added to the blockchain, it includes a reference to the previous block's state root, thus forming a chain of states.

This chain of states allows for the verification and validation of transactions that have occurred on the Ethereum blockchain. By looking at the chain of states, one can determine the current state of any account on the blockchain, including its balance and smart contract code. Additionally, the chain of states provides a historical record of all transactions that have occurred on the Ethereum blockchain, enabling transparency and accountability within the network.

Visual Representation

Block 1       Block 2       Block 3       Block 4
+---------+   +---------+   +---------+   +---------+
| State 1 |←--+| State 2 |←--+| State 3 |←--+| State 4 |
+---------+   +---------+   +---------+   +---------+

In this example, each block contains a snapshot of the current state of the Ethereum blockchain. As new transactions are added to the network, they are processed and validated by miners, and the resulting changes to the state are recorded in new blocks. Each block contains a reference to the previous block in the chain, creating a linked list of states that can be traced back to the beginning of the blockchain.

PreviousWorld StateNextChain of Blocks

Last updated 2 years ago