Skip to content

Commit

Permalink
set Iceland to activate at 7-22-2021 2pm PDT (#2721)
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinxie committed Jul 6, 2021
1 parent d181667 commit 812b27f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion blockchain/genesis/genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func defaultConfig() Genesis {
FairbankBlockHeight: 5165641,
GreenlandBlockHeight: 6544441,
HawaiiBlockHeight: 11267641,
IcelandBlockHeight: 21267641,
IcelandBlockHeight: 12289321,
},
Account: Account{
InitBalanceMap: make(map[string]string),
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 @@ -40,8 +40,8 @@ func TestNewHeightChange(t *testing.T) {
require.True(cfg.IsGreenland(uint64(6544441)))
require.False(cfg.IsHawaii(uint64(11267640)))
require.True(cfg.IsHawaii(uint64(11267641)))
require.False(cfg.IsIceland(uint64(21267640)))
require.True(cfg.IsIceland(uint64(21267641)))
require.False(cfg.IsIceland(uint64(12289320)))
require.True(cfg.IsIceland(uint64(12289321)))

require.Equal(cfg.PacificBlockHeight, uint64(432001))
require.Equal(cfg.AleutianBlockHeight, uint64(864001))
Expand All @@ -54,5 +54,5 @@ func TestNewHeightChange(t *testing.T) {
require.Equal(cfg.FbkMigrationBlockHeight, uint64(5157001))
require.Equal(cfg.GreenlandBlockHeight, uint64(6544441))
require.Equal(cfg.HawaiiBlockHeight, uint64(11267641))
require.Equal(cfg.IcelandBlockHeight, uint64(21267641))
require.Equal(cfg.IcelandBlockHeight, uint64(12289321))
}

0 comments on commit 812b27f

Please sign in to comment.