Skip to content
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

Cannot estimate Gas #20

Open
evmjunkie opened this issue Dec 3, 2021 · 11 comments
Open

Cannot estimate Gas #20

evmjunkie opened this issue Dec 3, 2021 · 11 comments

Comments

@evmjunkie
Copy link

Hey guys, I am always getting the error: "Error: cannot estimate gas; transaction may fail or may require manual gas limit (error={"reason":"processing response error","code":"SERVER_ERROR","body":"{"jsonrpc": "2.0", "id": 45, "error": {"code": -32000, "message": "execution reverted"}}" Its based on the fact that the RPCs cannot estimate gas on accounts with no ether in it. So I am using this script basically because the wallet contains no ether in it, but on the other side i cannot estimate gas with no ether. What should I do?

@osas41
Copy link

osas41 commented May 5, 2022

I’m having the same issue here

@PaulGG-Code
Copy link

You can check the configuration example here:
https://ethereum.stackexchange.com/questions/122688/how-to-create-and-send-flashbot-bsc/127939#127939

Hope it help!

@wombatlabs
Copy link

@PaulGG-Code were you able to get it to work on BSC?

@PaulGG-Code
Copy link

PaulGG-Code commented May 20, 2022

Yes @blockinator I've been able to test it on most EVM's
Let me know if you need more help

@Oluwatobilobaoke
Copy link

hello @PaulGG-Code can you share your successful repo with bsc please.
it's been hell trying to figure it out

@wombatlabs
Copy link

@PaulGG-Code, this is the error I am getting:

Simulation failed, error code: -32000
[2022-05-20T17:07:16.706Z] err: nonce too high: address ADDRESS_SPONSER, tx: 179 state: 0; txhash 0xfe9eb67c62ffadb54d0207bebdd0e3b3f2d21d1ed72429b78661c495ce1cd6f2
[2022-05-20T17:07:16.721Z] (node:19191) UnhandledPromiseRejectionWarning: Error: Failed to simulate response
    at Object.checkSimulation (/PATH_DIRECTORY/searcher-sponsored-tx/src/utils.ts:47:9)
    at processTicksAndRejections (internal/process/task_queues.js:94:5)
    at main (/PATH_DIRECTORY/searcher-sponsored-tx/src/index.ts:104:29)
[2022-05-20T17:07:16.721Z] (node:19191) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
[2022-05-20T17:07:16.721Z] (node:19191) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

To fix the err: nonce too high I tried resetting MetaMask but that didn't do anything.

@12r3r3
Copy link

12r3r3 commented May 21, 2022

yes i need help also on this
\

@MataAzi
Copy link

MataAzi commented Jun 9, 2022

Same problem. "Error: cannot estimate gas; transaction may fail or may require manual gas limit "

@Sirelor
Copy link

Sirelor commented Aug 13, 2022

I keep getting NOT INCLUDED IN BLOCK when using the TransferERC20 method. I set PRIORITY_GAS_PRICE to 3000

@liw92
Copy link

liw92 commented Sep 25, 2022

Some error, i've changed gas settings many times, i even set both GWEI.mul to (31) (gas price) and gas price to 150000 (eth gas price was 6gwei)
image
image
image

@rashtug2
Copy link

Reference in ne

Yes @blockinator I've been able to test it on most EVM's Let me know if you need more help

Hello boss, i need help in making it work on other EVM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants