-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to specs-actors v0.9.8 #3725
Conversation
chain/gen/genesis/genesis.go
Outdated
nwv := func(context.Context, abi.ChainEpoch) runtime.NetworkVersion { | ||
return runtime.NetworkVersion1 | ||
nwv := func(context.Context, abi.ChainEpoch) network.Version { | ||
return network.Version1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not Version2?
Also, I feel like this belongs in build/
, NewNetworkVersion
or something like that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NewestNetworkVersion
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeeee, fixed (and also in genesis miners setup)
chain/stmgr/stmgr.go
Outdated
@@ -1124,14 +1124,14 @@ func (sm *StateManager) GetCirculatingSupply(ctx context.Context, height abi.Cha | |||
return csi.FilCirculating, nil | |||
} | |||
|
|||
func (sm *StateManager) GetNtwkVersion(ctx context.Context, height abi.ChainEpoch) runtime.NetworkVersion { | |||
func (sm *StateManager) GetNtwkVersion(ctx context.Context, height abi.ChainEpoch) network.Version { | |||
if build.UpgradeBreezeHeight == 0 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be hardcoded at -1 now for devnets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
dd5cb41
to
b00cd87
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 Nit
Merging so we can cut an RC, but post-merge review still welcome |
This is actually fully backwards-compatible with v0.9.7, so we could just merge into master, but might as well send it into the staging branch.