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

Crash when execute unbonding tx #347

Open
doodleoo3 opened this issue Mar 8, 2024 · 0 comments
Open

Crash when execute unbonding tx #347

doodleoo3 opened this issue Mar 8, 2024 · 0 comments

Comments

@doodleoo3
Copy link
Contributor

doodleoo3 commented Mar 8, 2024

Title:
Finding Security Vulnerabilities

Summary:
Crash when executing an unbonding transaction

Details:

  1. Executing an unbonding transaction;
  2. I tried to unbond the available tokens (which are displayed before the transaction is executed), also I think it is worth considering that at the time I tried to do this my validator was in jail;
  3. I sent a transaction of the form namadac unbond --validator "" --source "" --amount "" --memo "" --node ""(I'm not sure if I specified the "--source" flag, so that could also be the cause of the error).

Our validator address: tnam1q9raezgmgfz6rr68uuv47y8rn0gnufl9zqvdaqes

Error message:

Transaction added to mempool.
Wrapper transaction hash: A2A950B8EB4DA17DA1633F6243387BC26673D0DF3BF7E57860E3EEDBA754F247
Inner transaction hash: 32EF430F3072F953B5C2A719224FAC9A3E4C9EB69CDA476B86D458E0608094DB
Wrapper transaction accepted at height 7676. Used 23 gas.
Waiting for inner transaction result...
Transaction failed.
Details: {
  "inner_tx": null,
  "info": "Error trying to apply a transaction: Transaction runner error: Failed running wasm with: RuntimeError: unreachable\n    at <unnamed> (<module>[1043]:0x908bc)\n    at <unnamed> (<module>[44]:0x263ff)\n    at <unnamed> (<module>[38]:0x260ad)\n    at <unnamed> (<module>[16]:0x2060c)\n    at <unnamed> (<module>[1089]:0x92471)",
  "log": "",
  "height": 7677,
  "hash": "32EF430F3072F953B5C2A719224FAC9A3E4C9EB69CDA476B86D458E0608094DB",
  "code": "WasmRuntimeError",
  "gas_used": "5234"
}

I have already described this bug on Discord. Link to the message(se-100): https://discord.com/channels/833618405537218590/1192974425423892550/1205222804971061268

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

1 participant