Skip to content

Commit 61ce91b

Browse files
committed
tests: vyper: fix compilation failure
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
1 parent a5cddc5 commit 61ce91b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/ci_test_vyper.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
### Test vyper integration
44

5-
pip install vyper
5+
pip install 'vyper>=0.3.7,<0.4'
66

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

0 commit comments

Comments
 (0)