Skip to content

Commit

Permalink
committing test with specific failing case, WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
poliwop committed Jun 30, 2023
1 parent 58b4b49 commit 196a282
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions hydradx/tests/test_omnipool_agents.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import copy

import pytest
from hypothesis import given, strategies as st, settings # , settings
from hypothesis import given, strategies as st, settings, reproduce_failure # , settings

# from hydradx.model import run
from hydradx.model.amm import omnipool_amm as oamm
Expand Down Expand Up @@ -96,7 +96,8 @@ def test_omnipool_arbitrager_feeless(omnipool: oamm.OmnipoolState, market: list,
raise


@settings(max_examples=10000)
# @settings(max_examples=10000)
@reproduce_failure('6.39.6', b'AXicY5q21t2625ph/UwWCZE8Vv/zu857bGF9lFS/rtaG/z+Dy4QUK6ggg7+h29ZbMvwLE88vu1kH5THdftezVEKVwXrTK3cnJ6ggIwDM+iJ/')
@given(omnipool_reasonable_config(token_count=3), reasonable_market(token_count=3), arb_precision_strategy)
def test_omnipool_arbitrager(omnipool: oamm.OmnipoolState, market: list, arb_precision: int):
omnipool.trade_limit_per_block = float('inf')
Expand Down

0 comments on commit 196a282

Please sign in to comment.