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

Elmattic/actors review F10 #1308

Merged
merged 3 commits into from
Dec 7, 2021
Merged

Elmattic/actors review F10 #1308

merged 3 commits into from
Dec 7, 2021

Conversation

elmattic
Copy link
Contributor

@elmattic elmattic commented Dec 2, 2021

Summary of changes
Changes introduced in this pull request:

  • fix error message
  • change code to unwrap directly after call to ctor

By construction there is no way that ConstructMinerInfo will return an error code other than ErrIllegalArgument.

So my proposal is just to unwrap directly on our side. As the Forest Rust actors will be the ones used in the future FVM this should not make much difference.

Reference issue to close (if applicable)

Closes #1274

Other information and links

@elmattic elmattic requested a review from a user December 2, 2021 14:59
@elmattic elmattic changed the title Elmattic/actors review f10 Elmattic/actors review F10 Dec 2, 2021
Copy link
Contributor

@laudiacay laudiacay left a comment

Choose a reason for hiding this comment

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

lgtm pulling over to our side

@noot noot merged commit 9099dac into main Dec 7, 2021
@noot noot deleted the elmattic/actors-review-F10 branch December 7, 2021 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

F10: miner::constructor incorrect exit code
3 participants