Skip to content

Negative signed integers always one less when logged #930

Open
@isvidler

Description

Log statements in test:

emit log_int(-1);
emit log_int(-2);
emit log_int(-3);

Logged output:

    ├─ emit log_int(: -2)
    ├─ emit log_int(: -3)
    ├─ emit log_int(: -4)

Logged negative integers always return the correct value minus one in test traces. Outside of the test traces, the logged output is correct.

Our team believes this might be an issue with HEVM.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions