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

rusk-wallet: Discarded TXs are not handled properly #2600

Open
HDauven opened this issue Oct 4, 2024 · 0 comments
Open

rusk-wallet: Discarded TXs are not handled properly #2600

HDauven opened this issue Oct 4, 2024 · 0 comments
Labels
fix:bug Something isn't working module:rusk-wallet Issues related to rusk wallet

Comments

@HDauven
Copy link
Member

HDauven commented Oct 4, 2024

Describe the bug
When submitting a transaction with a gas limit lower than the required minimum to execute it, the transaction is discarded from the mempool. However, the wallet continuous to wait until it is included in a block.

To Reproduce

  1. Modify the MIN_LIMIT to 1 LUX and recompile
  2. Create a Moonlight transaction with the limit set to 1
  3. The wallet will keep asking the chain for block inclusion for the given transaction hash

Expected behaviour
If the transaction is discarded from the mempool, the wallet should catch the event for the given transaction hash and inform the user their transaction was discarded with an appropriate message that their transaction was discarded due to an insufficient gas limit.

Logs/Screenshot
This status keeps repeating:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix:bug Something isn't working module:rusk-wallet Issues related to rusk wallet
Projects
None yet
Development

No branches or pull requests

1 participant