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

Negative signed integers always one less when logged #930

Open
isvidler opened this issue Mar 24, 2022 · 0 comments
Open

Negative signed integers always one less when logged #930

isvidler opened this issue Mar 24, 2022 · 0 comments

Comments

@isvidler
Copy link

isvidler commented Mar 24, 2022

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.

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

No branches or pull requests

1 participant