Skip to content

Commit

Permalink
Revert "[genesis] set Vanuatu to activate at Nov-25-2024 01:05:15AM +…
Browse files Browse the repository at this point in the history
…UTC (#4480)"

This reverts commit 2169592.
  • Loading branch information
dustinxie committed Nov 17, 2024
1 parent e3f51ac commit ae65353
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions action/protocol/execution/evm/evm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -260,12 +260,12 @@ func TestConstantinople(t *testing.T) {
},
{
"io1pcg2ja9krrhujpazswgz77ss46xgt88afqlk6y",
33350760,
41174200,
},
// after Vanuatu
{
action.EmptyAddress,
33350761,
41174201,
},
{
"io1pcg2ja9krrhujpazswgz77ss46xgt88afqlk6y",
Expand Down
2 changes: 1 addition & 1 deletion blockchain/genesis/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func defaultConfig() Genesis {
SumatraBlockHeight: 28516681,
TsunamiBlockHeight: 29275561,
UpernavikBlockHeight: 31174201,
VanuatuBlockHeight: 33350761,
VanuatuBlockHeight: 41174201,
ToBeEnabledBlockHeight: math.MaxUint64,
},
Account: Account{
Expand Down
6 changes: 3 additions & 3 deletions blockchain/genesis/heightupgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ func TestNewHeightChange(t *testing.T) {
require.True(cfg.IsTsunami(uint64(29275561)))
require.False(cfg.IsUpernavik(uint64(31174200)))
require.True(cfg.IsUpernavik(uint64(31174201)))
require.False(cfg.IsVanuatu(uint64(33350760)))
require.True(cfg.IsVanuatu(uint64(33350761)))
require.False(cfg.IsVanuatu(uint64(41174200)))
require.True(cfg.IsVanuatu(uint64(41174201)))

require.Equal(cfg.PacificBlockHeight, uint64(432001))
require.Equal(cfg.AleutianBlockHeight, uint64(864001))
Expand All @@ -92,5 +92,5 @@ func TestNewHeightChange(t *testing.T) {
require.Equal(cfg.SumatraBlockHeight, uint64(28516681))
require.Equal(cfg.TsunamiBlockHeight, uint64(29275561))
require.Equal(cfg.UpernavikBlockHeight, uint64(31174201))
require.Equal(cfg.VanuatuBlockHeight, uint64(33350761))
require.Equal(cfg.VanuatuBlockHeight, uint64(41174201))
}

0 comments on commit ae65353

Please sign in to comment.