Commit a97e961 1 parent 6af54b6 commit a97e961 Copy full SHA for a97e961
File tree 3 files changed +14
-5
lines changed
action/protocol/execution/evm
3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -243,11 +243,20 @@ func TestConstantinople(t *testing.T) {
243
243
"io1pcg2ja9krrhujpazswgz77ss46xgt88afqlk6y" ,
244
244
28516680 ,
245
245
},
246
- // after Sumatra
246
+ // after Sumatra - Tsunami
247
247
{
248
248
action .EmptyAddress ,
249
249
28516681 ,
250
250
},
251
+ {
252
+ "io1pcg2ja9krrhujpazswgz77ss46xgt88afqlk6y" ,
253
+ 29378520 ,
254
+ },
255
+ // after Tsunami
256
+ {
257
+ action .EmptyAddress ,
258
+ 29378521 ,
259
+ },
251
260
{
252
261
"io1pcg2ja9krrhujpazswgz77ss46xgt88afqlk6y" ,
253
262
1261440000 , // = 200*365*24*3600/5, around 200 years later
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ func defaultConfig() Genesis {
75
75
QuebecBlockHeight : 24838201 ,
76
76
RedseaBlockHeight : 26704441 ,
77
77
SumatraBlockHeight : 28516681 ,
78
- TsunamiBlockHeight : 38516681 ,
78
+ TsunamiBlockHeight : 29378521 ,
79
79
ToBeEnabledBlockHeight : math .MaxUint64 ,
80
80
},
81
81
Account : Account {
Original file line number Diff line number Diff line change @@ -61,8 +61,8 @@ func TestNewHeightChange(t *testing.T) {
61
61
require .True (cfg .IsRedsea (uint64 (26704441 )))
62
62
require .False (cfg .IsSumatra (uint64 (28516680 )))
63
63
require .True (cfg .IsSumatra (uint64 (28516681 )))
64
- require .False (cfg .IsTsunami (uint64 (38516680 )))
65
- require .True (cfg .IsTsunami (uint64 (38516681 )))
64
+ require .False (cfg .IsTsunami (uint64 (29378520 )))
65
+ require .True (cfg .IsTsunami (uint64 (29378521 )))
66
66
67
67
require .Equal (cfg .PacificBlockHeight , uint64 (432001 ))
68
68
require .Equal (cfg .AleutianBlockHeight , uint64 (864001 ))
@@ -86,5 +86,5 @@ func TestNewHeightChange(t *testing.T) {
86
86
require .Equal (cfg .QuebecBlockHeight , uint64 (24838201 ))
87
87
require .Equal (cfg .RedseaBlockHeight , uint64 (26704441 ))
88
88
require .Equal (cfg .SumatraBlockHeight , uint64 (28516681 ))
89
- require .Equal (cfg .TsunamiBlockHeight , uint64 (38516681 ))
89
+ require .Equal (cfg .TsunamiBlockHeight , uint64 (29378521 ))
90
90
}
You can’t perform that action at this time.
0 commit comments