Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

negative shift count error when running unit test #92

Closed
jhwinter opened this issue Sep 19, 2018 · 1 comment
Closed

negative shift count error when running unit test #92

jhwinter opened this issue Sep 19, 2018 · 1 comment

Comments

@jhwinter
Copy link
Contributor

jhwinter commented Sep 19, 2018

I get a "negative shift count error" when running the unit tests. Is this supposed to happen?

python -m unittest discover boa_test

[E 180919 14:03:31 ExecutionEngine:947] COULD NOT EXECUTE OP (63): negative shift count b'\x98' SHL
[E 180919 14:03:31 ExecutionEngine:948] negative shift count
    Traceback (most recent call last):
      File "/Users/jonathan/.pyenv/versions/3.6.6/envs/venv-neo-boa/lib/python3.6/site-packages/neo/VM/ExecutionEngine.py", line 939, in StepInto
        self.ExecuteOp(op, self.CurrentContext)
      File "/Users/jonathan/.pyenv/versions/3.6.6/envs/venv-neo-boa/lib/python3.6/site-packages/neo/VM/ExecutionEngine.py", line 485, in ExecuteOp
        estack.PushT(x << n)
    ValueError: negative shift count
[I 180919 14:03:31 Invoke:586] Used 0.049 Gas 
[I 180919 14:03:31 Invoke:586] Used 0.049 Gas 
[I 180919 14:03:31 Invoke:586] Used 0.053 Gas 
[I 180919 14:03:31 Invoke:586] Used 0.053 Gas 
[I 180919 14:03:31 Invoke:586] Used 0.057 Gas 
[I 180919 14:03:31 Invoke:586] Used 0.057 Gas 
[I 180919 14:03:31 Invoke:586] Used 0.061 Gas 
[I 180919 14:03:31 Invoke:586] Used 0.063 Gas 
[I 180919 14:03:31 Invoke:586] Used 0.063 Gas 
.[I 180919 14:03:40 LevelDBBlockchain:114] Created Blockchain DB at /Users/jonathan/.neopython/fixtures/test_chain 
@localhuman
Copy link
Collaborator

Yes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants