Error running demo environment
See original GitHub issueHi 👋 Thanks @6eer for your work. Your code looks really promising.
I followed your instructions to deploy the demo environment. I ran ganache successfully (by forking mainnet), created the .env file and also ran demo_environment.js
without issues, but when I either run bot_normalswap.js
or bot_flashswap.js
I’m getting the following error:
UnhandledPromiseRejectionWarning: Error: Returned values aren’t valid, did it run Out of Gas? You might also see this error if you are not using the correct ABI for the contract you are retrieving data from, requesting data from a block number that does not exist, or querying a node which is not fully synced.
Can you point me in the right direction or help me find out what is failling?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
[SUPPORT] Environment issues when running Demo for v0.11
Running the demo setup as described here for v0.11 results in jar files missing error when running spark-submit and hive-sync commands.
Read more >"Error running 'Test', Failed to prepare environment" happens ...
I have created a project in PyCharm and wanted to run Python scripts on a remote Linux server (RHEL 8.6). Setting up a...
Read more >No valid Maven installation found. Either set the home ...
No valid Maven installation found. Either set the home directory in the configuration dialog or set the M2_HOME environment variable on your system...
Read more >Configure Application resource step is giving error while ... - IBM
Now I am trying to run the operations of Development and Test environment and getting error in the step "Configure Application Resources".
Read more >Troubleshooting AWS Cloud9
Error when running AWS Toolkit: "Your environment is running out of inodes, please increase 'fs.inotify.max_user_watches' limit." Notice: Failed to install ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I discovered that the gasNeeded issue has been solved and no need to comment out the lines. Line 143 fixes the issue.
The problem with my running the bot related to not replacing the below fields in the .env file with the results from running :
.env
@interzone2 how does line 143 fix the issue…mine still has the same issue running