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

Transaction stays pending forever because of poor peering on leap node #562

Open
Joshua2Mars opened this issue May 27, 2023 · 1 comment
Labels
DevOps Unify development and operations practices to shorten systems engineering lifecycles 👍 lgtm

Comments

@Joshua2Mars
Copy link

The contract is rejecting with: "assertion failure with message: validate_transaction error" when the tx is pushed by the enf.miner

The problem seems to be poor peering on our leap node, tx gets applied locally (nonce + balance increase) looks like it never reaches other nodes (old nonce + old balance when inspecting the state of the evm contract in other mainnet nodes), so the tx never gets into the eos-evm, and then metmask retries the tx and we see a lot of errors in the tx_wrapper logs.

We need to think about how to prevent it.

@Joshua2Mars Joshua2Mars added the bug Something isn't working label May 27, 2023
@github-project-automation github-project-automation bot moved this to Todo in EOS EVM May 27, 2023
@heifner
Copy link
Member

heifner commented May 27, 2023

Consider using /v1/chain/send_transaction2 option of retry_trx = true with retry_trx_num_blocks to something like 13 which should be more than enough to assume it will not be forked out.

@Joshua2Mars Joshua2Mars added DevOps Unify development and operations practices to shorten systems engineering lifecycles 👍 lgtm and removed bug Something isn't working labels Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DevOps Unify development and operations practices to shorten systems engineering lifecycles 👍 lgtm
Projects
Status: Todo
Development

No branches or pull requests

2 participants