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

Sigma leaves TXs in pending state - and apparently nonce is not incremented in the EVM #883

Open
tonimateos opened this issue Nov 20, 2024 · 0 comments
Assignees
Labels
bug Something isn't working High Priority Proposed to focus on this when other tasks are present

Comments

@tonimateos
Copy link
Contributor

tonimateos commented Nov 20, 2024

https://drive.google.com/file/d/1BuXhkIHSI1097N5cpbMejLAQt1nrhmd-/view?usp=drive_link

Behaviour: about 1 in 4 TXs in Sigma are stalled in a "Pending" state that lasts forever. Example: https://sigma.explorer.laosnetwork.io/tx/0xc5413ac198de89581e820321c6de0458f6c583234badd26c93c17e1ea681dfcd

How to reproduce: try doing various TXs in Sigma yourself.
Alternatively:

  • clone this repo: https://github.com/freeverseio/laos-smart-contracts
  • go to branch tests
  • go to folder batch-minter
  • put whatever you want in truffle-config.js for the sigma network
  • follow the README to do npm ci and set the .env file
  • run ./node_modules/.bin/truffle exec scripts/test_coin_transfers.js --network sigma

It should do about 15 coin transfers. It never gets beyond the 5th or 6th. Sometimes 2 are enough to get stalled, sometimes 5...

ACCEPTANCE:

  • I can run the script above many times and never have a pending TX issue
@tonimateos tonimateos added this to LAOS Nov 20, 2024
@tonimateos tonimateos converted this from a draft issue Nov 20, 2024
@tonimateos tonimateos added the bug Something isn't working label Nov 20, 2024
@tonimateos tonimateos changed the title Sigma leaves TXs in pending state Sigma leaves TXs in pending state - has reorgs that the EVM fail to catch - and has 2m production block Nov 20, 2024
@tonimateos tonimateos changed the title Sigma leaves TXs in pending state - has reorgs that the EVM fail to catch - and has 2m production block Sigma leaves TXs in pending state - and apparently nonce is not incremented in the EVM Nov 20, 2024
@tonimateos tonimateos added the High Priority Proposed to focus on this when other tasks are present label Nov 28, 2024
@tonimateos tonimateos removed the status in LAOS Nov 28, 2024
@tonimateos tonimateos moved this to Todo in LAOS Nov 28, 2024
@asiniscalchi asiniscalchi moved this from Todo to In Progress in LAOS Nov 29, 2024
@asiniscalchi asiniscalchi self-assigned this Nov 29, 2024
@magecnion magecnion self-assigned this Nov 29, 2024
@asiniscalchi asiniscalchi removed their assignment Nov 29, 2024
@tsenovilla tsenovilla self-assigned this Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working High Priority Proposed to focus on this when other tasks are present
Projects
Status: In Progress
Development

No branches or pull requests

4 participants