Open Lesigh-3100 opened 3 months ago
2024-04-16T10:09:00.72837079Z stderr F fee_raw = eval(str(pool["fee"]))
2024-04-16T10:09:00.728380769Z stderr F NameError: name 'nan' is not defined
1/ why do we use eval here? 2/ clearly we did not get the pool fee; where is this data created and why is it NaN (not a number)?
This error is a result of running the bot with the fraxswap_v2 exchange, which is implemented in multichain_addresses but not supported by the bot.
To resolve this, references to fraxswap_v2 should be removed.
Bug Description
This bug was reported when running the bot on Fantom:
Relevant configuration:
Severity (High/Medium/Low)
High
Steps to Reproduce
Config in description
Expected Behavior
Error should not occur when fetching new pool data.
Actual Behavior
Error occurs when getting new pool data.
Impact Analysis (to be filled by contributors)