fix(vm): always specify an ActorErr when ApplyMessage fails.
This case shouldn't actually happen, but we might as well be consistent.
This commit is contained in:
parent
88af350774
commit
0075abea5e
@ -439,6 +439,8 @@ func (vm *VM) ApplyMessage(ctx context.Context, cmsg types.ChainMsg) (*ApplyRet,
|
||||
},
|
||||
GasCosts: &gasOutputs,
|
||||
Duration: time.Since(start),
|
||||
ActorErr: aerrors.Newf(exitcode.SysErrSenderInvalid,
|
||||
"message gas limit does not cover on-chain gas costs"),
|
||||
}, nil
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user