From 5d364433688a09bb6489a6911698ac73f3be45c0 Mon Sep 17 00:00:00 2001 From: Alberto Date: Thu, 23 May 2024 14:41:06 +0200 Subject: [PATCH] test: less agressive decimals fuzzing Never had any pool with tokens that have less than 2 decimals and they bring weird edge cases to the table. --- tests/utils/strategies.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils/strategies.py b/tests/utils/strategies.py index 6a5efae2..e6847abb 100644 --- a/tests/utils/strategies.py +++ b/tests/utils/strategies.py @@ -99,7 +99,7 @@ def fees(draw): # we use sampled_from instead of integers to shrink # towards 18 in case of failure (instead of 0) -token = sampled_from(list(range(18, -1, -1))).map( +token = sampled_from(list(range(18, 1, -1))).map( lambda x: boa.load("contracts/mocks/ERC20Mock.vy", "USD", "USD", x) ) weth = just(boa.load("contracts/mocks/WETH.vy"))