Skip to content

Commit

Permalink
[genesis] set Quebec to activate at 07-20-2023 11pm UTC (#3898)
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinxie committed Jul 5, 2023
1 parent 1668311 commit 020f965
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
Expand Up @@ -217,12 +217,12 @@ func TestConstantinople(t *testing.T) {
},
{
"io1pcg2ja9krrhujpazswgz77ss46xgt88afqlk6y",
24699960,
24838200,
},
// after Quebec
{
action.EmptyAddress,
24699961,
24838201,
},
{
"io1pcg2ja9krrhujpazswgz77ss46xgt88afqlk6y",
Expand Down
2 changes: 1 addition & 1 deletion blockchain/genesis/genesis.go
Expand Up @@ -70,7 +70,7 @@ func defaultConfig() Genesis {
NewfoundlandBlockHeight: 17662681,
OkhotskBlockHeight: 21542761,
PalauBlockHeight: 22991401,
QuebecBlockHeight: 24699961,
QuebecBlockHeight: 24838201,
ToBeEnabledBlockHeight: math.MaxUint64,
},
Account: Account{
Expand Down
6 changes: 3 additions & 3 deletions blockchain/genesis/heightupgrade_test.go
Expand Up @@ -55,8 +55,8 @@ func TestNewHeightChange(t *testing.T) {
require.True(cfg.IsOkhotsk(uint64(21542761)))
require.False(cfg.IsPalau(uint64(22991400)))
require.True(cfg.IsPalau(uint64(22991401)))
require.False(cfg.IsQuebec(uint64(24699960)))
require.True(cfg.IsQuebec(uint64(24699961)))
require.False(cfg.IsQuebec(uint64(24838200)))
require.True(cfg.IsQuebec(uint64(24838201)))

require.Equal(cfg.PacificBlockHeight, uint64(432001))
require.Equal(cfg.AleutianBlockHeight, uint64(864001))
Expand All @@ -77,5 +77,5 @@ func TestNewHeightChange(t *testing.T) {
require.Equal(cfg.NewfoundlandBlockHeight, uint64(17662681))
require.Equal(cfg.OkhotskBlockHeight, uint64(21542761))
require.Equal(cfg.PalauBlockHeight, uint64(22991401))
require.Equal(cfg.QuebecBlockHeight, uint64(24699961))
require.Equal(cfg.QuebecBlockHeight, uint64(24838201))
}

0 comments on commit 020f965

Please sign in to comment.