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

Ether delayed gas check #301

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

webwarrior-ws
Copy link
Contributor

After sending Ethereum transaction, don't poll the server to
check if transaction is out of gas.

Instead, check if recipient is a contract address.

And when showing balances check check for confirmation of unconfirmed Ethereum txs.

After sending Ethereum transaction, don't poll the server to
check if transaction is out of gas. Eth transactions can now
take longer time to be confirmed and that poll could time out.

Instead, check if recipient is a contract address. If it is,
raise an exception (as sending to contract addresses is not yet
supported).
@knocte
Copy link
Member

knocte commented Jan 15, 2025

I know that it was me giving the suggestion that you create a draft PR, but I can forget why, so please make it clear why it's still a draft PR.

@knocte
Copy link
Member

knocte commented Jan 15, 2025

PS: Wait, in telegram you said it's done, then why do I see a WIP commit here?

@webwarrior-ws
Copy link
Contributor Author

PS: Wait, in telegram you said it's done, then why do I see a WIP commit here?

It's not tested, so I haven't removed "WIP" prefix yet.
This is also the reason this is a draft PR.

@knocte
Copy link
Member

knocte commented Jan 20, 2025

WIP is not for untested stuff. WIP is when you know for sure that the commit is not finished.

@knocte
Copy link
Member

knocte commented Jan 20, 2025

DRAFT is to indicate it is not tested.

When sending Ethereum transaction, don't wait for confirmation,
but instead save the transaction as unconfirmed. When showing
balances, check for confirmation of unconfirmed transactions
and if any of those ran out of gas, and notify user.
@webwarrior-ws webwarrior-ws force-pushed the ether-delayed-gas-check branch from c56728b to 6ba0df3 Compare January 20, 2025 10:25
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

Successfully merging this pull request may close these issues.

2 participants