Skip to content

Commit

Permalink
update upgrade height => 101320000
Browse files Browse the repository at this point in the history
  • Loading branch information
viteshan committed Aug 11, 2022
1 parent 2b896ad commit 98e9021
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion common/upgrade/upgrade_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func NewMainnetUpgradeBox() *upgradeBox {
},
{
Name: "Version11",
Height: EndlessHeight,
Height: 101320000,
Version: 11,
},
{
Expand Down
4 changes: 2 additions & 2 deletions common/upgrade/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func TestMainnetUpgradeBox(t *testing.T) {
},
{
IsVersion11Upgrade,
EndlessHeight,
101320000,
},
{
IsVersionXUpgrade,
Expand All @@ -80,7 +80,7 @@ func TestMainnetUpgradeBox(t *testing.T) {
for _, ele := range cases {
testUpgradePoint(t, ele.fc, ele.sHeight)
}
assert.Equal(t, GetLatestPoint().Version, uint32(10))
assert.Equal(t, (int)(GetLatestPoint().Version), 11)
}

func TestLatestUpgradeBox(t *testing.T) {
Expand Down

0 comments on commit 98e9021

Please sign in to comment.