Bugfix: Use current startup network versions

This commit is contained in:
Aayush Rajasekaran 2021-10-10 11:24:57 -04:00 committed by Jennifer Wang
parent 047f7e5015
commit 42a233c083
5 changed files with 3 additions and 6 deletions

Binary file not shown.

View File

@ -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

View File

@ -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{

View File

@ -4698,7 +4698,7 @@ Inputs:
]
```
Response: `13`
Response: `14`
### StateReadState
StateReadState returns the indicated actor's state.

View File

@ -4948,7 +4948,7 @@ Inputs:
]
```
Response: `13`
Response: `14`
### StateReadState
StateReadState returns the indicated actor's state.