Skip to content

Mock runtime should not return ActorError for expectation violations #196

Closed
@anorth

Description

The mock runtime returns ActorError with bogus exit codes in the case of some expectation violations. This is totally wrong – it should immediately fail the test instead. The mock should return an ActorError only in those cases where it's replicating an ActorError returned by the FVM runtime layer.

This is probably an artefact of the Runtime interface methods returning ActorError, which for the most part is inappropriate.

cc @dignifiedquire @Stebalien

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions