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 fb4ef413f4
commit 23c6597836
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

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

View File

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