File tree 5 files changed +9
-9
lines changed
5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -128,11 +128,11 @@ func TestConstantinople(t *testing.T) {
128
128
// after Greenland
129
129
{
130
130
action .EmptyAddress ,
131
- 5553721 ,
131
+ 6544441 ,
132
132
},
133
133
{
134
134
"io1pcg2ja9krrhujpazswgz77ss46xgt88afqlk6y" ,
135
- 5553721 ,
135
+ 6544441 ,
136
136
},
137
137
}
138
138
Original file line number Diff line number Diff line change @@ -1957,7 +1957,7 @@ func TestProtocol_HandleConsignmentTransfer(t *testing.T) {
1957
1957
// case X: success
1958
1958
{
1959
1959
identityset .PrivateKey (32 ).HexString (),
1960
- 5553821 ,
1960
+ 6544441 ,
1961
1961
identityset .Address (1 ),
1962
1962
false ,
1963
1963
"Ethereum" ,
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ func defaultConfig() Genesis {
57
57
EasterBlockHeight : 4478761 ,
58
58
FbkMigrationBlockHeight : 5157001 ,
59
59
FairbankBlockHeight : 5165641 ,
60
- GreenlandBlockHeight : 5553721 ,
60
+ GreenlandBlockHeight : 6544441 ,
61
61
},
62
62
Account : Account {
63
63
InitBalanceMap : make (map [string ]string ),
Original file line number Diff line number Diff line change 31
31
HeightName int
32
32
33
33
// HeightUpgrade lists heights at which certain fixes take effect
34
- // prior to Dardanelles, each epoch consists of 360 sub-epochs
34
+ // prior to Dardanelles, each epoch consists of 360 blocks (10s/block)
35
35
// so height = 360k + 1
36
- // starting Dardanelles, each epoch consists of 720 sub-epochs
36
+ // starting Dardanelles, each epoch consists of 720 blocks (5s/block)
37
37
// however, DardanellesHeight is set to 360(2k + 1) + 1 (instead of 720k + 1)
38
38
// so height afterwards must be set to 360(2k + 1) + 1
39
39
HeightUpgrade struct {
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ func TestNewHeightChange(t *testing.T) {
48
48
require .True (hu .IsPost (Fairbank , uint64 (5165641 )))
49
49
require .True (hu .IsPre (FbkMigration , uint64 (5157000 )))
50
50
require .True (hu .IsPost (FbkMigration , uint64 (5157001 )))
51
- require .True (hu .IsPre (Greenland , uint64 (5553720 )))
52
- require .True (hu .IsPost (Greenland , uint64 (5553721 )))
51
+ require .True (hu .IsPre (Greenland , uint64 (6544440 )))
52
+ require .True (hu .IsPost (Greenland , uint64 (6544441 )))
53
53
require .Panics (func () {
54
54
hu .IsPost (- 1 , 0 )
55
55
})
@@ -63,5 +63,5 @@ func TestNewHeightChange(t *testing.T) {
63
63
require .Equal (hu .EasterBlockHeight (), uint64 (4478761 ))
64
64
require .Equal (hu .FairbankBlockHeight (), uint64 (5165641 ))
65
65
require .Equal (hu .FbkMigrationBlockHeight (), uint64 (5157001 ))
66
- require .Equal (hu .GreenlandBlockHeight (), uint64 (5553721 ))
66
+ require .Equal (hu .GreenlandBlockHeight (), uint64 (6544441 ))
67
67
}
You can’t perform that action at this time.
0 commit comments