Skip to content

Commit

Permalink
Revert "params: revert ETC networks configs to pre-ECIP1078" (#145)
Browse files Browse the repository at this point in the history
This reverts commit f9c254e.
  • Loading branch information
meowsbits committed Feb 13, 2020
1 parent 25ef332 commit 4d4cf33
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 13 deletions.
22 changes: 13 additions & 9 deletions params/config_classic.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,21 +54,25 @@ var (
EIP214FBlock: big.NewInt(8772000),
EIP658FBlock: big.NewInt(8772000),

// Constantinople eq
// Constantinople eq, aka Agharta
EIP145FBlock: big.NewInt(9573000),
EIP1014FBlock: big.NewInt(9573000),
EIP1052FBlock: big.NewInt(9573000),

// Istanbul eq
EIP152FBlock: big.NewInt(10500839),
EIP1108FBlock: big.NewInt(10500839),
EIP1344FBlock: big.NewInt(10500839),
// Istanbul eq, aka Aztlan
// ECIP-1061
EIP152FBlock: big.NewInt(10_500_839),
EIP1108FBlock: big.NewInt(10_500_839),
EIP1344FBlock: big.NewInt(10_500_839),
EIP1884FBlock: nil,
EIP2028FBlock: big.NewInt(10500839),
EIP2200FBlock: big.NewInt(10500839), // RePetersburg (=~ re-1283)
EIP2028FBlock: big.NewInt(10_500_839),
EIP2200FBlock: big.NewInt(10_500_839), // RePetersburg (=~ re-1283)

EIP1283FBlock: nil,
PetersburgBlock: nil, // Un1283
// ECIP-1078, aka Phoenix Fix
EIP2200DisableFBlock: big.NewInt(10_500_839),
EIP1283FBlock: big.NewInt(10_500_839),
EIP1706FBlock: big.NewInt(10_500_839),
ECIP1080FBlock: big.NewInt(10_500_839),

DisposalBlock: big.NewInt(5900000),
ECIP1017FBlock: big.NewInt(5000000),
Expand Down
11 changes: 9 additions & 2 deletions params/config_kotti.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,26 @@ var (
EIP214FBlock: big.NewInt(716617),
EIP658FBlock: big.NewInt(716617),

// Constantinople eq
// Constantinople eq, aka Agharta
EIP145FBlock: big.NewInt(1705549),
EIP1014FBlock: big.NewInt(1705549),
EIP1052FBlock: big.NewInt(1705549),

// Istanbul eq
// Istanbul eq, aka Aztlan
// ECIP-1061
EIP152FBlock: big.NewInt(2058191),
EIP1108FBlock: big.NewInt(2058191),
EIP1344FBlock: big.NewInt(2058191),
EIP1884FBlock: nil,
EIP2028FBlock: big.NewInt(2058191),
EIP2200FBlock: big.NewInt(2058191), // RePetersburg (== re-1283)

// ECIP-1078, aka Phoenix Fix
EIP2200DisableFBlock: big.NewInt(2_208_203),
EIP1283FBlock: big.NewInt(2_208_203),
EIP1706FBlock: big.NewInt(2_208_203),
ECIP1080FBlock: big.NewInt(2_208_203),

ECIP1017FBlock: big.NewInt(5000000),
ECIP1017EraRounds: big.NewInt(5000000),

Expand Down
11 changes: 9 additions & 2 deletions params/config_mordor.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,26 @@ var (
EIP214FBlock: big.NewInt(0),
EIP658FBlock: big.NewInt(0),

// Constantinople eq
// Constantinople eq, aka Agharta
EIP145FBlock: big.NewInt(301243),
EIP1014FBlock: big.NewInt(301243),
EIP1052FBlock: big.NewInt(301243),

// Istanbul eq
// Istanbul eq, aka Aztlan
// ECIP-1061
EIP152FBlock: big.NewInt(778507),
EIP1108FBlock: big.NewInt(778507),
EIP1344FBlock: big.NewInt(778507),
EIP1884FBlock: nil,
EIP2028FBlock: big.NewInt(778507),
EIP2200FBlock: big.NewInt(778507), // RePetersburg (== re-1283)

// ECIP-1078, aka Phoenix Fix
EIP2200DisableFBlock: big.NewInt(976_231),
EIP1283FBlock: big.NewInt(976_231),
EIP1706FBlock: big.NewInt(976_231),
ECIP1080FBlock: big.NewInt(976_231),

DisposalBlock: big.NewInt(0),
ECIP1017FBlock: big.NewInt(0),
ECIP1017EraRounds: big.NewInt(2000000),
Expand Down

0 comments on commit 4d4cf33

Please sign in to comment.