-
Notifications
You must be signed in to change notification settings - Fork 666
/
Copy pathconstants.py
80 lines (59 loc) · 1.17 KB
/
constants.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
from eth_typing import (
BlockNumber,
)
# https://github.com/ethereum/EIPs/blob/master/EIPS/eip-155.md
MAINNET_CHAIN_ID = 1
# Fork Blocks listed in ascending order
#
# Homestead Block
#
HOMESTEAD_MAINNET_BLOCK = BlockNumber(1150000)
#
# DAO Block
#
DAO_FORK_MAINNET_BLOCK = BlockNumber(1920000)
DAO_FORK_MAINNET_EXTRA_DATA = b"dao-hard-fork"
#
# Tangerine Whistle Block
#
TANGERINE_WHISTLE_MAINNET_BLOCK = BlockNumber(2463000)
#
# Spurious Dragon Block
#
SPURIOUS_DRAGON_MAINNET_BLOCK = BlockNumber(2675000)
#
# Byzantium Block
#
BYZANTIUM_MAINNET_BLOCK = BlockNumber(4370000)
#
# Petersburg Block
#
PETERSBURG_MAINNET_BLOCK = BlockNumber(7280000)
#
# Istanbul Block
#
ISTANBUL_MAINNET_BLOCK = BlockNumber(9069000)
#
# Muir Glacier Block
#
MUIR_GLACIER_MAINNET_BLOCK = BlockNumber(9200000)
#
# Berlin Block
#
BERLIN_MAINNET_BLOCK = BlockNumber(12244000)
#
# London Block
#
LONDON_MAINNET_BLOCK = BlockNumber(12965000)
#
# Arrow Glacier Block
#
ARROW_GLACIER_MAINNET_BLOCK = BlockNumber(13773000)
#
# Gray Glacier Block
#
GRAY_GLACIER_MAINNET_BLOCK = BlockNumber(15050000)
#
# Paris Block (block height at which TTD was reached)
#
PARIS_MAINNET_BLOCK = BlockNumber(15537394)