-
Notifications
You must be signed in to change notification settings - Fork 79
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
Use new ExitCode type and values. #200
Conversation
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.
[shakes fist] stealing my praise lines!
actors/runtime/src/runtime/fvm.rs
Outdated
// We do this after handling the error, because the actor may have encountered an error before | ||
// it even could validate the caller. | ||
if !rt.caller_validated { | ||
fvm::vm::abort(ExitCode::SysErrIllegalActor as u32, Some("failed to validate caller")) | ||
fvm::vm::abort(ExitCode::USR_UNSPECIFIED.value(), Some("failed to validate caller")) |
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.
This should be the "user assertion failed" one
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
bc60094
to
d718b1d
Compare
So, I think the core issue we (I?) have is that we're using
But I believe dig's proposal in #197 will solve this. Basically:
|
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.
LGTM for merge modulo the incorrect comments.
Updated to released dependencies. |
lgtm (can’t approve my own pr) |
I've stolen the blame lines back for @anorth now that we're ready to merge. |
Will be merged in #191. |
Replaces #191