File tree Expand file tree Collapse file tree 5 files changed +18
-6
lines changed Expand file tree Collapse file tree 5 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 13
13
from .constants import (
14
14
MAINNET_CHAIN_ID ,
15
15
BYZANTIUM_MAINNET_BLOCK ,
16
- CONSTANTINOPLE_MAINNET_BLOCK ,
16
+ PETERSBURG_MAINNET_BLOCK ,
17
17
TANGERINE_WHISTLE_MAINNET_BLOCK ,
18
18
HOMESTEAD_MAINNET_BLOCK ,
19
19
SPURIOUS_DRAGON_MAINNET_BLOCK ,
29
29
from eth .vm .base import BaseVM # noqa: F401
30
30
from eth .vm .forks import (
31
31
ByzantiumVM ,
32
- ConstantinopleVM ,
33
32
FrontierVM ,
34
33
HomesteadVM ,
34
+ PetersburgVM ,
35
35
SpuriousDragonVM ,
36
36
TangerineWhistleVM ,
37
37
)
@@ -80,15 +80,15 @@ class MainnetHomesteadVM(MainnetDAOValidatorVM):
80
80
TANGERINE_WHISTLE_MAINNET_BLOCK ,
81
81
SPURIOUS_DRAGON_MAINNET_BLOCK ,
82
82
BYZANTIUM_MAINNET_BLOCK ,
83
- CONSTANTINOPLE_MAINNET_BLOCK ,
83
+ PETERSBURG_MAINNET_BLOCK ,
84
84
)
85
85
MAINNET_VMS = (
86
86
FrontierVM ,
87
87
MainnetHomesteadVM ,
88
88
TangerineWhistleVM ,
89
89
SpuriousDragonVM ,
90
90
ByzantiumVM ,
91
- ConstantinopleVM ,
91
+ PetersburgVM ,
92
92
)
93
93
94
94
MAINNET_VM_CONFIGURATION = tuple (zip (MAINNET_FORK_BLOCKS , MAINNET_VMS ))
Original file line number Diff line number Diff line change 39
39
BYZANTIUM_MAINNET_BLOCK = BlockNumber (4370000 )
40
40
41
41
#
42
- # Constantinople Block
42
+ # Petersburg Block
43
43
#
44
- CONSTANTINOPLE_MAINNET_BLOCK = BlockNumber (9876543210 )
44
+ PETERSBURG_MAINNET_BLOCK = BlockNumber (7280000 )
Original file line number Diff line number Diff line change 4
4
from .constants import (
5
5
BYZANTIUM_ROPSTEN_BLOCK ,
6
6
CONSTANTINOPLE_ROPSTEN_BLOCK ,
7
+ PETERSBURG_ROPSTEN_BLOCK ,
7
8
ROPSTEN_CHAIN_ID ,
8
9
SPURIOUS_DRAGON_ROPSTEN_BLOCK ,
9
10
TANGERINE_WHISTLE_ROPSTEN_BLOCK ,
16
17
from eth .vm .forks import (
17
18
ByzantiumVM ,
18
19
ConstantinopleVM ,
20
+ PetersburgVM ,
19
21
SpuriousDragonVM ,
20
22
TangerineWhistleVM ,
21
23
)
27
29
(SPURIOUS_DRAGON_ROPSTEN_BLOCK , SpuriousDragonVM ),
28
30
(BYZANTIUM_ROPSTEN_BLOCK , ByzantiumVM ),
29
31
(CONSTANTINOPLE_ROPSTEN_BLOCK , ConstantinopleVM ),
32
+ (PETERSBURG_ROPSTEN_BLOCK , PetersburgVM ),
30
33
)
31
34
32
35
Original file line number Diff line number Diff line change 40
40
# Constantinople
41
41
#
42
42
CONSTANTINOPLE_ROPSTEN_BLOCK = BlockNumber (4230000 )
43
+
44
+
45
+ #
46
+ # Petersburg
47
+ #
48
+ PETERSBURG_ROPSTEN_BLOCK = BlockNumber (9999999 )
Original file line number Diff line number Diff line change 16
16
from .constantinople import ( # noqa: F401
17
17
ConstantinopleVM ,
18
18
)
19
+ from .petersburg import ( # noqa: F401
20
+ PetersburgVM ,
21
+ )
You can’t perform that action at this time.
0 commit comments