Skip to content

Commit

Permalink
test: restricted price strategy
Browse files Browse the repository at this point in the history
Prices now don't go too low with the decimals because testing for shitcoins is not the goal here.
  • Loading branch information
AlbertoCentonze committed Jun 2, 2024
1 parent 0c0d185 commit b8a510b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/utils/strategies.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def fees(draw):
# 1e26 is less than the maximum amount allowed by the factory
# however testing with a smaller number is more realistic
# and less cumbersome
price = integers(min_value=1e6 + 1, max_value=int(1e26))
price = integers(min_value=int(1e10), max_value=int(1e26))

# -------------------- tokens --------------------

Expand Down

0 comments on commit b8a510b

Please sign in to comment.