From e951d1a655b3ff97921beb94b41b6c93353853ca Mon Sep 17 00:00:00 2001 From: Aayush Rajasekaran Date: Sun, 10 Oct 2021 11:24:57 -0400 Subject: [PATCH] Bugfix: Use current startup network versions --- build/params_shared_vals.go | 2 +- chain/stmgr/stmgr.go | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/build/params_shared_vals.go b/build/params_shared_vals.go index 5b6197d9bd1..22d1c30e302 100644 --- a/build/params_shared_vals.go +++ b/build/params_shared_vals.go @@ -28,7 +28,7 @@ const UnixfsLinksPerLevel = 1024 const AllowableClockDriftSecs = uint64(1) // TODO: This is still terrible...What's the impact of updating this before mainnet actually upgrades -const NewestNetworkVersion = network.Version13 +const NewestNetworkVersion = network.Version14 // Epochs const ForkLengthThreshold = Finality diff --git a/chain/stmgr/stmgr.go b/chain/stmgr/stmgr.go index a3f17cd41e8..67c0bdb6a91 100644 --- a/chain/stmgr/stmgr.go +++ b/chain/stmgr/stmgr.go @@ -134,9 +134,6 @@ func NewStateManager(cs *store.ChainStore, exec Executor, sys vm.SyscallBuilder, }) lastVersion = upgrade.Network } - } else { - // Otherwise, go directly to the latest version. - lastVersion = build.NewestNetworkVersion } return &StateManager{