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 F1 #1293

Merged
merged 4 commits into from
Dec 7, 2021
Merged

Elmattic/actors review F1 #1293

merged 4 commits into from
Dec 7, 2021

Conversation

elmattic
Copy link
Contributor

Summary of changes
Changes introduced in this pull request:

  • Add a new way to create errors that are equivalently catched via recover in Lotus
  • Still need to confirm if this design is working (create conformance tests?)

This PR introduces a way to distinguish between errors that are directly returned (in an Actor or Runtime code) and errors that are indirectly returned via the Lotus Runtime Abortf function.

In Lotus these latter are recovered in the shimCall that protects a method from panicking when invoked.

Note that this PR only fixes following errors for the multisig actor as a starting point:

Reference issue to close (if applicable)

Closes

#1265

Other information and links

See also:
#857

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.

None yet

2 participants