You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The flashloan_tokens list, which is intended to be set via @click options in main.py, is currently being overwritten when bot.py is run. This issue disrupts the intended functionality and disregards the input provided by the user via the @click options.
Expected behavior
After setting the flashloan_tokens list in main.py using the @click options (with a string of token symbols separated by commas), the bot should respect this configuration and utilize these settings when it is run.
Actual behavior
Despite the correct setup of flashloan_tokens in main.py, the bot.py script overwrites this list. As a result, the user-defined input provided through the @click options isn't respected when running the bot.
Steps to reproduce
In main.py, set the flashloan_tokens list using @click options.
Run the bot.
Observe that the bot run process overwrites the flashloan_tokens list and does not use the previously set values. This can be done by printing the flash loan tokens from within the bot.py functionality.
Proposed Resolution
A fix should be implemented in bot.py to prevent it from overwriting the flashloan_tokens list. Instead, bot.py should retrieve the list set by the user in main.py via the @click options. This approach would respect user's input and enhance the functionality of the bot script.
The text was updated successfully, but these errors were encountered:
The flashloan_tokens list, which is intended to be set via @click options in main.py, is currently being overwritten when bot.py is run. This issue disrupts the intended functionality and disregards the input provided by the user via the @click options.
Expected behavior
After setting the flashloan_tokens list in main.py using the @click options (with a string of token symbols separated by commas), the bot should respect this configuration and utilize these settings when it is run.
Actual behavior
Despite the correct setup of flashloan_tokens in main.py, the bot.py script overwrites this list. As a result, the user-defined input provided through the @click options isn't respected when running the bot.
Steps to reproduce
Proposed Resolution
A fix should be implemented in bot.py to prevent it from overwriting the flashloan_tokens list. Instead, bot.py should retrieve the list set by the user in main.py via the @click options. This approach would respect user's input and enhance the functionality of the bot script.
The text was updated successfully, but these errors were encountered: