Skip to content

Commit

Permalink
tests: vyper: fix compilation failure
Browse files Browse the repository at this point in the history
0.4 is now used in newer Python versions, which we don't yet support fully

  Testing vyper integration of /opt/hostedtoolcache/Python/3.12.7/x64/bin/crytic-compile
  ERROR:CryticCompile:missing type annotation

    (hint: did you mean something like `for i: uint256 in ...`?)

    line 111:4
         110     refund: uint256 = 0
    ---> 111     for i in range(MAX_BIDS):
    -------------^
         112         # Note that loop may break sooner than 128 iterations if i >= _numBids

  ERROR:CryticCompile:Vyper compilation errored
  vyper test failed
  • Loading branch information
elopez committed Oct 26, 2024
1 parent 9cac126 commit b165c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci_test_vyper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Test vyper integration

pip install vyper
pip install 'vyper>=0.3.7,<0.4'

echo "Testing vyper integration of $(realpath "$(which crytic-compile)")"

Expand Down

0 comments on commit b165c2a

Please sign in to comment.