gnosis / prediction-market-agent-tooling

Tools to benchmark, deploy and monitor prediction market agents.
GNU Lesser General Public License v3.0
22 stars 4 forks source link

Investigate why unit test test_get_buy_token_amount fails sometimes #472

Open gabrielfior opened 1 month ago

gabrielfior commented 1 month ago

tests/markets/omen/test_omen.py::test_get_buy_token_amount

https://github.com/gnosis/prediction-market-agent-tooling/actions/runs/11182519382/job/31088978774

Apparently the calc_buy_amount is off sometimes. Write test for a few pools and make sure the calculation matches what the smart contract outputs.