enums.py 695 B

123456789101112131415161718192021222324252627282930313233
  1. """
  2. Fork names for Ethereum network upgrades.
  3. """
  4. class ForkName:
  5. """
  6. Constants for each fork name.
  7. .. doctest::
  8. >>> from eth_typing import ForkName
  9. >>> ForkName.Frontier
  10. 'Frontier'
  11. """
  12. Frontier = "Frontier"
  13. Homestead = "Homestead"
  14. EIP150 = "EIP150"
  15. EIP158 = "EIP158"
  16. Byzantium = "Byzantium"
  17. Constantinople = "Constantinople"
  18. Metropolis = "Metropolis"
  19. ConstantinopleFix = "ConstantinopleFix"
  20. Istanbul = "Istanbul"
  21. Berlin = "Berlin"
  22. London = "London"
  23. ArrowGlacier = "ArrowGlacier"
  24. GrayGlacier = "GrayGlacier"
  25. Paris = "Paris"
  26. Shanghai = "Shanghai"
  27. Cancun = "Cancun"
  28. Prague = "Prague"