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

You didn't set gas #2

Open
p-i- opened this issue Jun 13, 2021 · 3 comments
Open

You didn't set gas #2

p-i- opened this issue Jun 13, 2021 · 3 comments

Comments

@p-i-
Copy link

p-i- commented Jun 13, 2021

I was getting:

web3.exceptions.ContractLogicError: execution reverted: TransferHelper: TRANSFER_FROM_FAILED

on BUNNY -> WETH

Adding gas fixed it:

).buildTransaction({
    'from': config.MY_WALLET_ADDRESS,
    'gas': 250000,
    'gasPrice': web3.toWei('5','gwei'),
    'nonce': web3.eth.get_transaction_count(config.MY_WALLET_ADDRESS),
})
@INaleva
Copy link

INaleva commented Jun 20, 2021

Has anybody managed to solve the issue?
I tried to add 'gas': 250000,
but I still get the same error, even for normal tokens like ADA.

@bkmail
Copy link

bkmail commented Jul 6, 2021

the code dose not work , i aske for help and he ask for money and send the money and didnt get any response
this person is scammer

@aleeepp
Copy link

aleeepp commented Oct 14, 2021

same issue here

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

4 participants