Skip to content
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

Merged
merged 8 commits into from
Sep 10, 2020
Merged

Update to specs-actors v0.9.8 #3725

merged 8 commits into from
Sep 10, 2020

Conversation

arajasek
Copy link
Contributor

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.

nwv := func(context.Context, abi.ChainEpoch) runtime.NetworkVersion {
return runtime.NetworkVersion1
nwv := func(context.Context, abi.ChainEpoch) network.Version {
return network.Version1
Copy link
Contributor

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

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NewestNetworkVersion?

Copy link
Contributor Author

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)

@@ -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 {
Copy link
Contributor

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

@magik6k magik6k added the P0 P0: Critical Blocker label Sep 10, 2020
@magik6k magik6k requested a review from anorth September 10, 2020 16:20
Copy link
Contributor

@magik6k magik6k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 Nit

@arajasek
Copy link
Contributor Author

Merging so we can cut an RC, but post-merge review still welcome

@arajasek arajasek merged commit cd9a8ec into ntwk-0.7.0 Sep 10, 2020
@arajasek arajasek deleted the asr/specs-update-0.9.8 branch September 10, 2020 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 P0: Critical Blocker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants