Skip to content

Commit 72e312d

Browse files
committed
[genesis] set Palau to activate at 04-04-2023 11pm UTC (#3823)
1 parent 3f6a1e5 commit 72e312d

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

action/protocol/execution/evm/evm_test.go

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,11 +200,20 @@ func TestConstantinople(t *testing.T) {
200200
"io1pcg2ja9krrhujpazswgz77ss46xgt88afqlk6y",
201201
21542760,
202202
},
203-
// after Okhotsk
203+
// Okhotsk - Palau
204204
{
205205
action.EmptyAddress,
206206
21542761,
207207
},
208+
{
209+
"io1pcg2ja9krrhujpazswgz77ss46xgt88afqlk6y",
210+
22991400,
211+
},
212+
// after Palau
213+
{
214+
action.EmptyAddress,
215+
22991401,
216+
},
208217
{
209218
"io1pcg2ja9krrhujpazswgz77ss46xgt88afqlk6y",
210219
math.MaxUint64,

blockchain/genesis/genesis.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func defaultConfig() Genesis {
6969
MidwayBlockHeight: 16509241,
7070
NewfoundlandBlockHeight: 17662681,
7171
OkhotskBlockHeight: 21542761,
72-
PalauBlockHeight: 31542761,
72+
PalauBlockHeight: 22991401,
7373
ToBeEnabledBlockHeight: math.MaxUint64,
7474
},
7575
Account: Account{

blockchain/genesis/heightupgrade_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ func TestNewHeightChange(t *testing.T) {
5353
require.True(cfg.IsNewfoundland(uint64(17662681)))
5454
require.False(cfg.IsOkhotsk(uint64(21542760)))
5555
require.True(cfg.IsOkhotsk(uint64(21542761)))
56-
require.False(cfg.IsPalau(uint64(31542760)))
57-
require.True(cfg.IsPalau(uint64(31542761)))
56+
require.False(cfg.IsPalau(uint64(22991400)))
57+
require.True(cfg.IsPalau(uint64(22991401)))
5858

5959
require.Equal(cfg.PacificBlockHeight, uint64(432001))
6060
require.Equal(cfg.AleutianBlockHeight, uint64(864001))
@@ -74,5 +74,5 @@ func TestNewHeightChange(t *testing.T) {
7474
require.Equal(cfg.MidwayBlockHeight, uint64(16509241))
7575
require.Equal(cfg.NewfoundlandBlockHeight, uint64(17662681))
7676
require.Equal(cfg.OkhotskBlockHeight, uint64(21542761))
77-
require.Equal(cfg.PalauBlockHeight, uint64(31542761))
77+
require.Equal(cfg.PalauBlockHeight, uint64(22991401))
7878
}

0 commit comments

Comments
 (0)