-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(relayer): estimate gas for tx, set gas to 2.5mil if not estimatable. works now. #13271
Conversation
Codecov Report
@@ Coverage Diff @@
## main #13271 +/- ##
==========================================
- Coverage 61.61% 61.50% -0.12%
==========================================
Files 117 118 +1
Lines 3460 3468 +8
Branches 485 485
==========================================
+ Hits 2132 2133 +1
- Misses 1244 1249 +5
- Partials 84 86 +2
*This pull request uses carry forward flags. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Just out of curiosity, is there a specific benefit to separating estimate gas and isProfitable? @cyberhorsey |
Not only are they two different domain problems that should be unrelated, it lets us handle the errors from them separately. For instance now we don't even run the isProfitable code if the CLI flag for isProfitable isnt set, and now if the estimateGas code doesn't return us a good number, we set a large limit (because it seems unable to estimate cost for deploying an ERC20 when necessary) |
Gotcha, so we're leaving the flag as false for this coming testnet entirely then |
No description provided.