Skip to content

Commit 46eedf3

Browse files
committed
[genesis] set Tsunami to activate at 04-03-2024 00:52:05 AM +UTC
1 parent a97e961 commit 46eedf3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

action/protocol/execution/evm/evm_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -250,12 +250,12 @@ func TestConstantinople(t *testing.T) {
250250
},
251251
{
252252
"io1pcg2ja9krrhujpazswgz77ss46xgt88afqlk6y",
253-
29378520,
253+
29275560,
254254
},
255255
// after Tsunami
256256
{
257257
action.EmptyAddress,
258-
29378521,
258+
29275561,
259259
},
260260
{
261261
"io1pcg2ja9krrhujpazswgz77ss46xgt88afqlk6y",

blockchain/genesis/genesis.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func defaultConfig() Genesis {
7575
QuebecBlockHeight: 24838201,
7676
RedseaBlockHeight: 26704441,
7777
SumatraBlockHeight: 28516681,
78-
TsunamiBlockHeight: 29378521,
78+
TsunamiBlockHeight: 29275561,
7979
ToBeEnabledBlockHeight: math.MaxUint64,
8080
},
8181
Account: Account{

blockchain/genesis/heightupgrade_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ func TestNewHeightChange(t *testing.T) {
6161
require.True(cfg.IsRedsea(uint64(26704441)))
6262
require.False(cfg.IsSumatra(uint64(28516680)))
6363
require.True(cfg.IsSumatra(uint64(28516681)))
64-
require.False(cfg.IsTsunami(uint64(29378520)))
65-
require.True(cfg.IsTsunami(uint64(29378521)))
64+
require.False(cfg.IsTsunami(uint64(29275560)))
65+
require.True(cfg.IsTsunami(uint64(29275561)))
6666

6767
require.Equal(cfg.PacificBlockHeight, uint64(432001))
6868
require.Equal(cfg.AleutianBlockHeight, uint64(864001))
@@ -86,5 +86,5 @@ func TestNewHeightChange(t *testing.T) {
8686
require.Equal(cfg.QuebecBlockHeight, uint64(24838201))
8787
require.Equal(cfg.RedseaBlockHeight, uint64(26704441))
8888
require.Equal(cfg.SumatraBlockHeight, uint64(28516681))
89-
require.Equal(cfg.TsunamiBlockHeight, uint64(29378521))
89+
require.Equal(cfg.TsunamiBlockHeight, uint64(29275561))
9090
}

0 commit comments

Comments
 (0)